Files
openwaf/scripts
Pavlo Ratushnyi 42d4af9a76 The gates were rehearsed on the runner's operating system, without a runner
Every green number this project has quoted was produced on darwin. The workflow
runs on ubuntu-latest. That is not a cosmetic difference: a gate that passes on
macOS and fails on Linux is a local habit wearing a gate's clothes, and the
first person to find out would be the first CI run — which, with no remote, is
still a run that has not happened.

`scripts/ci-linux-rehearsal.sh` copies the tree (no `.git`, no host build
output — Linux binaries landing in a macOS working tree make the next
`--no-build` try to exec an ELF file) and runs restore, build, unit, integration
and smoke inside `mcr.microsoft.com/dotnet/sdk:10.0`. Result, first try, nothing
to fix:

    Ubuntu 24.04.5 LTS, x86_64
    sdk resolving global.json: 10.0.401
    unit         Passed! 54/54
    integration  Passed! 28/28
    smoke        passed 19, failed 0

The SDK line answers a question the workflow would otherwise have asked in front
of an audience: `dotnet/global.json` pins `10.0.100` with
`rollForward: latestFeature`, and `setup-dotnet` with `10.0.x` installs
`10.0.401` — that combination resolves, measured rather than assumed.

What it does not cover, said plainly: `compose-smoke` needs a docker daemon
inside the container, and the console gate needs a real Chromium. Both of those
already drive a Linux image, so the un-rehearsed part there is the host-side
script, not the thing under test. The script installs `python3` in the container
because the dotnet SDK image has no python and `smoke.sh` uses
`python3 -m http.server` as the upstream it knows nothing about — the runner
image has python3, so this is a rehearsal detail, not a project dependency.

Nothing in the source tree changed: this commit adds the rehearsal script and
writes down what it proved. The honest status sentence is unchanged — no job of
this workflow has ever executed on a runner, because the repository has no
remote.
2026-10-01 15:09:31 +02:00
..