The honest-status comments now say what actually ran, and at what level

Three files said "this has never run". After executing the workflows with
nektos/act 0.2.89 on catthehacker/ubuntu:act-latest, that sentence was too
broad, and a status note that is too broad is the same mistake as one that is
too narrow. What is true, per file:

- ci.yml: all four jobs executed start to finish and reported success —
  lint (actionlint 1.7.12 and shellcheck 0.11.0 both download, verify their
  sha256 and find nothing), source (unit 59/59, integration 34/34, smoke 19/19),
  image (openwaf:ci 261 MB, compose smoke 43 passed / 0 failed), console (33
  assertions / 0 failed with playwright@1.63.0 and chromium-1243; the screenshot
  step published console-evidence.png 335998 B and console-evidence.phone.png
  264597 B).
- geo-freshness.yml: the job executed ("pin 2026-10 / newest 2026-10 / the pin
  is current", exit 0). The schedule has still never fired, and that is the part
  the file is for.
- README: the same numbers, plus the point the run bought — ubuntu-latest ships
  shellcheck 0.9.0-1, developers run 0.11.0, and the two disagree about one line
  of scripts/geo-db-bump.sh. Fixed in the previous commit.

The distinction each file keeps saying out loud: a local Actions-compatible
runner proves the YAML plays and the pinned tools resolve. It does not prove a
GitHub-hosted run is green, and the repository still has no remote.
This commit is contained in:
Pavlo Ratushnyi
2026-10-01 22:16:56 +02:00
parent a48ebd650d
commit bef197ec83
3 changed files with 48 additions and 22 deletions
+24 -14
View File
@@ -2,13 +2,19 @@
# chose to run them. Four mergeEvidence fields on that epic say "no CI pipeline
# exists yet — every gate quoted above was run locally"; this closes that.
#
# Honest status of this file itself: the workflow has never executed on a
# runner, because the repository has no remote yet. Do not read this file as
# proof that CI is green — it is proof of what CI will run. What narrowed the
# gap between those two sentences is that the steps below no longer retype the
# commands: they call scripts/ci-gates.sh, the same file an operator runs as
# `scripts/ci-gates.sh all` before pushing. One definition of a gate, two
# callers, so a local green run and a CI green run cannot drift apart.
# Honest status of this file itself: it has never executed on a GitHub-hosted
# runner, because the repository has no remote yet. It has executed start to
# finish in a local Actions-compatible runner (nektos/act 0.2.89, image
# catthehacker/ubuntu:act-latest): all four jobs below reported success, which
# proves the YAML plays and the pinned tools resolve — and it is how the lint
# job's shellcheck version drift was found (ubuntu-latest ships 0.9.0-1, the
# pinned step now runs 0.11.0 with a checksum). Do not read this file as proof
# that CI on GitHub is green: it is proof of what CI will run, executed once by
# something other than an agent who chose the steps. What narrowed the gap
# further is that the steps below no longer retype the commands: they call
# scripts/ci-gates.sh, the same file an operator runs as `scripts/ci-gates.sh
# all` before pushing. One definition of a gate, two callers, so a local green
# run and a CI green run cannot drift apart.
#
# Timeouts are explicit. The first build of this project stalled ~12 minutes on
# a single apt-get step; a hung job is worse than a failed one.
@@ -146,13 +152,17 @@ jobs:
# the inline script, a fetch that 401s, a table that renders nothing while the
# summary looks fine. This drives it in a real Chromium.
#
# Honest status: this job has never run on a runner, like the rest of the
# file. What was verified is the gate it calls — scripts/ci-gates.sh console
# passed locally (33 assertions, playwright-core 1.63.0 — the version pinned
# right above, and rehearsed on Linux in the Playwright image), and its
# control (a wrong token) exits 1 rather than reporting success. The step
# calls the gate by name rather than retyping the script, so the CI definition
# and the operator command cannot drift.
# Honest status: this job has never run on a GitHub-hosted runner. It has run
# in a local Actions-compatible runner (act, catthehacker/ubuntu:act-latest):
# the pinned playwright@1.63.0 installed, chromium-1243 downloaded, the gate
# reported 33 assertions / 0 failed, and the screenshot step published the
# artifact (console-evidence.png 335998 bytes, console-evidence.phone.png
# 264597 bytes). Locally the same gate passes with playwright-core 1.62.1 when
# that is the browser the machine already holds — the version the log names is
# the version that ran. Its control (a missing playwright-core) exits 2, and a
# wrong token exits 1, rather than reporting success. The step calls the gate
# by name rather than retyping the script, so the CI definition and the
# operator command cannot drift.
console:
name: the operator page in a real browser
runs-on: ubuntu-latest
+8 -5
View File
@@ -13,11 +13,14 @@
# deployment keeps the old database until its named volume is removed, which is
# exactly the thing a green PR would hide.
#
# Honest status, same as every other file in this directory: it has never run,
# because the repository has no remote. One more thing worth knowing about
# GitHub rather than about this project: schedules are disabled on a repository
# with no push for 60 days, so a cron is a nudge with a failure mode, not a
# guarantee.
# Honest status, same as every other file in this directory: it has never run on
# a GitHub-hosted runner, because the repository has no remote, and the schedule
# has never fired. The job itself has run — as a job, in a local
# Actions-compatible runner (act, catthehacker/ubuntu:act-latest): checkout, then
# "pin 2026-10 / newest 2026-10 / the pin is current", exit 0. So the step plays;
# what remains unproven is the trigger. One more thing worth knowing about GitHub
# rather than about this project: schedules are disabled on a repository with no
# push for 60 days, so a cron is a nudge with a failure mode, not a guarantee.
name: geo-freshness
+16 -3
View File
@@ -370,9 +370,22 @@ on the next request from that address. All three scenes in one cold run:
**2:14.33**.
Honest status of the workflow itself: it has never executed on a runner, because
the repository has no remote. Everything above was run on a laptop, on the
commit that claims it.
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` — and every job reported success: `lint` (both
pinned tools download, verify their checksums and find nothing), `source` (unit
59/59, integration 34/34, smoke 19/19), `image` (`openwaf:ci` 261 MB, compose
smoke 43 passed / 0 failed), `console` (33 assertions / 0 failed with
`playwright@1.63.0` and `chromium-1243`, screenshot artifact published) 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
gap is not hypothetical — running the file that way is what turned `lint` red,
because ubuntu-latest ships shellcheck **0.9.0-1** while developers run
**0.11.0**, and the two disagree about one line of `scripts/geo-db-bump.sh`
(SC2015). Both halves are fixed: the script is an explicit `if`, and the version
is pinned with a checksum in the workflow.
## What this deliberately costs