pr-sous-chef: process all PRs, treat marker-only comments as informational#43492
Merged
Conversation
…n prefilter Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
Update pr-sous-chef: process all PRs, ignore informational comments in prefilter
pr-sous-chef: process all PRs, treat marker-only comments as informational
Jul 5, 2026
Copilot created this pull request from a session on behalf of
pelikhan
July 5, 2026 06:54
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the pr-sous-chef workflow’s PR-queue processing and its “duplicate nudge” detection so that runs consider more eligible PRs and don’t treat marker-only comments as actionable nudges.
Changes:
- Increased
gh pr listfetch limit from 30 to 100 to avoid silently deferring most eligible PRs. - Updated the bash prefilter logic so a comment is considered an actionable sous-chef nudge only if it contains both the hidden marker and
@copilot(affecting both “last comment” skipping and the 30-minute cooldown). - Updated the workflow prompt/agent instructions to process all eligible PRs per run and to match the new
@copilot-aware skip/cooldown rules.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/pr-sous-chef.md | Raises PR listing limit and updates prefilter + prompt skip/cooldown rules to require marker and @copilot. |
| .github/workflows/pr-sous-chef.lock.yml | Recompiled workflow reflecting the updated PR limit and @copilot-aware actionable-comment logic. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 0
- Review effort level: Low
Collaborator
|
@copilot please run the
|
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.
Two behavioral fixes for
pr-sous-chef:No more 5-PR cap — the agent was silently deferring most eligible PRs per run. Bumped
gh pr list --limitfrom 30 → 100 and removed the "at most 5 PRs" instruction.Informational comments no longer block nudges — comments containing
<!-- gh-aw-pr-sous-chef-nudge -->but not@copilot(e.g. slash-command acknowledgements) were incorrectly triggering the duplicate-comment skip and 30-minute cooldown. Both the bash prefilter and LLM skip rules now require the comment to contain both the marker and@copilotto be considered actionable.Prefilter changes (bash)
Same
and contains("@copilot")guard applied to the cooldown timestamp lookup.Prompt changes
Process all eligible PRs per run.pr-processorsub-agent updated to match the@copilot-aware logic.