70 console assertions now, and each number says where it was measured

Re-measured at 5c44b7c rather than carried forward from d871d57:

  host ci-gates.sh all      unit 132/132, integration 173/173, smoke 28/0,
                            image 261 MB, compose 113/0
  host console              70 ok, 0 failed
  Linux rehearsal (all)     source PASS, compose 113/0 at 18 ms, console 70/0
  act                       5 jobs succeeded, 0 failed; console 70;
                            console-evidence.zip 692,364 bytes

The console count moved 69 -> 70 by one check: the driver now fails when the
markup seed never reached it instead of stepping around four assertions and
printing "all assertions passed".

The flake sentence is attributed to the commit it happened at, not to whichever
head this file happens to describe: it was one Linux run at d871d57, and the
three Linux compose runs since — including this one — were 113/0.
This commit is contained in:
Pavlo Ratushnyi
2026-10-02 19:50:48 +02:00
parent 5c44b7c742
commit 7faf37a246
2 changed files with 21 additions and 16 deletions
+4 -4
View File
@@ -28,16 +28,16 @@
# integration 173/173, smoke 28/28, first try (at d871d57). Compose gate in docker:cli against
# the host daemon: 113/113 on Linux. Console gate in
# mcr.microsoft.com/playwright:v1.63.0-noble - the stack seeded by docker:cli,
# the same console-check.cjs driving it in a real Linux Chromium: 69/69. The
# the same console-check.cjs driving it in a real Linux Chromium: 70/70. The
# only wall clock ever measured for the source job is 1:02.81 cold (first
# rehearsal); later rehearsals were not re-timed, so that number is quoted as
# measured once, not as current. So every gate this file runs has a Linux
# number. What it does not have is a runner: the repository has no remote, so
# this file has never executed on GitHub. It has been executed by a local
# Actions-compatible runner (nektos/act 0.2.89, catthehacker/ubuntu:act-latest)
# at d871d57: 5 jobs succeeded, 0 failed - lint, source (132/132, 173/173, smoke
# 28/0), image (261 MB, compose smoke 113/0), console (69 assertions, screenshot
# artifact, 691,696-byte zip) and freshness (pin 2026-10 = newest 2026-10).
# at 5c44b7c: 5 jobs succeeded, 0 failed - lint, source (132/132, 173/173, smoke
# 28/0), image (261 MB, compose smoke 113/0), console (70 assertions, screenshot
# artifact, 692,364-byte zip) and freshness (pin 2026-10 = newest 2026-10).
name: ci
+17 -12
View File
@@ -734,11 +734,11 @@ 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 `d871d57`, each stage run on its own, so
Rehearsed 2026-10-02, most recently at `5c44b7c`, 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 `d871d57`
commit several fixes behind it. The same suite on the macOS host at `5c44b7c`
gives the same counts: unit **132/132**, integration **173/173**, smoke **passed
28, failed 0**, compose **113 passed, 0 failed**, console **69 assertions, 0
28, failed 0**, compose **113 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
@@ -757,13 +757,14 @@ redirect target an edge cannot send was refused by the 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
`7e081da`, 12 ms at `7b57c56`, 14 ms at `1bcc086`, 12 ms at `336c2f7`, 13 ms at `dcf8a73`, 11 ms at `ac672d9`, 17 ms at `17b764e`, 12 ms at `cfe47d1`, 30 ms at
`b75888f`, 56 ms at `24e329d`, 29 ms at `d871d57`. One Linux run of this same head
`b75888f`, 56 ms at `24e329d`, 29 ms at `d871d57`, 18 ms at `5c44b7c`. One Linux run at `d871d57`
answered **112 passed, 1 failed** — the geo-restore assertion got `000`, which the gate
prints for a request that blew its 10 s budget, for a container that had exited and for
any other curl error, all as the same three characters — and the run after it was 113/0.
any other curl error, all as the same three characters — and the run after it was 113/0; the Linux run at `5c44b7c` was 113/0 as
well, so it has not reproduced in the three runs since.
Filed as OPEN-39 rather than smoothed over: a gate that fails once for an unexplained
reason makes the next real regression indistinguishable from it. Console gate on Linux:
**69 assertions, 0 failed** — described below, 0 containers left behind. `scripts/geo-db-freshness.sh` was run
**70 assertions, 0 failed** — described below, 0 containers left behind. `scripts/geo-db-freshness.sh` was run
in `mcr.microsoft.com/dotnet/sdk:10.0` too: current pin answers 0, and a forced
`PIN=2026-05` answers 1 with the bump command, so the gate that decides whether
the geo database is current behaves the same on the runner's OS.
@@ -784,9 +785,13 @@ and the stack is torn down afterwards. That image ships the browsers but not the
npm package, so the script installs `playwright-core` into `/tmp` and points
`PLAYWRIGHT_CORE` at it, mounting the repository read-only so the install never
lands in the working tree. Rehearsed the same day on Linux 7.0.12-linuxkit
aarch64, node v24.20.0, `chromium-1243`: **69 assertions, 0 failed**, including
aarch64, node v24.20.0, `chromium-1243`: **70 assertions, 0 failed**, including
the round-trip the page alone cannot fake — a ban drawn on the page answers 301
on the next request from that address. All three scenes in one cold run:
on the next request from that address. The driver also refuses to report success when
the markup seed never reached it: unsetting SEED_MARKUP_PATH and SEED_MARKUP_BLOCK used
to drop four assertions to 65 ok / 0 failed and still print "all assertions passed"; the
same run now exits 1 naming both empty values, and the Linux rehearsal refuses the stage
outright. All three scenes in one cold run:
**2:14.33** (measured at that earlier commit; the stage has not been re-timed
since).
@@ -802,12 +807,12 @@ the stage re-run after it leaves 0 containers.
Honest status of the workflow itself: it has never executed on a GitHub-hosted
runner, because the repository has no remote. It *has* been executed start to
finish by a local Actions-compatible runner — `nektos/act` 0.2.89 on
`catthehacker/ubuntu:act-latest`, most recently at `d871d57` — 5 jobs
`catthehacker/ubuntu:act-latest`, most recently at `5c44b7c` — 5 jobs
succeeded, 0 failed: `lint` (both pinned tools download, verify their checksums
and find nothing), `source` (unit 132/132, integration 173/173, smoke 28/28),
`image` (`openwaf:ci` 261 MB, compose smoke 113 passed / 0 failed), `console`
(69 assertions / 0 failed with `playwright@1.63.0` and `chromium-1243`,
screenshot artifact published, 691,696-byte zip) and the `freshness` job (pin
(70 assertions / 0 failed with `playwright@1.63.0` and `chromium-1243`,
screenshot artifact published, 692,364-byte zip) and the `freshness` job (pin
2026-10 = newest 2026-10). That is a stronger claim than
"the steps were run by hand", and a weaker one than "CI is green": it proves the
YAML executes and the pinned tools resolve, not that GitHub's image agrees. The
@@ -853,7 +858,7 @@ dotnet/
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 113 assertions against the built image (compose + nginx)
scripts/console-check.cjs 69 assertions against the page, in a real Chromium
scripts/console-check.cjs 70 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