Expand description
Sync GitHub blocked-by links into SQLite and hold tasks until those links are done.
Native blocked_by links and Depends on lines in the issue body are both
stored, deduplicated by repository and number. 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 - clear_
blocker_ read_ cache - Forget when a blocker was last read, so the next refresh reads it at once. Called when a
task reaches
done. Without it a blocker that finishes right after a read holds its dependents for the rest of the TTL, and a chain pays that at each step. A blocker orch does not manage has no task to finish, so it keeps the full TTL - 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 the native blocked-by links and the issue body.