Prevent stale GitHub Actions run state#5
Open
mdotk wants to merge 3 commits into
Open
Conversation
mdotk
marked this pull request as ready for review
July 9, 2026 21:59
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.
Summary
Cache-Control: no-cacheon the runs-only clientoctokit.paginate()infetchActiveWorkflowIds()with explicit page reads so cached workflow metadata is not mutatedqsdependency to the fixed release and apply non-breaking dev-toolchain audit fixesRoot cause
The dashboard could keep a completed or failed run displayed as
queuedorin_progressafter GitHub had reached a final conclusion.Live tracing showed two contributing paths:
octokit.paginate()mutated the ETag-cached workflow-list response. The first request returned the correct active workflow IDs, but subsequent304responses produced an empty ID set. That caused every fresh run to be filtered out while the previous dashboard cache remained visible.The patch isolates volatile Actions-run requests on an uncached client while keeping metadata caching. Explicit workflow pagination preserves the cached response object.
Security and dependencies
api.github.comqsresolves to6.15.3, fixingGHSA-q8mj-m7cp-5q26npm audit --omit=devreports zero vulnerabilitiesValidation
npm run fmt:checknpm run lintnpm test: 109 tests passednpm run build: server and client builds passed304cache hitsin_progresstocompleted/failureand another tocompleted/successwithout restarting the dashboard processFixes #4