Skip to content

ci(test): fail the Linux leg when a real-server package is missing - #44

Merged
haiquang9994 merged 3 commits into
masterfrom
fix/r4-a-missing-package-fails-the-leg
Aug 28, 2026
Merged

ci(test): fail the Linux leg when a real-server package is missing#44
haiquang9994 merged 3 commits into
masterfrom
fix/r4-a-missing-package-fails-the-leg

Conversation

@haiquang9994

Copy link
Copy Markdown
Collaborator

Every real-server suite in .github/scripts/test-no-network.sh is #[ignore]d, so one that does not
run is reported by nobody: the ten ::warning branches left the job green over no tests at all.
Review finding R4.

They now call one missing helper that prints ::error and exits 1, and warns only when
MIXENGINE_ALLOW_MISSING_PACKAGES=1 is set — a variable somebody has to type, which is the
difference between an exception and a default. It is documented beside the other knobs in
build-and-release.md, and nothing in CI sets it.

The consequence as the finding stated it does not hold today, and the review entry says so. A
mirror that is down never reaches these branches: every fetch step runs set -euo pipefail with
curl --fail --retry 3, so a failed download fails that step and the job stops before this script
runs — and Linux-X64, the only architecture this leg uses, has a published archive for all nine
packages. What this buys is a contract enforced by the thing that holds it, for two live cases: a
fetch step that learns to skip on Linux (three already do exactly that on Windows-ARM) and a
developer running the script by hand.

Left alone deliberately, and argued in the review entry: ci.yml's nginx step carries
if: … && env.MIXENGINE_NGINX_PACKAGE != '', the same shape in the workflow, serving a
Windows-on-ARM leg that does not exist yet.

CI run 33182744999 is green. bench (ubuntu-latest) took three attempts, which is the documented
bimodal warm-start measurement and not this branch: medians 14901, 10343, 9071 ms on the same
commit, against a master control run at 5984 ms that contained an 18695 ms round of its own. This
branch changes one shell script the bench job does not run and one markdown file.

Every real-server suite in this script is #[ignore]d, so one that does not run
is reported by nobody: a warning left the job green over no tests at all.

MIXENGINE_ALLOW_MISSING_PACKAGES=1 is the escape hatch for running the script
by hand without the archives — a variable somebody has to type, which is the
difference between an exception and a default.
@haiquang9994
haiquang9994 merged commit da8c02c into master Aug 28, 2026
@haiquang9994
haiquang9994 deleted the fix/r4-a-missing-package-fails-the-leg branch August 28, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant