Skip to main content

Module dependencies

Module dependencies 

Source
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§

DepNotice
DepRef
SyncOutcome

Functions§

apply_claim_gates
Move new and routed tasks with open dependencies to waiting, and release waiting tasks 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 on and Blocked by lines.
parse_depends_on_token
One --depends-on token: a bare issue number, #12, or owner/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.