Repository navigation
Run dedupe agents in the foreground - #106972
Draft
bpasero-ant wants to merge 1 commit into
Draft
bpasero-ant wants to merge 1 commit into
bpasero-ant wants to merge 1 commit into
Conversation
Co-authored-by: bpasero <bpasero@anthropic.com>
bpasero-ant
enabled auto-merge
November 3, 2026 14:46
marcindulak
reviewed
Nov 3, 2026
| - `./scripts/gh.sh issue list --state open --limit 20` — list issues | ||
| - `./scripts/gh.sh search issues "query" --limit 10` — search for issues | ||
| - Do not use other tools, beyond `./scripts/gh.sh` and the comment script (eg. don't use other MCP servers, file edit, etc.) | ||
| - Run every agent in the foreground and wait for its result before the next step |
There was a problem hiding this comment.
How often the agent backgrounding happens?
Could this be one of the reasons for the lack of duplicates listing described in #79523?
marcindulak
reviewed
Nov 3, 2026
| - `./scripts/gh.sh issue list --state open --limit 20` — list issues | ||
| - `./scripts/gh.sh search issues "query" --limit 10` — search for issues | ||
| - Do not use other tools, beyond `./scripts/gh.sh` and the comment script (eg. don't use other MCP servers, file edit, etc.) | ||
| - Run every agent in the foreground and wait for its result before the next step |
There was a problem hiding this comment.
Another issue with issue deduplication workflow is how agents handle its logic - there are still cases when issues are closed as duplicates of each other, see #19267.
marcindulak
reviewed
Nov 3, 2026
| - `./scripts/gh.sh issue list --state open --limit 20` — list issues | ||
| - `./scripts/gh.sh search issues "query" --limit 10` — search for issues | ||
| - Do not use other tools, beyond `./scripts/gh.sh` and the comment script (eg. don't use other MCP servers, file edit, etc.) | ||
| - Run every agent in the foreground and wait for its result before the next step |
There was a problem hiding this comment.
This step;
- Then, launch 5 parallel agents ...
located in the file above the current change, instructs to launch parallel agents - is this possible in the environment of that workflow?
bpasero-ant
disabled auto-merge
November 3, 2026 15:26
bpasero-ant
marked this pull request as draft
November 3, 2026 15:26
This was referenced Nov 4, 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.
Some dedupe runs end after a few seconds. Claude likely starts an agent in the background and ends its turn, and the action stops at that result, so the agent is cut off.
Sets CLAUDE_CODE_DISABLE_BACKGROUND_TASKS=1 on the dedupe step, and tells the command to wait for each agent.
Not run on GitHub yet; check_workflow_hardening.py passes. We'll check the first runs after merge.
Generated by Claude Code