feat(framework/tools): orchestration helpers — lane-brief.sh + ci-wait.sh #547
Reference in New Issue
Block a user
Delete Branch "feat/orchestration-tools-lane-brief-ci-wait"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #546.
Two additive orchestration tools for the framework suite, both already adopted by the live U-Connect orchestrator (
mos-claude) before this canonical contribution. Distilled from forensic analysis of a live delivery session under a wall-clock-first optimization mandate.lane-brief.sh (
git/)Live dispatch brief for a repo lane — one call returns the CURRENT open issue set from Gitea, classified for dispatch. Kills the observed failure mode: workers self-report issue state from stale static briefs and name already-CLOSED issues as 'todo', forcing per-issue re-verification before dispatch.
-L>$GITEA_LOGIN> owner inference >detect-platform.shfallback (the shared default-login resolver is not owner-aware; relevant to the #538 login-resolution line of work).ci-wait.sh (
woodpecker/)Blocks until one or more Woodpecker pipelines reach terminal state, wrapping the existing
pipeline-status.sh(resolves repo->id, instance-aware). Replaces hand-authoredwhile true; curl .../repos/1/pipelines/\$n; sleeploops that HARDCODE Woodpecker repo id 1 and re-implement URL building with raw curl. Intended as the COMMAND of a Monitor / event-driven re-invoke (primary) + one long (>=1500s) timed fallback — never a tight <300s poll. Exit: 0=all success / 1=terminal non-success / 2=usage / 3=timeout.Notes
release(mosaic): bump ...convention.usc/uconnect(lane-brief vs the open board; ci-wait vs pipeline 3943, exit 0).Suggested follow-up (not in this PR):
git config core.fileMode falseis advisable in working checkouts to avoid 0755 mode-flip noise.Fixes #546