Repository navigation
ci(ENG-4588): complete a test report check the reporter left in progress - #265
Merged
vgoat21 merged 1 commit intoNov 16, 2026
Conversation
dorny/test-reporter creates its check run and updates it with the results a moment later. That update intermittently 404s, because the new check run is not visible to the API yet; continue-on-error keeps the job green, but the check run stays in progress for good, so the PR never shows all checks finished. When the report step fails, find any 'Tests (Ghidra X)' check run for the head commit that is not completed, retrying while it becomes visible, and complete it with the outcome of the Run tests step. Look them up with filter=all: with filter=latest the endpoint returned no runs at all for two of the three stuck checks.
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.
Follow-up to ENG-4588 (CI flakes).
Problem
dorny/test-reportercreates theTests (Ghidra X)check run, then updates it with the results about half a second later. That update sometimes fails withHttpError: Not Found, because GitHub hasn't made the new check run visible yet.continue-on-errorkeeps the build job green, but nothing completes the check run. It stays in progress for good, so the PR never shows all checks finished. PR #264 has three stuck this way: 11.4.3, 12.0.2 and 12.1.3. Every build job passed, and the reporter logged##[error]HttpError: Not Foundright afterUpdating check run conclusion (success) and output.Fix
A new step runs only when the report step failed. It:
Tests (Ghidra X)check run for the PR head commit that isn't completed;Run tests(success or failure), with a summary pointing at the test step and the results artifact;The step is also
continue-on-error. Like the report, it is display only and can never fail a build.The lookup uses
filter=all. Withfilter=latest, the endpoint returned no check runs at all for two of PR #264's three stuck checks. Withfilter=allit finds all three (133192112819,133192119584,133191933258).Testing
bash -n.PATCHruns with the job'sGITHUB_TOKEN. That is the same token, from the same app, that the reporter uses to create and update its check runs.