diff --git a/README.md b/README.md index 7617ad9..93870cf 100644 --- a/README.md +++ b/README.md @@ -444,6 +444,43 @@ made the loser of a race the API itself started look like a caller who sent a ba request, which is what a double-click on "block" in the console is. The write retries against the winner's row. +That was measured on two images of one stand; the gate had never asked the same +question of the ship shape. It now does — 22 assertions of it, triggered with +SQLite `BEFORE INSERT/UPDATE/DELETE` triggers rather than a dropped table. A +dropped table breaks the listing too, and a listing that answers 500 is honest +about being broken; the lie this scene is after is the 2xx that still looks +complete, so the trigger has to leave reads working. It also has to cover +`DELETE`: measured on the first run of this scene, an `INSERT`/`UPDATE` pair left +the delete path untouched, so the two blocks really were deleted, the answer +really was 200, and the scene was asserting a failure that had not been produced +(**195 passed, 6 failed**, `/tmp/c26_compose1.log`). + +The teeth, measured on this tree rather than quoted from the ticket: + +| what was put back | in-process | on the shipped image | +|---|---|---| +| a failed `DELETE` answering `{"deleted":0}` again | 2 of 7 fail | **204 passed, 3 failed** (`/tmp/c26_mutM1_compose.log`) | +| `/readyz` trusting `CanConnectAsync` again | 1 of 7 fails | **208 passed, 1 failed** (`/tmp/c26_mutM2b_compose.log`) | +| the console swallowing an empty 5xx again | — | **72 ok, 3 failed** (`/tmp/c26_mutM3_console2.log`) | + +The second row is the one worth keeping. The scene already asserted *readiness +stops saying ready when the block table is not there* → 503, and it still +answered **207 passed, 0 failed** with `/readyz` put back to `CanConnectAsync` +(`/tmp/c26_mutM2_compose.log`): renaming the table breaks the snapshot build as +well, so the snapshot guard refused for its own reason under the same 503. A +status code two different guards can produce proves nothing about either of +them. The scene now reads the body — the block-table read answers with the +storage error alone, the pillar answers with "the guard's snapshot has not +refreshed" — and only then does that assertion have teeth. + +The console half is the sentence the page says when the edge says nothing. An +empty 5xx used to make `r.json()` throw, the caller's catch claim that `note()` +had already explained, and the status line go quiet exactly when the edge had +the worst news to report. Five assertions cover it now, one of them recording +every sentence the status line wears during the click — because the regression +writes `ok: deleted ? block(s)` and loses it under `refreshed` before a single +after-the-fact read could see it. + A pillar that stopped reading its table kept answering as though nothing had changed, and nothing on the surface said otherwise. Measured on the shipped image: `PUT /policy {"streakThreshold":2,"trustProxyHeaders":true}` answered 200, @@ -754,12 +791,33 @@ macOS working tree make the next `--no-build` try to exec an ELF file — inside `mcr.microsoft.com/dotnet/sdk:10.0`. The compose gate runs in `docker:cli` against the host daemon, so the image build and the stack are Linux. -Rehearsed 2026-10-02, most recently at `dc88f36`, each stage run on its own, so -the numbers below describe the tree at the head of this file rather than a -commit several fixes behind it. The same suite on the macOS host at `dc88f36` -gives the same counts: unit **132/132**, integration **173/173**, smoke **passed -28, failed 0**, compose **185 passed, 0 failed**, console **70 assertions, 0 -failed**, image 261 MB, 0 containers left behind. Source gates: Ubuntu +Rehearsed 2026-10-02, most recently at `dc88f36`, each stage run on its own. + +On the head of this file the host suite has been re-run and the container stages +have not, so the two sets of numbers are labelled separately rather than merged +into one green line. macOS host, this tree: build 0 warnings / 0 errors, unit +**132/132**, integration **173/173**, smoke **passed 28, failed 0**, compose **209 +passed, 0 failed**, console **75 assertions, 0 failed**, image 261 MB, 0 +containers left behind, enforcement lag 33 ms (`/tmp/c26_build.log`, +`/tmp/c26_unit.log`, `/tmp/c26_int4.log`, `/tmp/c26_smoke.log`, +`/tmp/c26_compose5.log`, `/tmp/c26_console4.log`). The integration count says +how it was scheduled, because that changed the answer: the suite as xUnit runs +it — parallel test collections — answered **157 passed, 16 failed**, every one +of them `Timed out waiting for the entry point to build the IHost after +00:05:00` (`/tmp/c26_int3.log`), and with `xunit.parallelizeTestCollections=false` +the same tree answered **173/173 in 23 s** (`/tmp/c26_int4.log`). Earlier in the +same cycle two overlapping runs of the suite produced the older OPEN-47 symptom +on `PillarFailureVisibilityTests.The_snapshot_age_is_measured_against_the_ttl_it_is_supposed_to_respect` +— a real `Assert.False`, not a timeout — while that test passed on its own. The +suite is not the only measurement in this project whose value depends on what +else was running. The Linux rehearsal and the +`act` run below still describe `dc88f36` — compose **185**, console **70** — +because neither stage has been run since the two scenes in this cycle were +added, and quoting them for this tree would be a number the tree does not +produce. The same suite on the macOS host at `dc88f36` gave unit **132/132**, +integration **173/173**, smoke **passed 28, failed 0**, compose **185 passed, +0 failed**, console **70 assertions, 0 failed**, image 261 MB, 0 containers +left behind. Source gates: Ubuntu 24.04.5, SDK **10.0.401** resolving `dotnet/global.json` (pinned `10.0.100`, `rollForward: latestFeature` — which is also the answer to whether `setup-dotnet` with `10.0.x` satisfies the pin), unit **132/132**, integration @@ -776,8 +834,9 @@ source filter, 100 before the policy bounds were driven from the image, 107 befo redirect target an edge cannot send was refused by the image, 113 before the provenance a caller mistyped and the bounds an entry has were refused by the image, 132 before the image said which part of a listing it is and how far it reached, -165 before the image refused a country code that is not a code, and 184 before the -ban scene stopped reading the pillar at one instant), +165 before the image refused a country code that is not a code, 184 before the +ban scene stopped reading the pillar at one instant, and 185 before an operator +command that could not run was asked of the shipped image), enforcement lag 0 ms, 12 ms and 36 ms in three runs, 12 ms at `a77ab53`, 13 ms at `6e6461a`, 11 ms at `c97c7a1`, 12 ms at @@ -908,8 +967,8 @@ dotnet/ OpenWaf.Tests.Unit/ 132 tests over the decision logic and the durability counters OpenWaf.Tests.Integration/ 173 tests driving the real pipeline against a fake upstream scripts/smoke.sh 28 assertions against a running edge + a real upstream -scripts/compose-smoke.sh 185 assertions against the built image (compose + nginx) -scripts/console-check.cjs 70 assertions against the page, in a real Chromium +scripts/compose-smoke.sh 209 assertions against the built image (compose + nginx) +scripts/console-check.cjs 75 assertions against the page, in a real Chromium scripts/geo-db-freshness.sh the pinned geo database vs the vendor (0/1/2) .github/workflows/ci.yml runs the gates on every push .github/workflows/geo-freshness.yml the same check on a schedule