ci: add pinned devcontainer + CI running the 220-check suite#2
Merged
Conversation
EigenRegex had a 220-check suite but no CI — pushes (including the recent O(n^2)->O(n) search fix) were gated only by local runs. Adds the standard eigs-consumer pattern, matching dynamics/liferaft/tidelog: - .devcontainer/Dockerfile builds EigenScript from source at a pinned tag (EIGS_REF=v0.21.0) onto PATH — the tag IS the runtime pin. Same image backs Codespaces and CI, so they can't drift. - .github/workflows/test.yml runs the suite inside that image via devcontainers/ci on push + PR to main. - tests/run.sh is the gate: runs every tests/test_s*.eigs (incl. smoke) and exits non-zero on any FAIL or crash — the per-stage .eigs files print OK/FAIL but exit 0 on their own, so this wrapper is what makes them a gate. Excludes bench_search.eigs (a manual timing bench). Verified locally against v0.21.0: 220 checks pass (rc=0); the runner returns rc=1 when a test fails. CLAUDE.md toolchain/run sections updated (were stale: v0.14.2 + a defunct binary path). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
EigenRegex had a 220-check suite but no CI — pushes (including today's O(n²)→O(n) search fix) were gated only by local runs. This adds the standard eigs-consumer pattern (same as dynamics/liferaft/tidelog), closing the most-exposed gap in the ecosystem CI sweep.
.devcontainer/Dockerfilebuilds EigenScript from source at a pinned tag (EIGS_REF=v0.21.0) onto PATH — the tag is the runtime pin. The same image backs Codespaces and CI, so "green locally" and "green in CI" can't drift..github/workflows/test.ymlruns the suite inside that image viadevcontainers/cion push + PR tomain.tests/run.shis the gate: runs everytests/test_s*.eigs(incl. smoke) and exits non-zero on anyFAILor crash. The per-stage.eigsfiles printOK/FAILbut exit 0 on their own, so this wrapper is what turns them into a CI gate. Excludesbench_search.eigs(manual timing bench).Verified locally against v0.21.0: 220 checks pass (rc=0); the runner returns rc=1 when a test fails (negative-tested).
CLAUDE.mdtoolchain/run sections updated (were stale — v0.14.2 + a defunct binary path).This PR is also the first run of the new CI itself.
🤖 Generated with Claude Code