Skip to content

Slim down dependabot triage comments - #14019

Merged
williammartin merged 2 commits into
trunkfrom
williammartin-dependabot-triage-comment-format
Jul 31, 2026
Merged

Slim down dependabot triage comments#14019
williammartin merged 2 commits into
trunkfrom
williammartin-dependabot-triage-comment-format

Conversation

@williammartin

@williammartin williammartin commented Jul 30, 2026

Copy link
Copy Markdown
Member

Description

The dependabot-triage agentic workflow posts a merge-assessment comment on every open Dependabot PR. The comment it produces today is mostly padding: it restates the dependency name, the from/to versions, the semver label, and the ecosystem, all of which are already in the PR title, plus CI status that is visible on the PR page and a "compatibility score" line that reports only that Dependabot's badge exists.

Here is a representative example. Of the eight facts it lists, one is genuinely useful: the summary of what changed upstream.

This changes the output so it replaces the work a maintainer actually does when verifying a bump, rather than narrating metadata already on screen. The comment becomes a recommendation line plus prose, and nothing else:

**Recommendation: Merge, Confidence: High**

The bump is a single upstream commit, [`e89c65e`](https://github.com/github/gh-aw/commit/e89c65e17eb281bbd5ff2ff9e9199a03e96654c7),
which syncs the bundled action scripts and `models.json` from [gh-aw v0.83.4](https://github.com/github/gh-aw/releases/tag/v0.83.4).
It adds one new script, [`repo_memory_patch_size.cjs`](https://github.com/github/gh-aw/blob/v0.83.4/actions/repo_memory_patch_size.cjs),
and makes incremental edits to existing ones. Nothing changes the action's inputs,
outputs, or entrypoint, so no workflow in this repository needs updating.

_Assessed at head commit `45db9b27b26d08514ce1a3b9d4b674a9662a8155`._

Three substantive changes came out of the rewrite rather than just deleting bullets.

The two axes are now independent. The old rubric folded CI status into confidence: "failing CI caps confidence at Low". That is backwards. If CI is reproducibly red, you are highly confident the PR should not be merged. Recommendation (Merge / Review before merging / Do not merge) now answers what the maintainer should do and is driven by risk; confidence answers how sure the agent is and is driven purely by evidence quality. That makes Do not merge, Confidence: High and Review before merging, Confidence: Low both expressible, where previously they would have collapsed into the same "Low".

Coverage analysis is new. The skill now maps changed upstream behavior to this repository's usage and to the tests and CI jobs that exercise it, and names the specific missing scenario when there isn't one. It is surfaced only when a material gap exists, so silence means no gap was found.

References become real links. Commits, releases, files, and advisories are emitted as markdown links built from data actually fetched through the GitHub MCP tools, so a reviewer can click through to the evidence.

Authorship and follow-up

Who wrote this:

  • A human wrote it.
  • An agent wrote it under close human direction.
  • An agent wrote it independently, and no human has guided the implementation beyond the initial prompt.

Who answers review comments:

  • @williammartin will read and reply directly.
  • An agent will draft replies and @username will read them before they are posted.
  • Nobody has explicitly committed to replying.

Replace the old merge-confidence framing with separate recommendation and confidence axes. Tighten the posted output to dense prose and add coverage-gap guidance while preserving the literal head-SHA dedup marker.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 92242e78-0b8a-4abc-9481-094c4090893e

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refines the dependabot-triage agentic workflow’s posted assessment comment to remove redundant metadata and focus on actionable maintainer guidance: a recommendation + confidence line followed by concise prose grounded in upstream changes, with richer evidence linking and new coverage-gap surfacing.

Changes:

  • Updates the workflow/skill contract from a single “merge-confidence” axis to independent Recommendation and Confidence axes.
  • Replaces the previous “key facts”/metadata-heavy output with a strict prose-based comment format, including explicit link-generation rules and a dedup-marker carve-out.
  • Regenerates the compiled workflow lock metadata to reflect the updated markdown sources.
Show a summary per file
File Description
.github/workflows/dependabot-triage.md Updates workflow description and step wording to align with the new recommendation+confidence assessment model.
.github/workflows/dependabot-triage.lock.yml Refreshes generated hashes and embedded description strings produced by gh aw compile.
.github/skills/dependabot-triager/SKILL.md Redefines the output contract and rubric (two-axis model), adds coverage-gap guidance, and tightens link/format rules while preserving dedup behavior.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 3/3 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread .github/workflows/dependabot-triage.md
A recommendation is emitted, not assessed. The old text read 'assesses a
merge-confidence level', where the verb fit; swapping in 'recommendation'
kept the verb and inverted the meaning. Match the skill frontmatter's
'emits', and use 'decide' for the two step headings.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 92242e78-0b8a-4abc-9481-094c4090893e
@williammartin
williammartin marked this pull request as ready for review July 31, 2026 11:23
@williammartin
williammartin requested a review from a team as a code owner July 31, 2026 11:23
@williammartin
williammartin requested a review from niik July 31, 2026 11:23
@williammartin
williammartin merged commit 4dee7a5 into trunk Jul 31, 2026
16 checks passed
@williammartin
williammartin deleted the williammartin-dependabot-triage-comment-format branch July 31, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants