A host request that beats the launcher's first line is waited out, not failed (martha#246) #278
Loading…
Reference in a new issue
No description provided.
Delete branch "pluto/246-first-request-before-journal-line"
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?
Refs martha-ai/martha#246
Purpose (bug): a recorded-host case reds only for a real fault and never because the box was busy, so a red on
mainmeans a brokenmain; and when it does red, the red names which side was silent.What changes
journalNeverWrittennow takes the run's clock and the run's ownsilence_ms. "No line in the journal" is read as "no journal" only once a whole silence budget has passed since the host's first model request, so the ordering a loaded box produces (the request landing before the launcher's first line, across a socket) is waited out instead of failed.aWaitOfTheRunhands the wait's ownnowandsilence_msin, so the check spends the same clock and the same bound as the wait it stands beside.a_silent_host_fails_by_name.node-test.tsgains the case where the request lands first (red before this change) and keeps the launcher that never writes a journal (still named, with the budget in the message).Checks, local, on the merged tip
e0d54d18(b478e03fplus this patch):npm testthrough the namespace wrapper: 5612 tests, 5574 pass, 0 fail, 38 skipped, recorded-host and installer stages included;npm run verifyrc 0 (lint, base-tests, private check "nothing private", restated-values, the rest);npm run typecheckclean;git diff b478e03f e0d54d18 -- .githubis 0 bytes;b478e03f) into pluto/246-first-request-before-journal-line e0d54d184d