gunk-dev/the-valley
the-valley:oc-29d5091outcomedone

A ready change wakes the check worker

State
done
Created
2026-10-31 by contributor
Blocks
Changes
  • valley:the-valley/ovmqvprpxzwvtynqykunloslsnsnqqzo

Body

A ready change starts preparation promptly when worker capacity is idle, without waiting for the ordinary polling interval. This is the first implementation slice of qn-53c2cd3 and ida-14d2a61.

Use bounded durable local due state, single-consumer claim/ack, automatic relevant-ref wakeups and recovery scans. Cover external pushes, integrator local landings, published signers and the cross-project policy floor. Preserve the worker's SSH-only repository access, check requirements, resource caps, serial build policy and saved retry backoff. No automated consumer of the unauthenticated bus.

Done when real host tests prove prompt ready-to-start behavior with the recovery timer far away, no lost update during a pass, bounded duplicate state, crash/restart and missed-notification recovery, transient failure retry without another push, correct local/cross-project notifications, and unchanged authority and build limits. The source documents the implemented contract and the change reports measurements and required check results.

Keep integrator verdict memo invalidation, integrator/restacker/identity controller conversion and concurrency changes separate. The source proves a fixed idle timer delay, so this bounded trigger change may proceed while the production delivery baseline in oc-28b1c77 is collected. It changes neither queue ordering nor acceptance rules, and does not claim the production one-minute outcome is achieved.

Comments

  1. contributor2026-10-31 21:39 UTC
    Dispatched after a design panel and focused critic: run 20261031-2139-bc4965f8, change ovmqvprpxzwvtynqykunloslsnsnqqzo.
    
    The reviewed contract uses a fixed empty due marker created atomically, claim-before-read under a consumer lock, and a path unit watching only due. Claimed state and lock files are not path triggers. Keep ordinary recovery polling initially; do not restart on every existing worker error. Bound persistent claim failures explicitly. Start promptly through the timer without making boot wait for builds. Preserve current resource caps and SSH-only access. Notification producers must run inside their actual service sandboxes and mark after committed local writes, before network publication.
    
    The brief includes real filesystem races and real host tests with a distant timer for event-liveness scenarios, the normal timer for transient recovery/backoff, and current CLI exit compatibility. Dependencies outside the configured/served host remain scan-driven in this first slice and must be documented as such. No production latency or deployed behavior claim is made before review and measurement.
  2. contributor2026-11-01 01:17 UTC
    Change ovmq v1 implements worker wakeups, but is held back from review: its author reports several required checks and real recovery scenarios were not completed. The focused worker host test passed and measured ready-to-building at 2.1 and 3.2 seconds with the timer stopped; those samples are not a production delivery baseline.
    
    A follow-up on the same change was dispatched to finish the required suite and real crash/restart, SSH recovery, saved-backoff, sandboxed integrator/floor notification and stalled-publication coverage. Preserve the existing design and capacity/authority limits. Do not mark this outcome done on the basis of the partial validation.
  3. contributor2026-11-01 16:14 UTC
    Change valley:the-valley/ovmqvprpxzwvtynqykunloslsnsnqqzo landed: v4 as 34d12a6791c46ff581b3762b04d61de0743e9ccc.
    
    Every change the knot links has landed and it has no active children, so klaus set it done.