Repository navigation
fix(ci): revive four startup-dead workflows — codeql-action v4.38.0 + actions.lock repair - #842
Merged
Merged
Conversation
PR #830 (grouped dependabot actions bump) moved github/codeql-action from b96794f (v4.38.0) to 1c5b675 (v4.38.1) across codeql.yml and security-policy.yml, and left every trailing comment reading # v4.38.0 (4.38.1 blocked estate-wide; nexia-list#100) untouched. So the files asserted v4.38.0 while actually pinning the exact version that comment forbids. nexia-list#100 records that GitHub refuses codeql-action v4.38.1 at workflow startup in both tag and SHA form, with v4.38.0 green estate-wide. Measured on hypatia: all four affected workflows flipped to startup_failure at precisely 0aa8972 (the #830 merge, 14:22Z). On the preceding commit 0e121c9 CodeQL was success and CI/Tests/Security were running (failure with jobs > 0). Also removes the actions.lock dependencies entry for 1c5b675. It was self-contradictory -- a full-SHA key whose commit digest named a *different* commit: 'github/codeql-action@1c5b675...': ref: 'v4.38.1' commit: 'sha1-b96794f015...' which made the whole lockfile unparseable: $ gh actions-lock --no-fix lockfile is unreadable: .github/workflows/actions.lock: line 262 ... Nothing references that ref after this change, so the entry is dead as well as wrong. With it gone the lockfile parses again. Refs #837 Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_0113HQM9LVGkNCzU1WwkJZSV
hypatia has `sha_pinning_required: true` on its Actions permissions. Under that setting a tag-form `uses:` is admissible only if the lockfile pins it to an immutable commit, which is what .github/workflows/actions.lock exists to do. PR #830 bumped taiki-e/install-action from v2.87.15 to v2.87.16 in four workflows but updated no lockfile entry, so the tag resolved to nothing pinned and ci.yml / tests.yml / security-policy.yml died at startup -- none of which reference codeql-action, which is why the previous commit alone could not revive them. Repins the entry rather than reverting the bump: v2.87.16 is a real tag (9114bf4d891761788c546334fd37538eae1bf8b3) and there is no reason to give up the upgrade. The four workflow lists and the dependencies entry now name the same version, and the stale v2.87.15 entry is dropped as unused. `gh actions-lock --no-fix` now reports "Scanning 32 workflows" with no findings, where before this branch it refused to parse the file at all. Refs #837 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 26 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 ignored due to path filters (1)
📒 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
Closed
Closed
hyperpolymath
added a commit
that referenced
this pull request
Sep 22, 2026
…us E2E pass (#852) ## What this fixes `End-to-End Tests` (`e2e-tests`) has **never executed a test**. Curing the #842 startup failure 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. The missing `-f` was the symptom. Measured, the job was fiction in four independent ways, each fatal on its own: | # | What it did | What is actually there | |---|---|---| | 1 | `docker compose` with `working-directory: deploy` | `deploy/` 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 `-f` is mandatory wherever it runs | | 2 | `docker compose up -d hypatia` | **No compose file in this repo defines a `hypatia` service** | | 3 | `curl -sf http://localhost:8080/health` — the entire "E2E suite" | `deploy/Containerfile` ends `ENTRYPOINT ["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 doctrine | | 4 | `arangosh --server.password="$ARANGO_ROOT_PASSWORD"` | The variable is never set in the job — it authenticated with an empty string | **The real end-to-end suite already exists and already passes.** `tests/e2e.sh`, run by the `e2e-elixir` job, carries the header *"Tests the neurosymbolic scanner pipeline without docker-compose"* and 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 by the deletion — `integration-tests` downloads and loads the same `docker-images` artifact. ## 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: - **AC1** (`docker compose` resolves its config) — **withdrawn.** There is no service to stand up. Naming the file with `-f` would have produced a stack with no subject under test. - **AC2** (the E2E step *executes*, conclusion `success` not `skipped`) — **met** by `e2e-elixir` / `e2e-rust`, which execute today. - **AC3** (print the denominator, non-zero) — **met, and it was not before.** - **AC4** (planted mutant reddens on a *test* failure) — **met**, below. ## Two honesty defects fixed alongside Both sit 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 likeliest path. It now checks all three dependencies, fails on anything that is not `success`, prints `ok=N failed=N total=N`, and fails on a zero denominator. Results reach the shell through `env:` instead of `${{ }}` interpolation, per `.claude/CLAUDE.md`. **`tests/e2e.sh` could report a clean pass having tested nothing.** It ended `exit "$FAIL"`, so a run in which every scenario skipped — no Elixir, no Rust CLI, a renamed fixture — exited **0**. Proven empirically, not asserted: the `origin/main` tail exits 0 with `PASS=0 FAIL=0 SKIP=5`. It now prints `Scenarios run: N` and fails when N is 0. SKIP deliberately does not count toward 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** `${{ }}`, so `yq` extracts it byte-identically to what CI executes; the `e2e.sh` tail is sourced directly. | Harness | Patched | `origin/main` control | |---|---|---| | `tests/e2e.sh` summary + guard | **6/6 green** | **killed by 6** | | `integration-status` rollup | **9/9 green** | **killed by 6** (it passes 3 — it does fail on an explicit `failure`) | ⚠ The first control run reported main killed by 9. That was a harness artefact — my substitution injected literal quote characters into `declare -A`, so every result missed the `success` branch. Corrected; the table above is the honest measurement. **AC4 mutant, on the real suite.** Broke the rule-module assertion (`-gt 0` → `-gt 99999`): ``` CONTROL rc=2 PASS=7 Scenarios run: 9 MUTANT rc=3 PASS=6 Scenarios run: 9 FAIL: No rule modules found REVERTED rc=2 PASS=7 ``` 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.get` has not run here; CI is rc=0 / PASS=9. The delta is the proof.) **Static:** `actionlint` **15 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-tests` is the `REMOVED —` comment, written in the file's existing house style alongside the `haskell-integration` removal. Closes #843 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_0113HQM9LVGkNCzU1WwkJZSV Co-authored-by: Claude Opus 5 <[email protected]>
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
Four hypatia workflows have been
startup_failuresince 2026-09-22 14:22Z:CI,Tests (E2E / Integration / Stress / Bench),CodeQL Security Analysisand
Security. This restores all four.They are not four faults. They are two, both introduced by the same
commit, and each is fixed here on its own merits.
How it was localized
actionlintreports zero errors on all four files andyqparses allfour, so nothing in the workflow YAML is wrong — the fault is in what the
files reference.
All four flipped at exactly one commit. On
0e121c94(14:20Z)CodeQLwassuccessand the other three were running (failure, jobs > 0). On0aa89724(14:22Z) all four werestartup_failure, and have been on everyrun since.
0aa89724is the merge of #830,chore(deps): bump the actions group across 1 directory with 4 updates.Cause 1 — codeql-action was bumped to the version its own comment forbids
#830 moved
github/codeql-actionfromb96794fto1c5b675and left everytrailing comment reading:
But the tags resolve the other way round:
v4.38.0b96794f015dfd88f77b49b1c93e0fa7110f94c63v4.38.11c5b675653bb5c22dbe9b12b556ec555138e09fdSo the files asserted v4.38.0 while pinning v4.38.1 — the exact version the
comment forbids. nexia-list#100 records that GitHub refuses codeql-action
v4.38.1 at workflow startup in both tag and SHA form, and lists hypatia
@1c5b675among the repos it kills, with v4.38.0 green elsewhere.Reverted at all 8 sites, which makes the existing comments true.
Cause 2 — a tag bump with no lockfile pin, under
sha_pinning_requiredThis is why
ci.ymlandtests.ymlalso died: neither uses codeql-action atall.
hypatia's Actions permissions carry
sha_pinning_required: true. Underthat setting a tag-form
uses:is admissible only if.github/workflows/actions.lockpins it to an immutable commit. #830 bumpedtaiki-e/install-actionv2.87.15 → v2.87.16 in four workflows and updatedno lockfile entry, leaving the tag unpinned.
Repinned to v2.87.16 (
9114bf4d…) rather than reverting — it is a real tagand there is no reason to lose the upgrade.
Cause 2b — the lockfile had become unparseable
#830 also left behind a self-contradictory
dependenciesentry: a full-SHAkey whose commit digest names a different commit.
A 40-hex key must resolve to itself. It did not, and that one entry made the
whole file refuse to parse:
Nothing references that ref after Cause 1 is fixed, so the entry is dead as
well as wrong. Removed.
After this branch:
— no findings, where before it would not read the file at all.
Why it matters beyond four red squares
ci.yml:98(cargo test --workspace --doc) is the repo's only doctestinvocation. It has executed nowhere since 14:22Z.
tests.ymlis the sole home ofmix test, so the whole ExUnit tier isdead — the separate
needs:-chain defect tracked as Every ExUnit test is dead in CI: the only mix test sits behind a needs: edge to a failing job #836 cannot even beobserved until this lands.
Verification
actionlintclean on all four files;yqparses all four.gh actions-lock --no-fixgoes from "lockfile is unreadable" to a cleanscan of 32 workflows. ⚠ it exits 0 in both states — the message is the
signal, not the exit code.
origin/maincontent, not the workingtree (the local clone's
mainwas 1 ahead / 35 behind).push: [main, master]+pull_request, so theyproduce no run on a branch push — this PR is what exercises them. Their
conclusions on this PR are the acceptance evidence; each must report
jobs > 0, since a 0-job/0s run is a startup death, not a verdict.
Refs #837
🤖 Generated with Claude Code
https://claude.ai/code/session_0113HQM9LVGkNCzU1WwkJZSV