Skip to content

fix(pstack): wait for pending CI reruns - #1244

Open
Aditya-linux wants to merge 1 commit into
cursor:mainfrom
Aditya-linux:fix/1240-watch-pr-pending-reruns
Open

Aditya-linux wants to merge 1 commit into
cursor:mainfrom
Aditya-linux:fix/1240-watch-pr-pending-reruns

Conversation

@Aditya-linux

Copy link
Copy Markdown

Fixes #1240.

Summary

  • Treats GitHub’s current PENDING head rollup as non-terminal while replacement jobs are running.
  • Prevents failures from draft-only runs from ending watch-pr before their reruns settle.
  • Adds regression coverage for a failed gate alongside its in-progress replacement job.
  • Updates the generated Claude Code harness mirror.

Testing

Run in Docker:

  • bun test watch-pr check-plan.test.ts — 62 passed
  • bun run typecheck — passed

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.

pstack watch-pr: failures from draft-time runs mark a PR ci-failing (exit 4) while their re-runs are still pending

1 participant