Repository navigation
Fix duplicate attribution footers in completion comments - #77482
Conversation
Export no-op summaries without standalone attribution and retain a single completion footer with usage and history metadata. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
❌ PR Specification Reviewer failed to deliver outputs. Please review the logs for details. PR Specification ReviewerOutcome: The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
PR Code Quality ReviewerOutcome: The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft. Design Decision Gate 🏗️Outcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
Comment MemoryPeek at saved memory (pr-code-quality-reviewer)Note This comment is managed by comment memory.Expand the saved memory block to view or edit the persistent context for this thread.
|
There was a problem hiding this comment.
Found one medium correctness issue: the new conclusion metadata path hardcodes needs.agent rather than honoring the conclusion builder's main job name. Inline comment posted; no tests or repository code were executed per static-review constraints.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~6 AIC · ⌖ ~1 AIC · ⊞ 1.6K
Comment /review to run again
There was a problem hiding this comment.
🟡 Changes recommended
The new completion-step environment entries are missing from the smoke-copilot golden fixture, causing the full normalized YAML comparison to fail until the expectations are regenerated and committed.
1 open issue
What changed in this PR
This PR removes duplicate attribution footers from gh-aw completion comments by making the completion handler responsible for the footer, while retaining attribution on standalone no-op tracking comments.
Changes:
- Export no-op summaries without a footer and preserve standalone attribution.
- Supply completion footers with engine metadata, credit breakdowns, ambient context size, and history links.
- Add regression coverage and regenerate affected workflow locks.
| File | Description |
|---|---|
pkg/workflow/notify_comment_conclusion_helpers.go |
Supplies completion-footer metadata. |
pkg/workflow/noop_in_conclusion_test.go |
Tests compiler-provided footer metadata. |
actions/setup/md/noop_comment.md |
Replaces fixed attribution with an optional footer slot. |
actions/setup/js/notify_comment_error.test.cjs |
Tests single-footer rendering and preserved metadata. |
actions/setup/js/notify_comment_error.cjs |
Adds completion-footer history links. |
actions/setup/js/handle_noop_message.test.cjs |
Tests standalone and reusable footer behavior. |
actions/setup/js/handle_noop_message.cjs |
Separates reusable summaries from standalone attribution. |
.github/workflows/windows.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/unbloat-docs.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/tidy.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/test-quality-sentinel.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/squad.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/squad-plan.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-update-cross-repo-pr.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-test-tools.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-temporary-id.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-service-ports.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-pydantic.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-project.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-pi.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-pi-routed-claude.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-otel-backends.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-opencode.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-multi-pr.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-kiro.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-goose.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-github-claude.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-gemini.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-drive.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-deepseek-harness.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-cursor.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-crush.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-create-cross-repo-pr.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-copilot.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-copilot-small.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-copilot-sdk.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-copilot-sdk-routed-claude.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-copilot-routed-steering.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-copilot-routed-claude.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-copilot-mai.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-copilot-auto.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-copilot-arm.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-copilot-aoai-entra.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-copilot-aoai-apikey.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-codex.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-claude.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-claude-on-copilot.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-checkout-pr-dispatch.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-call-workflow.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-aider.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-agent-scoped-approved.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-agent-public-none.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-agent-public-approved.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-agent-all-none.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/smoke-agent-all-merged.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/skillet.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/security-review.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/scout.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/q.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/pr-specification-reviewer.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/pr-sous-chef.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/pr-nitpick-reviewer.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/pr-code-quality-reviewer.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/ponytail-reviewer.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/poem-bot.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/plan.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/pdf-summary.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/necromancer.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/mergefest.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/mattpocock-skills-reviewer.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/grumpy-reviewer.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/design-decision-gate.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/dependabot-burner.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/craft.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/cloclo.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/archie.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/approach-validator.lock.yml |
Regenerates completion-footer metadata. |
.github/workflows/ace-editor.lock.yml |
Regenerates completion-footer metadata. |
Review effort: Balanced (dynamic)
There was a problem hiding this comment.
Skills-Based Review 🧠
Applied /diagnosing-bugs, /tdd and /codebase-design. The footer deduplication is correct: a no-op summary now carries one footer, and that footer comes from the completion handler. I found no blocking bug.
📋 Key Themes and Highlights
Key Themes
- Body rendered twice:
buildNoopCommentBodyruns for both outputs with identical inputs. - Wider env block:
GH_AW_ENGINE_*is now emitted for every workflow, which touches every conclusion job. - Test gap: the new Go test covers only the explicit-model path, not routing or the empty-model fallback.
- Unverified: the
notify_comment_errorandhandle_noop_messagevitest suites could not run in this sandbox because the npm registry presents a self-signed certificate. Their new expectations need CI confirmation.
Positive Highlights
- ✅ The
{footer}slot renders cleanly, with no stray text when the footer is empty. - ✅ The history link reuses
generateHistoryUrl, consistent with other handlers. - ✅ The new
noop_in_conclusion_test.gocase is well-named and asserts the exact env contract.
@copilot please address the review comments above.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~8 AIC · ⌖ ~2 AIC · ⊞ 6.6K
Comment /matt to run again
|
🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:
Keeping the changes focused; human review and CI get the final taste test. No merging or CI triggering. Structured data{
"completed_task": 0,
"head": "0b9f0c47b0d9a6c75f407862bcf8e8ed44d42f10",
"kind": "requested",
"schema_version": "1",
"state": "f8c909e0cb05a4caa686f7fd13e9dcf2d765f90e384fe4fc65b89185fe8ab75a",
"work": [
"1e9481f9a89cf024b6dcf8840d8181d962fb6d08e0334f42b3028770314ff755",
"2ec1c55a56c3bbc3d439b0f0d819e0f964a9c8ea5c8bbe45cc9676c7e7802a18",
"42e5d572d9d75b7168fe7d0aeda0717cc07e65ed240f6d299e6fec661214f1ac",
"60f9c6f75a23e45038bdc0a714895e50930dc28c799e65ed0e0a6ca6d5b913c3",
"67c3c42cc974b5d10ffc0a9076f3e690455245e1702432e372fd586160140d64",
"729a75adcdab3d459798cdb90bc3577ce2920cd353879d76982e31ddfd9c9b42",
"8acb61a077717e3a460018aacdfde96fd489f77606cd36169e2328d9079b75bb",
"a272ebc970e2f198f5229cd6e6635c2fe71965b6d7bb94142833b5ebb8dd623a",
"c7cf93e497befdd5e698d00101b0703e4101fe4133d86d433f7c170d07402b7e"
],
"workflow": "pr-sous-chef"
}
|
…nerated-footers Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
…nerated-footers Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Share the parsed no-op report between distinct publication bodies and add exact conclusion metadata coverage for explicit, empty, and routed models with a custom main job. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Regarding #77482 (comment): no code change is needed for this status-only comment. It contains one attribution footer with usage, history, and provenance; |
|
Regarding #77482 (comment): no additional change is needed. This status comment has one custom attribution footer with usage, history, and provenance, and contains no duplicate-footer defect or independent change request. |
|
Regarding #77482 (comment): run 43446008614 failed ledger schema validation in |
|
Regarding #77482 (comment): the substantive review feedback is addressed with model-path regression coverage and shared no-op report composition. This completion message already has one custom attribution footer and needs no separate code change. |
|
Regarding #77482 (comment): the caller-selected job-name finding is addressed and now has conclusion-builder regression coverage. The historical run submitted its review before failing unrelated ledger schema validation, which also left the ledger-push artifact absent; its status message itself has one footer. |
|
Regarding #77482 (comment): no change is needed for this status-only comment. It contains one custom attribution footer and no independent implementation request; the no-action category is not a claim that every downstream operation was verified. |
|
Regarding #77482 (comment): this managed memory records the existing job-name propagation finding, which is addressed with caller-selected metadata and expanded regression coverage. No additional code change is required, and the managed memory block is preserved unchanged. |
|
Regarding #77482 (comment): the main update is already merged, the listed build-wasm/impacted-go-tests/JS shard 2 failures are stale with newer successful checks, and the review feedback is addressed or verified already satisfied. The historical ledger schema and missing-artifact failures remain separate follow-up work; currently skipped ledger checks do not establish that those issues are fixed. |
|
🎉 This pull request is included in a new release. Release: |

Summary
Completion comments included both the no-op summary's "Generated from" footer and the completion handler's "Generated by" footer, as seen in #77463 (comment).
Export the reusable no-op summary without standalone attribution, leaving the completion handler responsible for a single footer. Preserve credit breakdowns, ambient context size, history links, and execution traceability. Standalone no-op tracking comments retain their footer. Regenerate affected workflow lock files to pass the required footer metadata.
Validation
make fmtgo test ./pkg/workflow -run '^Test(NotifyComment|Noop|CompletionComment)' -count=1npm exec -- vitest run notify_comment_error.test.cjs handle_noop_message.test.cjs(86 tests passed)npm run typecheckmake agent-report-progresspassed. Restored missing lint dependencies and reran JavaScript lint throughmake agent-report-progress-no-testsuccessfully.make check-workflow-driftpassed after regeneration: all 366 workflows compiled successfully.