Registry Mirror
Skip to content

Conversation

@genwave-radio

Copy link
Copy Markdown
Collaborator

Fixes the nightly integration job, red since 09-18. Both failure families trace to one commit — ca6d432 "test(specs): T507 delete obsolete and gate facts…" (gh-#777) — which landed after the last green nightly. Root-cause detail is in gh-#817.

🗣 espeak-ng — 3 facts

T507 was clearing gate:-prefixed skips. Story324's was a dynamic one: a cached PATH probe plus a RequiresRealEspeakNgAttribute that set the reason at runtime. Removing it turned ScenarioTheRealBinaryAgreesWithTheContract into plain Category=Integration facts — but nightly.yml's integration job is a bare ubuntu-latest whose only tool install was ffmpeg, so DeriveAsync returned null and the facts went red.

Installing it beats re-skipping it: the api image vendors espeak-ng, and the lane meant to prove the real binary should have the real binary. (A restored probe would also need a new prefix — T506/T507's law now admits only pending: and manual:.)

The composite action is generalised, not duplicated. gh-#588 extracted that hardened apt retry loop specifically so there'd be one copy of it; growing a second for espeak-ng would undo that. It takes a packages input now and moves to .github/actions/install-apt-packages so the path stops claiming ffmpeg-only. All six call sites pass their own list:

Workflow Job packages
ci.yml build-test ffmpeg
release.yml gate ffmpeg
release.yml stack gate ffmpeg
publish-nuget.yml publish ffmpeg
nightly.yml integration ffmpeg espeak-ng
nightly.yml chaos ffmpeg

🎛 liquidsoap — 1 fact

The failure message reads liquidsoap --check failed (exit 0). Exit 0 — the type check passed. The assertion also demands empty stderr, and it was reading docker's stderr, which carries image-pull progress on a cold runner. The F37.1 convention it cites is about liquidsoap's silence, not docker's.

Pull in its own step, then --pull=never on the checked run so the measured streams are liquidsoap's alone. A failed pull throws rather than asserting — it's an environment problem, and reporting it as a liquidsoap type error sends the next reader down the wrong path.

✅ Verified

  • dotnet build GenWave.sln -c Release -warnaserror → 0 warnings, 0 errors.
  • espeak-ng resolves on ubuntu:24.04, and the oracle's exact argv — espeak-ng -q --ipa -v en-us -- "muh-KLOWD" — returns mˈʌklˈoʊd: non-null and non-empty, which is what the three facts assert.
  • TheScriptTypechecksOnPinnedLiquidsoap green both warm and with savonet/liquidsoap:v2.4.4 removed first — the exact CI condition.
  • Every workflow still parses, every uses: resolves to a real action, and every with: key matches the declared input.

⚠️ Worth a second pair of eyes

release.yml and publish-nuget.yml call sites change too, and this PR's own CI only exercises the ci.yml one. The failure mode is loud (an unresolvable uses: fails the step immediately, it can't silently misbehave), but those two paths stay unproven until the next tag.

Closes #817

T507 (ca6d432) deleted Story324's dynamic skip — a cached PATH probe plus a
RequiresRealEspeakNgAttribute whose reason string carried the `gate:` prefix
T507 was clearing out. The three ScenarioTheRealBinaryAgreesWithTheContract
facts became plain Category=Integration and have been red on every nightly
since: nightly.yml's integration job runs on a bare ubuntu-latest and its only
tool install was ffmpeg, so espeak-ng was never there and DeriveAsync returned
null.

Install it instead of skipping it — the api image vendors espeak-ng, so the
lane that is meant to prove the real binary should actually have the real
binary. (A restored probe would also need a new prefix: T506/T507's law now
admits only `pending:` and `manual:`.)

The retry loop those installs share was extracted to a composite action by
gh-#588 precisely so there would be one copy; generalise it past ffmpeg rather
than grow a second. It takes a `packages` input now and is renamed to
install-apt-packages so the path stops claiming otherwise. All six call sites
(ci, release x2, publish-nuget, nightly x2) pass their own package list.

Verified: `espeak-ng` resolves on ubuntu:24.04 and the oracle's exact argv
(espeak-ng -q --ipa -v en-us -- "muh-KLOWD") returns mˈʌklˈoʊd, which is
non-null and non-empty as the facts assert. Every workflow still parses and
every `with:` key matches the action's declared input.
)

TheScriptTypechecksOnPinnedLiquidsoap reported `liquidsoap --check failed
(exit 0)` on the last two nightlies. Exit 0 — the type check passed. The
assertion also requires stderr to be empty, and it was reading the stderr of
`docker run`, which writes its own image-pull progress there ("Unable to find
image 'savonet/liquidsoap:v2.4.4' locally …") on a runner with a cold cache.
The F37.1 convention it cites is about liquidsoap's silence, not docker's.

Pull in a separate step, then run with --pull=never so the checked run's
streams carry nothing but liquidsoap's own output. A failed pull throws rather
than asserting: it is an environment problem, and reporting it as a liquidsoap
type error sends the next reader down the wrong path.

Verified locally both ways — warm cache, and with the image removed first
(the exact CI condition): green in both.
@genwave-radio
genwave-radio merged commit 11fb9d0 into main Sep 19, 2026
11 checks passed
@genwave-radio
genwave-radio deleted the ci/nightly-red-817 branch September 19, 2026 17:36
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nightly red since 2026-09-18

1 participant