113 compose assertions now, and the measured numbers describe the tree that has them

Every gate was re-run at d871d57 rather than carried forward from 24e329d: the
host gives unit 132/132, integration 173/173, smoke 28/0, image 261 MB, compose
113/0 and console 69/0; the Linux rehearsal gives the same source counts, compose
113/0 and console 69/0; the local Actions runner gives 5 jobs succeeded, 0 failed
with compose smoke 113/0 and a 691,696-byte console artifact.

One Linux run of this same head answered 112 passed, 1 failed: the geo-restore
assertion got 000. The run after it was 113/0. That is recorded here instead of
quietly re-run until green, because the gate prints 000 for a stalled request, an
exited container and every other curl error as the same three characters, so a
reader cannot tell which of the three happened. Filed as OPEN-39.
This commit is contained in:
Pavlo Ratushnyi
2026-10-02 19:06:16 +02:00
parent d871d5791b
commit 5add3be06b
2 changed files with 22 additions and 16 deletions
+5 -5
View File
@@ -25,8 +25,8 @@
# scripts/ci-linux-rehearsal.sh runs the gates in containers. Source gates
# (restore, build, unit, integration, smoke) in mcr.microsoft.com/dotnet/sdk:10.0
# - Ubuntu 24.04.5, SDK 10.0.401 resolving the pinned global.json: unit 132/132,
# integration 173/173, smoke 28/28, first try (at 24e329d). Compose gate in docker:cli against
# the host daemon: 107/107 on Linux. Console gate in
# 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
# only wall clock ever measured for the source job is 1:02.81 cold (first
@@ -35,9 +35,9 @@
# 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 24e329d: 5 jobs succeeded, 0 failed - lint, source (132/132, 173/173, smoke
# 28/0), image (261 MB, compose smoke 107/0), console (69 assertions, screenshot
# artifact, 673,166-byte zip) and freshness (pin 2026-10 = newest 2026-10).
# 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).
name: ci
+17 -11
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 `24e329d`, each stage run on its own, so
Rehearsed 2026-10-02, most recently at `d871d57`, 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 `24e329d`
commit several fixes behind it. The same suite on the macOS host at `d871d57`
gives the same counts: unit **132/132**, integration **173/173**, smoke **passed
28, failed 0**, compose **107 passed, 0 failed**, console **69 assertions, 0
28, failed 0**, compose **113 passed, 0 failed**, console **69 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
@@ -747,17 +747,23 @@ failed**, image 261 MB, 0 containers left behind. Source gates: Ubuntu
rehearsal of this pipeline timed a cold container and a cold NuGet cache at
**1:02.81**; the runs after it were not re-timed, so that is the only wall clock
measured here, and the source job's 25-minute timeout is not close either way.
Compose gate on Linux: **107 passed, 0 failed** (27 before the geo-pin and
Compose gate on Linux: **113 passed, 0 failed** (27 before the geo-pin and
alerting assertions, 41 before the alert-edge ones, 47 before the pillar-health
ones, 53 before the write-health ones, 63 before the ban-write ones, 72 before
the scenes were made non-vacuous, 74 before the query surface was refused rather
than dropped, 81 before the retry loop, 86 before the write-endpoint guard, 94 before the streak map learned the
source filter, 100 before the policy bounds were driven from the image), enforcement
source filter, 100 before the policy bounds were driven from the image, 107 before the
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`. Console gate on Linux: **69
assertions, 0 failed** — described below, 0 containers left behind. `scripts/geo-db-freshness.sh` was run
`b75888f`, 56 ms at `24e329d`, 29 ms at `d871d57`. One Linux run of this same head
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.
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
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.
@@ -796,12 +802,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 `24e329d` — 5 jobs
`catthehacker/ubuntu:act-latest`, most recently at `d871d57` — 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 107 passed / 0 failed), `console`
`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, 673,166-byte zip) and the `freshness` job (pin
screenshot artifact published, 691,696-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
@@ -846,7 +852,7 @@ 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 107 assertions against the built image (compose + nginx)
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/geo-db-freshness.sh the pinned geo database vs the vendor (0/1/2)
.github/workflows/ci.yml runs the gates on every push