Skip to content

fix(ci): repair the base-red lock, Rust toolchain pin and test formatting - #309

Merged
hyperpolymath merged 1 commit into
mainfrom
claude/vigilant-turing-94eajv
Oct 20, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
claude/vigilant-turing-94eajv

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

This is the CI-hygiene follow-up to #308. It fixes three failures that are red on main and come from CI configuration and formatting, not product code. No library code changes.

1. actions.lock is in sync with the workflow YAML

Dependabot's #307 bumped the panic-attack scan-and-report.yml pin to 8c2f1989. In doing so it dropped that pin's lock record, which left security-scan.yml: [].

  • Restored the record with the reusable workflow's nested uses: at that commit:
    • actions/checkout@3d3c42e5 (v7.0.1);
    • dtolnay/rust-toolchain@683b588c (v1);
    • swatinem/rust-cache@6323deb1 (v2.9.2, the peeled tag).
  • Every leaf's tag was checked with git ls-remote.
  • The actions/checkout@3d3c42e5 leaf now names its tag (v7.0.1) instead of its own SHA, following standards f335165 ("leaf entries need a tag ref").

2. Rust build validation

The run failed with Lockfile pin 89b12181… for dtolnay/rust-toolchain does not match ref stable. Upstream force-rewrites the stable branch on every release: 89b12181 no longer exists, and stable is now a single commit on top of master. So any pin to stable rots.

The 11 steps in build-validation.yml, fuzz.yml and rust-ci.yml now pin 683b588c (v1, which lives on master and only fast-forwards). Each step now passes toolchain: stable explicitly, because that input is required at that commit. This matches how standards pins the action. The stale @stable record is removed.

3. compile + test (mix format --check-formatted)

The four test files CI flagged were reformatted with Elixir 1.17.3, the version CI runs; the download was checksum-verified. The 1.14 formatter could differ, so I didn't use it. After formatting, mix format --check-formatted is clean and no other file changed.

Validation

  • scripts/check-lock-sync.sh: in sync and transitively closed.
  • actionlint 1.7.7: clean on the three edited workflows.
  • mix format --check-formatted (1.17.3): clean.

Not in this PR

  • coverage / the test step: 3 VCLTGate failures. System.cmd/3 has no :input option in Elixir 1.17 (mix.exs pins ~> 1.17). Since docs(#204,#113,#86) + security(#203): the seven open issues, re-measured — estate docs, a link gate that can be proved to fail, and a shell removed from VCLTGate #290, VCLTGate.check/2 has therefore failed closed on every call, admitting nothing, in tests and in production. The owner's ruling is that the gate reads its payload from a file argument (--input <file>), with no shell. That changes the gate binary's contract, so it gets its own PR.
  • hex audit: bandit 1.12.5 (EEF-CVE-2026-105659 HIGH, EEF-CVE-2026-105660 MEDIUM). Upstream has 1.13.x, which needs Thousand Island 1.6 and hpax 1.1. mix.lock can't be regenerated from this environment because hex.pm is unreachable here. It needs mix deps.update bandit thousand_island hpax run where hex.pm is reachable.
  • scan / * (secret-scanner reusable): these runs resolve their actions through hyperpolymath/standards@84355587, whose own lock still carries the bare-SHA checkout ref. Re-pinning to a standards commit after f335165 is a separate change.

Generated by Claude Code

…ting

Three failures red on main since before #308, none in product code:

- actions.lock out of sync: Dependabot's #307 bumped the panic-attack
  scan-and-report pin to 8c2f1989 and dropped its lock record, leaving
  security-scan.yml with `[]`. Restored the record with the reusable
  workflow's nested uses at that commit (checkout 3d3c42e5, rust-toolchain
  683b588c, rust-cache 6323deb1), each leaf with a tag ref verified by
  ls-remote. The checkout@3d3c42e5 leaf now names its tag (v7.0.1), not
  its own SHA.
- Rust build validation: "Lockfile pin 89b12181 for dtolnay/rust-toolchain
  does not match ref stable". `stable` is force-rewritten on every upstream
  release, so any pin to it rots. The 11 steps now pin 683b588c (v1, on
  master) with an explicit `toolchain: stable`, as standards does; the
  stale @stable record is removed.
- mix format --check-formatted: the four test files CI flagged, formatted
  with Elixir 1.17.3 (the version CI runs); no other file changes.

check-lock-sync.sh passes; actionlint is clean on the edited workflows.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01PpQVLrCbURpoXtrdvy8V3B
@coderabbitai

coderabbitai Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 19667a9a-0f7f-437c-839b-cc5ab3b30881
📥 Commits

Reviewing files that changed from the base of the PR and between 11c8b97 and 5024819.

⛔ Files ignored due to path filters: 1
  • .github/workflows/actions.lock is excluded by !**/*.lock
📒 Files selected for processing: 7
  • .github/workflows/build-validation.yml
  • .github/workflows/fuzz.yml
  • .github/workflows/rust-ci.yml
  • elixir-orchestration/test/verisim/aspect/concurrency_test.exs
  • elixir-orchestration/test/verisim/aspect/security_test.exs
  • elixir-orchestration/test/verisim/consensus/kraft_property_test.exs
  • elixir-orchestration/test/verisim/e2e_verisimdb_test.exs

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📜 Recent review details
⏰ Context from checks skipped due to timeout: 28
  • GitHub Check: cargo-llvm-cov (≥60%)
  • GitHub Check: fuzz targets compile (fuzz/Cargo.toml)
  • GitHub Check: cargo test
  • GitHub Check: clippy (all-targets)
  • GitHub Check: benchmarks compile
  • GitHub Check: cargo deny
  • GitHub Check: cargo doc
  • GitHub Check: cargo audit
  • GitHub Check: fuzz targets compile (rust-core/fuzz/Cargo.toml)
  • GitHub Check: rustfmt
  • GitHub Check: actions.lock is in sync with the workflow YAML
  • GitHub Check: reuse lint
  • GitHub Check: spark-theatre-gate / SPARK Theatre Gate
  • GitHub Check: scan / gitleaks
  • GitHub Check: scan / shell-secrets
  • GitHub Check: scan / rust-secrets
  • GitHub Check: compile + test (1.17, 27)
  • GitHub Check: pr-fuzzing (address)
  • GitHub Check: benchee scripts compile
  • GitHub Check: coverage
  • GitHub Check: hex audit
  • GitHub Check: Validate DEED manifests
  • GitHub Check: Elixir build validation
  • GitHub Check: Rust build validation
  • GitHub Check: analyze (javascript-typescript, none)
  • GitHub Check: doc-consonance
  • GitHub Check: semgrep-cloud-platform/scan
  • GitHub Check: reuse lint
🧰 Additional context used
🪛 zizmor (1.30.1)
.github/workflows/build-validation.yml

[info] 23-23: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

.github/workflows/fuzz.yml

[info] 33-33: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[info] 50-50: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

.github/workflows/rust-ci.yml

[info] 36-36: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[info] 48-48: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[info] 60-60: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[info] 73-73: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[info] 105-105: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[info] 116-116: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[info] 137-137: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

[info] 172-172: action functionality is already included by the runner (superfluous-actions): use rustup and/or cargo in a script step

(superfluous-actions)

🔇 Additional comments: 7
elixir-orchestration/test/verisim/aspect/concurrency_test.exs: 1

151-153: LGTM!

Also applies to: 286-287, 336-336, 339-339, 402-402, 405-405

elixir-orchestration/test/verisim/aspect/security_test.exs: 1

91-92: LGTM!

Also applies to: 108-108, 148-148, 160-160, 310-310, 325-325, 425-426

elixir-orchestration/test/verisim/consensus/kraft_property_test.exs: 1

63-68: LGTM!

Also applies to: 140-143, 147-147, 171-175, 190-190, 212-216, 258-261, 278-281, 328-328

elixir-orchestration/test/verisim/e2e_verisimdb_test.exs: 1

41-41: LGTM!

Also applies to: 84-88, 100-102, 105-110, 144-144, 177-177, 182-184, 187-188, 191-191, 203-204, 242-242, 245-245, 248-248, 304-304, 307-307, 346-346

.github/workflows/build-validation.yml: 1

23-23: LGTM!

.github/workflows/rust-ci.yml: 1

36-36: LGTM!

Also applies to: 48-48, 50-50, 60-62, 73-75, 105-107, 116-116, 118-118, 137-139, 172-174

.github/workflows/fuzz.yml: 1

33-33: LGTM!

Also applies to: 50-52

📝 Summary

Summary by CodeRabbit

  • Chores

    • Pinned Rust toolchain actions to a specific revision for more consistent validation, fuzzing, and CI runs.
    • Retained the stable Rust toolchain configuration and existing job-specific components.
  • Style

    • Reformatted several Elixir test files for improved readability, including line wrapping, spacing, and comment layout.
  • Tests

    • Updated test presentation only; test logic, assertions, expected results, and runtime behaviour remain unchanged.

Rust workflow jobs now use a pinned toolchain action revision instead of a floating reference. Elixir test files contain formatting and spacing changes; test logic and expected results remain unchanged.

Changes: Rust workflow action pins

Layer / File(s) Summary
Pin Rust toolchain actions
.github/workflows/build-validation.yml, .github/workflows/rust-ci.yml, .github/workflows/fuzz.yml
Rust workflow jobs use the pinned action revision. Stable toolchain settings and job-specific components remain as described.

Elixir test formatting

Layer / File(s) Summary
Reformat Elixir tests
elixir-orchestration/test/verisim/aspect/concurrency_test.exs, elixir-orchestration/test/verisim/aspect/security_test.exs, elixir-orchestration/test/verisim/consensus/kraft_property_test.exs, elixir-orchestration/test/verisim/e2e_verisimdb_test.exs
Existing test assertions, generators, queries, and calls are reformatted. Blank lines and comment placement change; test logic remains unchanged.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 50248

No actionable merge-blocking risk is established by the reviewed changes.

Pre-merge checks: Passed 5
Check name Status Explanation
Description check Passed The description clearly explains the CI lock repair, Rust toolchain pinning, test formatting, validation steps, and excluded issues. It is directly related to the changeset.
Title check Passed The title concisely identifies the main changes: CI lock repair, Rust toolchain pinning, and test formatting.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 4…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 4 files. (3 skipped: 3 unsupported.)

✨ Finishing Touches: 💡 1
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🛠️ Fix failing CI checks: 💡
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@hyperpolymath
hyperpolymath marked this pull request as ready for review October 20, 2026 14:07
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T14:10:54.864803Z 5024819 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@hyperpolymath
hyperpolymath merged commit 35c6679 into main Oct 20, 2026
23 of 33 checks passed
@hyperpolymath
hyperpolymath deleted the claude/vigilant-turing-94eajv branch October 20, 2026 14:28
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.

2 participants