Repository navigation
design(woodpecker): reconcile stranded required check runs (RIG-3462) - #47
rigel-mintaka wants to merge 5 commits into
Conversation
…462) Co-authored-by: Matt Wilkinson <matt@rigel.build>
|
Rigel public design docs preview: https://runners-rig-3462-status-reco.docs-2ui.pages.dev Deployed from |
…s (RIG-3462) Co-authored-by: Matt Wilkinson <matt@rigel.build>
…responses (RIG-3462) Co-authored-by: Matt Wilkinson <matt@rigel.build>
Review-loop note
Head |
…ler (RIG-3462) Q1 = A (index pipelines.updated), Q2 = B (repair pending and absent; count final mismatches). Co-authored-by: Matt Wilkinson <matt@rigel.build>
|
Review loop at head |
|
Want to migrate to the checks API see RIG-5779. Also want to see if we can re-add individual checks for the different jobs, or at least some more granularity, if we're using a GH App and batching the calls. |
|
Back to draft. The reconciler will repair the check runs from the RIG-5844 cutover, not commit statuses. Plan
Batching facts (GitHub docs, rate limits for the REST API)
|
…-3462) Matt moved the required gates to check runs (RIG-5844). The reconciler now reads check runs by name with filter=all, matches its run by external_id, PATCHes by run id, and takes names and conclusions from the cutover so RIG-5875 needs no change here. Co-authored-by: Matt Wilkinson <matt@rigel.build>
|
Review loop at head
The reviewer found these consistent with the RIG-5844 contract: names from the cutover's helpers, design-ledger-gate OK, ref-gate clean, rumdl clean, 24/0. |
Summary
This is the design record for the remaining half of RIG-3462. A reconciler in the Woodpecker server finds terminal pipelines whose required
aggormetacheck run is stillqueued,in_progressor absent on GitHub. It then finishes the run with the stored verdict, within a bounded quota budget.docs/designs/woodpecker/status-reconciler.mddocs/designs/woodpecker/decisions/status/Rulings
pipelines.updated), Q2 = B (repair open or absent runs only).Do not merge yet
The record builds on the RIG-5844 cutover contract (orion-docs#60, draft): App
4045728,external_idwp1/<instance>/<number>/<kind>, lookup withcheck_name,app_idandfilter=all.Process
8ecfb8ee.e4aa9eba: one review round, 1 high and 1 medium, both fixed in the same commit (see the review-loop note).Checks
bun test: 24 pass.rumdl check,bun run gate,bun run ref-gate: clean.