0
0
plan 0040: hand cycle of the combined tree 44 of 48, causes and fixes
docs/plans/0040-findings.md+29−0
| @@ -3498,3 +3498,32 @@ Each: what was seen (with the log), the cause, the fix, its proof. | ||
(`tests/host/src/swc.rs:179`) rejects any value with '/': "dir is required (a plain name)" (since a09c3c1d, | ||
2026-11-18). LESSON: 11 clean core starts in a hand cycle say nothing about a once-per-second coincidence; and the | ||
lead named its own fix as the suspect twice before reading the artifacts: read first. | ||
| ||
- 2026-11-22 01:05Z, HAND CYCLE OF THE COMBINED TREE `stack4` 7b0f1bc3 (main 7b0afc69 + `health-pid` + | ||
`bid-capacity` af6acb30 + `ingress-rereg` e69951d8), fresh network stg-033371: `gate: staging: 44 of 48 PASS`, | ||
wall 6606 s (`~/.tmp/cycle-stack4/saved/`). No roll was spent. All four FAILs come from the two fix branches: | ||
- 0007:UPGRADE: the new core logged ERROR "Reconciler error: context canceled" once at the listener hand-over. | ||
FIX (`ingress-rereg`): a stopped provider answers `ingress.ErrProviderStopped`, mapped to IngressNotReady. | ||
- 0007:INGRESS (new entry): its trigger patched the IngressProxy object, which the test host's kube write guard | ||
refuses (an approved control, not widened). FIX: the trigger is an allowed MarketBidder patch of the listener's | ||
keepalive setting, restored on every failure path. | ||
- 0014:GIVEUP and 0014:WAIT: a FULL bidder published a bid on every re-ask of a waiting rental, refused the accept | ||
409, and the requester ended the contract. CAUSE: on staging an RFP reaches a bidder over the market stream | ||
(`applyInbox`) before the requester's submitRfp; that path checked no room, and af6acb30 had removed decideBid's | ||
room check (decision 73 broken on the stream path). The requester's replacement budget was per contract, not per | ||
waiting round, so a 409 while waiting was fatal (same on main, reachable there only by the admission race). | ||
FIX (`bid-capacity` 08ffeb14): the room is decided once, when the bid is created, on every intake path; an intake | ||
that cannot read the RFP fails and is retried; a status-less bid finishes "Undecided" after its bid window; the | ||
requester's budget is per round and a 409 past it waits for capacity. Both entries now also fail if a bidder held | ||
full both declines and bids in one round. | ||
- TEST ENVIRONMENT GAP: on the local market (hat-8, test-0001) bidders never receive RFPs over the market stream | ||
(0 "market inbox applied ... market.rfp" lines; a published RFP with no submitRfp never arrives). submitRfp is | ||
the only intake there, so the local runs of af6acb30 passed. A change to RFP intake is proven on staging only. | ||
- ALSO FOUND by counting ERRORs over repeated build switches (same on main): at a core start an Exposure whose | ||
named IngressProxy is not registered yet fell back to the xrpc registrar, which then dialled `https://iroh` | ||
("no such host", ERROR in the core's first seconds). FIX (`ingress-rereg` 60d0cdf8): IngressNotReady, no fallback. | ||
- LESSON: two branches joined the combined tree on local proofs only. From here a branch joins only after its own | ||
entry families passed on a staging network with its own build; start-up changes are proven by counting ERRORs | ||
over repeated starts, not by reachability alone. | ||
- Readings at the end, for the parts that held: sign-in waited 762 ms once, 0 refusals; 0 start-up errors on the | ||
passing entries; 0 `bidder_payload_refused`; 0 `dumbpipe_exited`; every core left running had a live listener. | ||
.plans.yaml+1−1
| @@ -35,4 +35,4 @@ plans: | ||
log: "bash scripts/check-docs.sh" | ||
waits_on: "the two rolls" | ||
status: "steps 0-5 done (promote asked-only; promote.sh --dry-run rehearsed on the release image on main de0b91ee; hand builds to local/, rehearsed: publish+verify local/de0b91ee, ci-staging-binary local:); prod on rc174; no stable" | ||
next: "21:20Z 2026-11-21: decision 78: no roll while a known cause of gate failure is unfixed. In work on branches: health-pid (tests-only fixes of the red roll; reviewed; hand cycle running), ingress-rereg (bidder unreachable over iroh after its ingress listener is replaced), bid-capacity (silent bid drop for capacity; sign-in link lag). Then one pull proven whole by hand, a roll, then cli-help. 0 green rolls in a row; stable v0.0.1 (324f69a1)." | ||
next: "01:05Z 2026-11-22: decision 78 stands: no roll. Branches, all reviewed safe at these heads: health-pid 8e49c3a0 (hand cycle 47 of 47, stg-031952), bid-capacity 08ffeb14, ingress-rereg 60d0cdf8. Hand cycle of the combined tree stack4 7b0f1bc3 (old heads of the last two): 44 of 48 (stg-033371; FAIL 0007:upgrade, 0007:ingress, 0014:giveup, 0014:wait: all four from those two branches, each root-caused and corrected: Findings). Now: each corrected branch runs its own entry families with its own build on the held network (ends 03:06Z); only then a new combined tree and a full hand cycle that must pass whole (48 of 48); then one pull, a roll, then cli-help. 0 green rolls in a row; stable v0.0.1 (324f69a1)." | ||