Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .claude/commands/dedupe.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ Notes (be sure to tell this to your agents, too):
- `./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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

How often the agent backgrounding happens?

Could this be one of the reasons for the lack of duplicates listing described in #79523?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This step;

  1. 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?

3 changes: 3 additions & 0 deletions .github/workflows/claude-dedupe-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CLAUDE_CODE_SCRIPT_CAPS: '{"comment-on-duplicates.sh":1}'
# The action stops at Claude's first result, which would cut off an agent
# still running in the background.
CLAUDE_CODE_DISABLE_BACKGROUND_TASKS: '1'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
allowed_non_write_users: "*"
Expand Down
Loading