Make link_sub_issue already-linked path non-fatal (idempotent no-op)#31585
Closed
Copilot wants to merge 1 commit into
Closed
Make link_sub_issue already-linked path non-fatal (idempotent no-op)#31585Copilot wants to merge 1 commit into
link_sub_issue already-linked path non-fatal (idempotent no-op)#31585Copilot wants to merge 1 commit into
Conversation
Copilot
AI
changed the title
[WIP] Make link_sub_issue safe-output handler idempotent
Make May 11, 2026
link_sub_issue already-linked path non-fatal (idempotent no-op)
Contributor
|
Hey A few things to address before this is ready for review:
If you'd like a hand completing the implementation, you can assign this prompt to your coding agent:
|
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.
Bug Fix
safe_outputswas failing whenlink_sub_issuere-asserted an already-linked relationship, turning a successful agent run into a failed workflow. This change ensures that “already linked” is treated as an idempotent no-op outcome instead of a fatal error.What was the bug?
link_sub_issueemitted a warning for “already a sub-issue” but still surfaced failure in the safe-output phase, causing false workflow-failure signals and downstream noise.How did you fix it?
add_labels: no matching idempotency regressionremove_labels: missing-label removals are non-fatalunlink_sub_issue: no corresponding handler path in this codepath to adjustRegression coverage