From 96b1bf1e7ed36d8c5dedff2616350b27c3fa245c Mon Sep 17 00:00:00 2001 From: Pavlo Ratushnyi Date: Mon, 5 Oct 2026 22:24:39 +0200 Subject: [PATCH] the runner's own record: four jobs green at 992a7b7, and what each earlier run cost to find MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Run 2376 is the first run of this workflow that ended green end to end: lint (actionlint 1.7.12, shellcheck 0.11.0), source (unit 378/378, integration 405/405, smoke 256/0), image (openwaf:ci 258 MB, compose smoke 348/0) and console (164 assertions, 0 failed). The run-by-run table is the record of how the three platform causes were found — no docker CLI in the job image, a job workspace the host daemon cannot see, and an artifact action the runner refuses — and of the one that was in the workflow itself: two steps written as `run:` with no `|`, folded by YAML into a single line, so the upstream-config volume stayed empty, Docker initialised it from the image, /boom answered 404 instead of 502, and the 502 scene banned its own source before its first assertion. Ten red assertions across two jobs, one folded line. --- README.md | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4fafb2e..93c767a 100644 --- a/README.md +++ b/README.md @@ -1969,7 +1969,9 @@ 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 +runner. The repository does have a remote — `git@vezha.io:para/openwaf.git`, a +Gitea 1.27.3 instance whose Actions runner executes this file — so the claim +that matters is about *that* runner, and it is recorded run by run below. 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 `dc88f36` — 5 jobs succeeded, 0 failed: `lint` (both pinned tools download, verify their checksums @@ -1993,6 +1995,42 @@ because ubuntu-latest ships shellcheck **0.9.0-1** while developers run (SC2015). Both halves are fixed: the script is an explicit `if`, and the version is pinned with a checksum in the workflow. +### What the runner actually did, run by run + +The remote is Gitea, not GitHub, and the runner is one shared machine that also +serves other repositories — so a job here queues behind a job there, and the +platform is not GitHub's `ubuntu-latest`. Every claim below is a job log, with +the run number to read it at. + +| run | head | what it said | +|---|---|---| +| 2316 | `6f92d37` | first execution ever. `lint` red on two SC2086 findings in `scripts/smoke.sh`; `source` green (unit 377/377, integration 394/394, smoke 243/0); `image` and `console` died on `docker: command not found` — the job image ships no docker CLI even though `/var/run/docker.sock` is mounted from the host | +| 2344–2346 | `4e303cd`, `1ada354` | the CLI, compose plugin and buildx are installed by the job. `image` then died on `not a directory: Are you trying to mount a directory onto a file`: the job's workspace is a **named volume** the host daemon cannot see, so a relative bind mount in `docker-compose.yml` is resolved on the host, where that path does not exist | +| 2350 | `b402ec4` | `docker-compose.ci.yml` carries the nginx config through a named volume instead. The edge reached `healthy` and the gate's first admin call died with curl exit 7 — compose publishes the ports in the **host's** namespace, and the job has its own | +| 2355, 2361 | `fb491a4`, `223b8d6` | the job reads its default-route gateway out of `/proc/net/route` (`ip` is not in the image). 2361: `lint` green, `source` red on one integration race, `image` 342/6, `console` 4 failures | +| 2365 | `63cc575` | `lint` green, `image` **348/0**, `console` down to one failure, `source` still one race | +| 2370 | `36d9338` | `lint`, `source` (378/378, 405/405, 256/0) and `image` (348/0) green; `console` printed `console check: all assertions passed` and the job went red on `actions/upload-artifact@v4` — not supported by this runner | +| **2376** | `992a7b7` | **all four jobs green**: `lint` (actionlint 1.7.12, shellcheck 0.11.0), `source` (unit **378/378**, integration **405/405**, smoke **256/0**), `image` (`openwaf:ci` 258 MB, compose smoke **348/0**), `console` (**164 assertions, 0 failed**, screenshots 375,961 and 405,773 bytes named with their sha256 in the log) | + +The ten red assertions 2361 reported across `image` and `console` were one +cause, and it was in the workflow rather than in the product: the two "put the +upstream config where the daemon can see it" steps were written as `run:` with no +`|`, so YAML folded the whole block into **one line**, `set -eu VOL=… docker +volume create …` set positional parameters instead of running anything, the named +volume stayed empty — and Docker initialised it from the image. The upstream +therefore ran nginx's stock default, `/boom` answered 404 instead of 502, and the +502 scene banned its own source at a threshold of 3 before its first assertion. +Every failure downstream was that ban being read back. Making the steps block +scalars turned `image` from 342/6 to 348/0 and `console` from 4 failures to 1, +with no product change at all. + +The last three causes were the platform's, and each is now written into the file +rather than remembered: the missing docker CLI, the workspace the daemon cannot +see, and an artifact action the runner refuses. What is left is the suite's own +races (OPEN-76, OPEN-47), which are the difference between a gate and a habit — +2361's single integration failure was one of them, and it withheld every item in +the merge queue exactly as those items say it would. + ## What this deliberately costs Stated, because a defence that hides its failure modes is not a defence.