Repository navigation
Only failed or finished CI checks wake a session - #558
Conversation
|
PR #558 is open and its automated checks pass (259 tests, typecheck, lint, format). I can't run the live steps from #519. They need a PR in craftmilldev/loopway-sandbox with a failing and a passing job, and Reply here to answer: loopway-bot is waiting. |
|
Blocked: What I ranOn Must fix
Worth considering
|
|
This PR conflicts with its base branch. Rebase onto it, resolve the conflicts, and push. |
Can you rebase on main and use |
8da3564 to
261df3d
Compare
|
Rebased on main (the CLI version is now 2.1.1, CHANGELOG conflicts resolved), force-pushed, and reran build, test (278 in cli), typecheck, lint and format:check: all pass. I ran steps 1–4 of #519 live in the sandbox. Not run live: |
|
Ready to merge. The live record I was blocked on is now in What I ran
Earlier points
|
|
This PR conflicts with its base branch. Rebase onto it, resolve the conflicts, and push. |
Check runs and statuses are still read every poll, but only a check that finished failing, or the moment every check on the head commit has finished (one summary), becomes an update. A new head commit starts over. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
The live run in |
|
Correction to my last comment: the rebase is done locally, but the force-push was denied, so it is not on the branch yet. The branch on GitHub still has the old history and still conflicts on |
c55ec2a to
609a2d9
Compare
|
You asked me in chat to resolve the conflicts. I pushed the rebase with |
|
Ready to merge, still, on the rebased head What I ran
The earlier optional points still stand, unchanged. |
Closes #519.
A thread is now told about CI only when a check finishes failing, or once when every check on the head commit has finished. Running and passing checks no longer queue anything.
What it does
failure,timed_out,cancelledoraction_requiredis queued, as<name> <conclusion>.failureorerroris queued.ci_finishedupdate is queued:CI finished: 5 passed, 1 failed. Skipped and neutral checks count as passed.Worth knowing
GitHubSource(it only emits those updates) instead of inrules.ts. So the poller'sseenlist holds only the updates that wake, not every check state; the issue's "recorded on the subject" is met by the polling itself, which still reads every check each time. Say if you want the quiet ones kept inseentoo.ci_finished:<sha>:<passed>:<failed>. A re-run that changes the counts after the summary sends a second summary; the same counts never repeat.cli-versioncheck).Test it locally
npm run build && npm test && npm run typecheck && npm run lint && npm run format:checkNew tests are in
packages/cli/test/github.test.ts, under "CI": every failing conclusion wakes, running/passing/skipped don't, the all-done summary (with a failing status and a pending one), no checks yet, each result once, and a new head commit resetting. They use the fake GitHub.To try it live, follow the steps in #519. The record will be in
verifications/<this PR>.mdon the branch.🤖 Generated with Claude Code