Expand description
Sync GitHub blocked-by links into SQLite and hold tasks until those links are done.
Native blocked_by is the source of truth when the API answers. The issue
body is used only when that API is unavailable. A failed read leaves stored
rows in place.
Structs§
Functions§
- apply_
claim_ gates - Move
newandroutedtasks with open dependencies towaiting, and releasewaitingtasks whose dependencies are done - dispatch_
is_ waiting - True when dispatch must not start this task. A check error also skips dispatch
- emit_
dependency_ notices - parse_
body_ dependencies - Parse
Depends onandBlocked bylines. - parse_
depends_ on_ token - One
--depends-ontoken: a bare issue number,#12, orowner/repo#12 - reconcile_
dependencies - Refresh blocked-by links for schedulable tasks, then hold or release them.
- refresh_
blocker_ snapshots - Read each blocker’s issue and pull request, then store the snapshot the claim gate reads.
- refuse_
if_ waiting - Stop a manual route, run, or retry while dependencies are open.
- sync_
issue_ dependencies - Replace one issue’s dependency rows from GitHub, or from the body when GitHub cannot answer.