Repository navigation
Queue completed CI reruns without accelerating dashboard refreshes - #23
Merged
Merged
Conversation
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.
An older Actions run can be rerun outside the dashboard's created-time polling window, leaving the CI point red until reconciliation. Retain completed rerun IDs so the next existing collection can refresh their latest attempts directly.
workflow_run.completedonly for attempts greater than one, after signature, scope and delivery checks. Coalesce by source/run and commit with the archive transaction; retain hints across restarts.POST /actions/rerunsand/actions/reruns/ack. Reuse the fixed repository/owner IDs, main branch, collect.yml and schedule/workflow_dispatch identity checks. Read at most 20 hints with fair rotation; acknowledge exact attempt/revision pairs only after the dashboard publishes successfully.Companion collector: ScienceDiscovery/github-status-board#20. Deploying this endpoint first is safe: hints remain queued until a compatible collector acknowledges them. The GitHub App must already deliver workflow_run events; requested is not used.
Validation at
1b339f0c764327113434db68ca59ebd8d1b046cf:npm run check,npm run build,npm run workers:checknpm testnode --import tsx --test tests-ts/worker-run-changes.test.mjs; signed deliveries, duplicate notifications, restart, transaction rollback, fair batches, stale acknowledgements, fixed OIDC scope, unchanged outbox/alarmnpm run test:e2e:cloud-admin; actual listener registry, management regression, desktop and 390px layoutNo live collection or deployment was performed.