Repository navigation
fix(ci): delete the fictional E2E job, gate the rollup, end the vacuous E2E pass - #852
Merged
Merged
Conversation
…us E2E pass `End-to-End Tests` (e2e-tests) has never executed a test. The #842 startup-failure cure gave it its first real measurement in this repo's history and it died in 19s at `docker compose` with "no configuration file provided"; before that it read `skipped` on every run. It was fiction in four independent ways, each fatal on its own: 1. It ran `docker compose` in `working-directory: deploy`, which holds exactly two files — Containerfile and README.adoc. No compose file. The repo's only compose file, integration/compose.test.yaml, is not one of the four names compose auto-discovers, so it needs an explicit `-f` wherever it is run from. 2. It ran `docker compose up -d hypatia`. No compose file in this repo defines a `hypatia` service. 3. Its entire "E2E test suite" was `curl -sf localhost:8080/health`. The image it loads is built from deploy/Containerfile, which ends `ENTRYPOINT ["hyper"]` / `CMD ["--help"]` — a CLI. Nothing in it listens on any port, so that check could not have passed under any compose file. 8080 is separately barred by estate doctrine. 4. $ARANGO_ROOT_PASSWORD was never set, so the arangosh heredoc authenticated with an empty string. The real end-to-end suite already exists and already passes: tests/e2e.sh, run by `e2e-elixir`, whose own header reads "Tests the neurosymbolic scanner pipeline without docker-compose" — it scored PASS=9 FAIL=0 SKIP=0 on main @ e5220d8. `e2e-rust` separately builds the Rust CLI and runs `hyper scan` against a fixture repo. The deleted job duplicated their name and none of their coverage. Its only consumer anywhere was integration-status. build-images is not orphaned: integration-tests downloads and loads the same artifact. Two honesty defects fixed alongside, both on lines this change already had to rewrite: * integration-status could not fail on a missing verdict. It failed correctly on an explicit `failure`, but `skipped`, `cancelled` and an empty result all took the warning branch and let the tier report green. Under `if: always()` a skip is the normal shape of an upstream failure, so that was the path most likely to be taken. It now checks all three dependencies, fails on anything that is not `success`, prints its denominator, and fails on a zero denominator. Results reach the shell through `env:` rather than ${{ }} interpolation, per .claude/CLAUDE.md. * tests/e2e.sh ended `exit "$FAIL"`, so a run in which every scenario skipped — no Elixir, no Rust CLI, a renamed fixture — exited 0 and reported a clean end-to-end pass having tested nothing. It now prints "Scenarios run: N" and fails when N is 0. Verified empirically: the origin/main tail exits 0 with PASS=0 FAIL=0 SKIP=5. Verification: 15 assertions across two harnesses driving the shipped text verbatim (6 on the e2e.sh summary tail, 9 on the rollup, whose `run:` block contains zero ${{ }} and so extracts byte-identically). All green; the origin/main controls are killed by 6 and 6 respectively. actionlint 15 findings -> 6, none in the changed regions. 9 jobs parse. Closes #843 Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_0113HQM9LVGkNCzU1WwkJZSV
Contributor
|
Warning Review limit reachedNext included review available in 29 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Sep 22, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this fixes
End-to-End Tests(e2e-tests) has never executed a test. Curing the #842startup failure gave it its first real measurement in this repo's history, and it
died in 19s at
docker composewith "no configuration file provided". Beforethat it read
skippedon every run.The missing
-fwas the symptom. Measured, the job was fiction in fourindependent ways, each fatal on its own:
docker composewithworking-directory: deploydeploy/holds exactly two files:Containerfile,README.adoc. No compose file. The repo's only one,integration/compose.test.yaml, is not among the four names compose auto-discovers, so-fis mandatory wherever it runsdocker compose up -d hypatiahypatiaservicecurl -sf http://localhost:8080/health— the entire "E2E suite"deploy/ContainerfileendsENTRYPOINT ["hyper"]/CMD ["--help"]. It is a CLI. Nothing in it listens on any port, so this could not have passed under any compose file. 8080 is separately barred by estate network doctrinearangosh --server.password="$ARANGO_ROOT_PASSWORD"The real end-to-end suite already exists and already passes.
tests/e2e.sh,run by the
e2e-elixirjob, carries the header "Tests the neurosymbolic scannerpipeline without docker-compose" and scored PASS=9 FAIL=0 SKIP=0 on
main@
e5220d8.e2e-rustseparately builds the Rust CLI and runshyper scanagainst a fixture repo. The deleted job duplicated their name and none of their
coverage. Its only consumer anywhere was
integration-status.build-imagesis not orphaned by the deletion —integration-testsdownloads and loads the same
docker-imagesartifact.Re-framing the acceptance criteria
#843's ACs were written before the CLI-not-server fact was measured, and AC1
presupposes a stack that does not exist. Restating rather than silently
reinterpreting them:
docker composeresolves its config) — withdrawn. There is noservice to stand up. Naming the file with
-fwould have produced a stackwith no subject under test.
successnotskipped) — metby
e2e-elixir/e2e-rust, which execute today.Two honesty defects fixed alongside
Both sit on lines this change already had to rewrite.
integration-statuscould not fail on a missing verdict. It failed correctlyon an explicit
failure, butskipped,cancelledand an empty result all tookthe warning branch and let the tier report green. Under
if: always()a skip isthe normal shape of an upstream failure, so that was the likeliest path. It now
checks all three dependencies, fails on anything that is not
success, printsok=N failed=N total=N, and fails on a zero denominator. Results reach the shellthrough
env:instead of${{ }}interpolation, per.claude/CLAUDE.md.tests/e2e.shcould report a clean pass having tested nothing. It endedexit "$FAIL", so a run in which every scenario skipped — no Elixir, no RustCLI, a renamed fixture — exited 0. Proven empirically, not asserted: the
origin/maintail exits 0 withPASS=0 FAIL=0 SKIP=5. It now printsScenarios run: Nand fails when N is 0. SKIP deliberately does not counttoward N, because a skipped scenario produced no evidence either way.
Verification
15 assertions across two harnesses, driving the shipped text verbatim. The
rollup's
run:block contains zero${{ }}, soyqextracts itbyte-identically to what CI executes; the
e2e.shtail is sourced directly.origin/maincontroltests/e2e.shsummary + guardintegration-statusrollupfailure)⚠ The first control run reported main killed by 9. That was a harness artefact —
my substitution injected literal quote characters into
declare -A, so everyresult missed the
successbranch. Corrected; the table above is the honestmeasurement.
AC4 mutant, on the real suite. Broke the rule-module assertion
(
-gt 0→-gt 99999):It reddens on a test failure — the denominator stays 9, which a
stack-startup failure would have collapsed. (The local baseline is rc=2 because
mix deps.gethas not run here; CI is rc=0 / PASS=9. The delta is the proof.)Static:
actionlint15 findings → 6, none of the six in a changed region(lines 89, 514, 751, 761, 762 — all pre-existing). 9 jobs parse; the only
surviving reference to
e2e-testsis theREMOVED —comment, written in thefile's existing house style alongside the
haskell-integrationremoval.Closes #843
🤖 Generated with Claude Code
https://claude.ai/code/session_0113HQM9LVGkNCzU1WwkJZSV