Skip to content

pr-sous-chef: process all PRs, treat marker-only comments as informational#43492

Merged
pelikhan merged 1 commit into
mainfrom
copilot/update-pr-sous-chef-again
Jul 5, 2026
Merged

pr-sous-chef: process all PRs, treat marker-only comments as informational#43492
pelikhan merged 1 commit into
mainfrom
copilot/update-pr-sous-chef-again

Conversation

Copilot AI commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

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 --limit from 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 @copilot to be considered actionable.

Prefilter changes (bash)

# Before: marker alone was enough to skip
elif (.[0].body // "" | contains($marker)) then "true"

# After: must also contain @copilot
elif (.[0].body // "" | (contains($marker) and contains("@copilot"))) then "true"

Same and contains("@copilot") guard applied to the cooldown timestamp lookup.

Prompt changes

  • Token efficiency rule 4: Process all eligible PRs per run.
  • Skip rules 2 & 3 and pr-processor sub-agent updated to match the @copilot-aware logic.

…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 AI requested a review from pelikhan July 5, 2026 06:54
@pelikhan pelikhan marked this pull request as ready for review July 5, 2026 06:58
Copilot AI review requested due to automatic review settings July 5, 2026 06:58
@pelikhan pelikhan merged commit 19d59cd into main Jul 5, 2026
@pelikhan pelikhan deleted the copilot/update-pr-sous-chef-again branch July 5, 2026 06:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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 list fetch 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

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot please run the pr-finisher skill, review any remaining feedback, make the smallest necessary updates, and rerun checks if code changes are needed.

Generated by 👨‍🍳 PR Sous Chef · 12.3 AIC · ⌖ 5.1 AIC · ⊞ 3.5K ·
Comment /souschef to run again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants