Skip to content

Fix: post step no longer cancels checks that just completed - #3

Merged
krishan711 merged 1 commit into
mainfrom
fix-post-cancel-race
Nov 3, 2026
Merged

krishan711 merged 1 commit into
mainfrom
fix-post-cancel-race

Conversation

@krishan711

Copy link
Copy Markdown
Contributor

The post step asked GitHub for each check's status and cancelled any not yet completed. A check concluded moments before the post step can still read as in progress, so its green result was overwritten with cancelled. This happened on https://github.com/tokenpage/yieldseeker-app/pull/919: api-type-check passed in the log (the last check to finish, ~0.5s before the post step) but shows as cancelled.

Now the main step keeps the ids of checks it hasn't concluded in state, removing each one once its conclusion is reported (before any extra annotation batches), and the post step cancels exactly those without reading them back. A check whose conclusion couldn't be reported is still cancelled rather than left in progress.

Bumps the version to 1.0.2; run the Release workflow after merging to move v1.

Checked: make test, make lint-check, make type-check in the docker image, and runnable/index.js matches the docker build.

@krishan711
krishan711 merged commit 863d866 into main Nov 3, 2026
6 checks passed
@krishan711
krishan711 deleted the fix-post-cancel-race branch November 3, 2026 22:11
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.

1 participant