Repository navigation
Fix: post step no longer cancels checks that just completed - #3
Merged
Merged
Conversation
…ents before the post step stays green
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-checkpassed 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-checkin the docker image, andrunnable/index.jsmatches the docker build.