rehearsal drive release re-dispatches the stalest repo's swarm (consumer half of dev-factory #45) #736

Closed
opened 2026-08-24 01:34:58 +00:00 by ben · 1 comment
Owner

Consumer half of dev-factory #45 (stalest-repo re-dispatch on slot release). The factory half covers schedule-backstop.sh ordering and session-runner.sh's release nudge; the rehearsal drive's release path lives here, not in the factory.

Ask

When rehearsal-cycle.sh releases its exclusive host reservation (drive end — green, red, or reaped), fire one backstop nudge so the freed host serves the stalest repo's swarm within ~a minute instead of idling until that repo's next :15/:45 cron tick.

Context (2026-08-23): ~12 drives on elitebook-03 held both capacity slots for 1–2 h each; Matou/matou-app — whose only probes are clock-aligned — got zero queue evaluations there all day while ready-for-agent tickets waited. The gaps between drives went to idss/dev-factory only because their own label/close events happened to re-probe first.

Non-blocking, never camps (#238): the nudge is one dispatch; if the slot is already re-taken the dispatched run just yields as usual.

Blocked by: dev-factory #45 (the nudge target + ordering must exist in the factory first, then reach this repo via a pin bump).

Acceptance

  • Offline: drive-release path emits exactly one nudge per drive end (none on a deferred/yielded tick) — extend the rehearsal-cycle tests.
  • Live: after a drive ends on elitebook-03 with matou-app's lastready stamp the oldest, the runner journal shows a matou-app swarm dispatch (and a verdict-log line) within ~1 min.
Consumer half of dev-factory #45 (stalest-repo re-dispatch on slot release). The factory half covers `schedule-backstop.sh` ordering and `session-runner.sh`'s release nudge; the rehearsal drive's release path lives here, not in the factory. ## Ask When `rehearsal-cycle.sh` releases its exclusive host reservation (drive end — green, red, or reaped), fire one backstop nudge so the freed host serves the stalest repo's swarm within ~a minute instead of idling until that repo's next :15/:45 cron tick. Context (2026-08-23): ~12 drives on elitebook-03 held both capacity slots for 1–2 h each; Matou/matou-app — whose only probes are clock-aligned — got zero queue evaluations there all day while `ready-for-agent` tickets waited. The gaps between drives went to idss/dev-factory only because their own label/close events happened to re-probe first. Non-blocking, never camps (#238): the nudge is one dispatch; if the slot is already re-taken the dispatched run just yields as usual. **Blocked by:** dev-factory #45 (the nudge target + ordering must exist in the factory first, then reach this repo via a pin bump). ## Acceptance - Offline: drive-release path emits exactly one nudge per drive end (none on a deferred/yielded tick) — extend the rehearsal-cycle tests. - Live: after a drive ends on elitebook-03 with matou-app's `lastready` stamp the oldest, the runner journal shows a matou-app swarm dispatch (and a verdict-log line) within ~1 min.
Author
Owner

Closed in the 2026-08-27 other-state sweep (Ben's ruling) — done: the consumer half shipped as #739 (09ca7197, rehearsal_backstop_nudge in rehearsal-cycle.sh + rehearsal-release-nudge-test.sh) after dev-factory #45 landed. This was the orphaned original.

Closed in the 2026-08-27 `other`-state sweep (Ben's ruling) — done: the consumer half shipped as #739 (09ca7197, rehearsal_backstop_nudge in rehearsal-cycle.sh + rehearsal-release-nudge-test.sh) after dev-factory #45 landed. This was the orphaned original.
ben closed this issue 2026-08-27 04:44:38 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#736
No description provided.