Repository navigation
Commit ce0daeb
committed
feat(publish): push each gateway as it lands, not all at the end
A fourteen-gateway run went dark for its entire duration: every result was
committed locally and nothing was pushed until the final sweep, so a run that
died at box twelve published nothing at all despite eleven gateways having been
measured cleanly.
The reason given for holding it was that a half-finished run leaves some rows
fresh and others stale. That is true, and it is also what the board is built to
show: every row carries its own measured_at, gen-data ages each row against it,
and app.js badges a stale one. A partial board that says which rows are new is
honest; a board that shows nothing for an hour is just less useful.
What actually made this unsafe was C8 - a board must not mix harness engines -
and that guard now lives in the publish path, where it fails the BUILD rather
than the push. So a mixed board cannot reach the site no matter when rows are
pushed, and the push no longer has to be the thing enforcing it.
Worth being precise about what this does and does not buy, because it is not
the same during a run that changes the engine:
- A rerun of one gateway on the SAME engine as the rest of the board now
appears as soon as that box finishes. That is the steady state and it is the
common case.
- A full-field rerun that also moves the engine still shows nothing until the
last box lands, because until then the newest snapshot per gateway spans two
engines and C8 correctly refuses the board. The data is in git the moment
each box finishes either way, which is the part that was actually being
lost.1 parent 69446a8 commit ce0daeb
1 file changed
Lines changed: 21 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
476 | 492 | | |
477 | 493 | | |
478 | 494 | | |
| |||
0 commit comments