CI: l'esercitazione della guardia aspetta che la vendita sia partita #101

Open
Alby96 wants to merge 1 commits from guard-drill-sale into main
pull from: guard-drill-sale
1 Commits
Author SHA1 Message Date
Alby96andClaude Opus 5.5 4e0711c988 Start the drill's guard watch only once the sale has left (refs #100)
ci / test (postgres) (push) Successful in 4m2s
ci / test (sqlite) (push) Successful in 4m45s
ci / test (postgres) (pull_request) Successful in 4m24s
ci / test (sqlite) (pull_request) Successful in 6m24s
ci / image (push) Successful in 2m50s
ci / image (pull_request) Successful in 1m31s
The drill's sale leaves only at the engine's whole-minute pulse, up to a minute
after the engine is running. The guard was already watching with a 20 s silence,
while a turn of the main loop may take up to 45 s by design. On a loaded runner
(run 331) a slow turn made the guard step in at 15:19:56, before the sale due at
15:20:00, so the half-done sale the drill checks never existed.

The drill now waits for the sale order to be taken by the broker (or the engine
to die) before it starts the guard's watch. The engine's messages reach the guard
all along, the seven checks stay the same, and the waits go through IClock.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 16:48:55 +01:00