Skip to content

fix(pr-status): print an unchanged waiting reason once - #484

Merged
CybotTM merged 1 commit into
mainfrom
fix/watch-repeated-why
Nov 22, 2026
Merged

CybotTM merged 1 commit into
mainfrom
fix/watch-repeated-why

Conversation

@CybotTM

@CybotTM CybotTM commented Nov 22, 2026

Copy link
Copy Markdown
Member

pr-status.sh --watch prints the full waiting reason only when it changes; an unchanged poll prints waiting: unchanged since <time> (NEXT: <action>, <n>s elapsed). One watch in a merge queue had printed 84 waiting lines of up to 1,481 characters, 64 of them identical to the line before.

Testing

New case in tests/test_pr_status_watch_ignore.sh; with the old loop it fails (3 full lines instead of 1). All 37 test_pr_status_*, test_pr_sweep and test_pr_merge_* files pass.

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 36 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8a52b784-094e-494f-a3ac-e39b71ceba46
Commits

Reviewing files that changed from the base of the PR and between 8279729 and f59018d.

Files selected for processing: 3

  • skills/git-workflow/references/merge-gate-watcher.md
  • skills/git-workflow/scripts/pr-status.sh
  • tests/test_pr_status_watch_ignore.sh
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@CybotTM
CybotTM marked this pull request as ready for review November 22, 2026 22:04
Copilot AI balanced review requested due to automatic review settings November 22, 2026 22:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions github-actions Bot added documentation Improvements or additions to documentation skill labels Nov 22, 2026
@CybotTM

CybotTM commented Nov 22, 2026

Copy link
Copy Markdown
Member Author

Self-review: 6580aa4

The bot review this pull request demands is unsatisfiable (Copilot quota wall or repeated bot failures on this head). The diff on this head was reviewed by the PR author; this comment is the on-the-record attestation the merge gate reads back. It stops matching on the next push.

@CybotTM
CybotTM added this pull request to the merge queue Nov 22, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 22, 2026
--watch printed the full .next.why on every poll. One watch in a merge
queue printed 84 waiting lines of up to 1,481 characters, 64 of them
identical to the line before. A reason equal to the previous poll's is
now shortened to "waiting: unchanged since <time> (NEXT: <action>,
<n>s elapsed)"; a changed reason is printed in full. The new case in
test_pr_status_watch_ignore.sh fails against the old loop (3 full
lines instead of 1).

Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
@CybotTM
CybotTM force-pushed the fix/watch-repeated-why branch from 6580aa4 to f59018d Compare November 22, 2026 22:27
@sonarqubecloud

Copy link
Copy Markdown

@CybotTM

CybotTM commented Nov 22, 2026

Copy link
Copy Markdown
Member Author

Self-review: f59018d

The bot review this pull request demands is unsatisfiable (Copilot quota wall or repeated bot failures on this head). The diff on this head was reviewed by the PR author; this comment is the on-the-record attestation the merge gate reads back. It stops matching on the next push.

@CybotTM
CybotTM added this pull request to the merge queue Nov 22, 2026
Merged via the queue into main with commit a93226e Nov 22, 2026
26 checks passed
@CybotTM
CybotTM deleted the fix/watch-repeated-why branch November 22, 2026 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation skill

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants