pr-sous-chef: auto-resolve outdated addressed review threads via thread-resolver sub-agent#41959
Merged
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add thread-resolver sub-agent to PR Sous Chef
pr-sous-chef: auto-resolve outdated addressed review threads via thread-resolver sub-agent
Jun 27, 2026
Copilot stopped reviewing on behalf of
pelikhan due to an error
June 27, 2026 22:38
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds GH_AW_LABEL_COMMANDS configuration across multiple GitHub Actions “*.lock.yml” workflows, likely to enable label-driven command routing/behavior in the gh-aw scripts.
Changes:
- Introduces
GH_AW_LABEL_COMMANDSenv var in multiple workflows (typically in both the “setup globals” step env and the job-level env). - Standardizes label-command configuration for smoke/dev/necromancer-style workflows (with some label value variations).
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/smoke-otel-backends.lock.yml | Adds GH_AW_LABEL_COMMANDS to smoke OTEL backends workflow envs. |
| .github/workflows/smoke-copilot.lock.yml | Adds GH_AW_LABEL_COMMANDS to smoke Copilot workflow envs. |
| .github/workflows/smoke-copilot-sdk.lock.yml | Adds GH_AW_LABEL_COMMANDS (uses smoke-sdk) to SDK smoke workflow envs. |
| .github/workflows/smoke-copilot-aoai-entra.lock.yml | Adds GH_AW_LABEL_COMMANDS to AOAI Entra smoke workflow envs. |
| .github/workflows/smoke-copilot-aoai-apikey.lock.yml | Adds GH_AW_LABEL_COMMANDS to AOAI API key smoke workflow envs. |
| .github/workflows/necromancer.lock.yml | Adds GH_AW_LABEL_COMMANDS to necromancer workflow envs. |
| .github/workflows/dev.lock.yml | Adds GH_AW_LABEL_COMMANDS to dev workflow envs. |
| .github/workflows/cloclo.lock.yml | Adds GH_AW_LABEL_COMMANDS to cloclo workflow envs. |
| .github/workflows/ci-doctor.lock.yml | Adds GH_AW_LABEL_COMMANDS to ci-doctor workflow envs. |
| .github/workflows/approach-validator.lock.yml | Adds GH_AW_LABEL_COMMANDS (two labels) to approach-validator workflow envs. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 10/10 changed files
- Comments generated: 3
- Review effort level: Low
Comment on lines
1131
to
+1132
| GH_AW_COMMANDS: "[\"smoke-otel-backends\"]" | ||
| GH_AW_LABEL_COMMANDS: "[\"smoke\"]" |
Comment on lines
970
to
+971
| GH_AW_COMMANDS: "[\"smoke-copilot-sdk\"]" | ||
| GH_AW_LABEL_COMMANDS: "[\"smoke-sdk\"]" |
Comment on lines
2000
to
2002
| GH_AW_COMMANDS: "[\"smoke-copilot\"]" | ||
| GH_AW_LABEL_COMMANDS: "[\"smoke\"]" | ||
| with: |
This was referenced Jun 27, 2026
Contributor
|
🎉 This pull request is included in a new release. Release: |
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.
PR Sous Chef now auto-resolves review threads that are both unresolved and outdated, reducing stale reviewer noise without changing nudge behavior. The workflow adds a lightweight resolver path that runs independently and fails open.
Sub-agent:
thread-resolverpull_requests.isResolved: false && isOutdated: true.Safe output capability
resolve-pull-request-review-threadtosafe-outputswithmax: 20andtarget: "*".Main agent policy updates
thread-resolverfor eligible PRs.sub_agent_error-style behavior) and do not abort PR processing.resolve_pull_request_review_thread.Execution contract / reporting
threads_resolved=Nfor visibility.Example resolution flow:
{"thread_ids":["PRRT_kwDO...","PRRT_kwDO..."]}