Clean up Duplicate Surfacing comment noise (#6412) - #6414
Open
denelon wants to merge 1 commit into
Open
Conversation
Trenly
reviewed
Jul 29, 2026
denelon
force-pushed
the
denelon/dup-surfacing-comment-cleanup
branch
2 times, most recently
from
July 29, 2026 21:37
cbe08dd to
8141a82
Compare
Reduce noise in the duplicate-surfacing comment per maintainer feedback: - Drop the '(surfaced automatically for maintainer review...)' parenthetical from the header. - Reword guidance to address the issue submitter/contributor (self-review) instead of maintainers; remove the 'Duplicate of #NNN' instruction (also avoids surfacing the auto-close trigger phrase). - Replace the auto-generated 'Generated by ... AIC ...' footer with a consolidated Template tag + run link via safe-outputs.messages.footer. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3701d64a-96ba-42f1-be59-b4e7d2a2820a
denelon
force-pushed
the
denelon/dup-surfacing-comment-cleanup
branch
from
July 29, 2026 21:47
8141a82 to
4362f97
Compare
4 tasks
Trenly
approved these changes
Jul 29, 2026
JohnMcPMS
approved these changes
Jul 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📖 Description
Reduces noise in the Duplicate Surfacing workflow's comment, per maintainer feedback in #6412.
Three changes to
.github/workflows/duplicate-surfacing.md(and its regenerated.lock.yml):Header — drop the
(surfaced automatically for maintainer review — this issue has **not** been closed)parenthetical. The comment is now just**Possible duplicates:**.Guidance — reword from maintainer-facing to contributor-facing: thank the submitter, ask them to review the candidates, and — if one matches — to 👍 that issue and close this one as a duplicate. Keeps the note that older/curated issues are preferred as canonical. Removes the
Duplicate of #<number>instruction (maintainers already know the trigger, and this avoids surfacing the auto-close phrase in the comment body).Footer — replace the auto-generated
> Generated by 🔁 Duplicate Surfacing … · sonnet46 · NN AIC · …footer with a single consolidated line viasafe-outputs.messages.footer:This keeps the
Template:tag (for email-filter rules) and a link back to the workflow run, while dropping the token/cost metadata noise. Rendered as an H6 heading (######) to visually de-emphasize it. The invisible<!-- gh-aw-… -->dedup markers are unaffected (they're added separately and are required so the workflow doesn't re-comment).Rendered comment (after)
🔗 References
Resolves #6412
🔍 Validation
gh aw compile duplicate-surfacing→ 0 errors, 0 warnings.GH_AW_SAFE_OUTPUT_MESSAGESand thatGH_AW_RUN_URL/GH_AW_WORKFLOW_NAMEare wired in to render the{run_url}/{workflow_name}placeholders.✅ Checklist
📋 Issue Type
Authored with GitHub Copilot assistance.