Repository navigation
Provision Coq from pinned, sha-checked packages in CI - #40
Conversation
CI run 46426329421 failed three Coq jobs on 503s from security.ubuntu.com during `apt-get install coq=...`. Install the 12-package Coq 8.18.0 closure from a sha256 lock instead, shared by every replay job, cached with actions/cache, with a snapshot.ubuntu.com fallback and a negative self-test that must reject a corrupted checksum. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J4QvDhw8xwzXdN8W3PYJdG
|
Review these changes at https://app.gitnotebooks.com/hyperpolymath/atoma/pull/40 |
|
Caution Review failedThe pull request is closed. 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. |
|
|
🟢 clean · commit Advisory: 11 row(s), worst 🔴 high (0 critical, 9 high in grid scope) — reported, never grading the change. Unique graded findings across gating and advisory rows: 20 (20 reporter observations; 19 without sufficient identity to corroborate). Row counts remain per reporter; unique totals do not change gating.
Hypatia scan: 4 finding(s)
panic-attack assail: 23 finding(s)
pons asinorum: 9 finding(s)
echidnabot: not_applicable — template default: enrol once the repository carries proofs and an ECHIDNA engine is configured
rhodibot (RSR compliance): 11 finding(s)
panicbot: not_applicable — panic-attack is already graded by the verdict grid's own panic-attack row, from static-analysis-gate.yml evidence; enrolling panicbot would report one scanner twice and give two rows that can disagree
sustainabot: not_applicable — reserved fleet slot; no adapter exists (gitbot-fleet bots/sustainabot/README.adoc)
glambot (presentation quality): 105 finding(s)
seambot: not_applicable — template default: enrol once a seam register exists at spec/seams/seam-register.json
finishingbot (release readiness): 185 finding(s)
cipherbot: not_applicable — template default: enrol once the repository implements cryptography
accessibilitybot: not_applicable — template default: enrol once the repository serves HTML
Scope: static findings reported by each row's tool at the named commit. The table grades only findings in files this change touches, so the colour answers "does this change introduce anything?", not "what does the whole repository still carry?". Standing findings are counted in each accordion and in report.json; the baseline filter remains the place where acknowledged debt is recorded. The lane state is the worst GATING row; advisory rows are listed and counted but never set it. Purple, red, yellow and blue grade the worst GRADED finding present; orange is evidence missing, malformed or a scanner that did not run; grey is an explicit scope exclusion with its reason. No row is a security certification. report.json, badge.json and the raw findings are in the verdict-grid artifact on the linked run. |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |



Summary
CI now installs Coq 8.18 once, from 12 pinned, sha256-checked Ubuntu noble packages shared through
actions/cache. This replaces the per-jobapt-get install coq=…steps. Run 46426329421 (PR #39) failed three replay jobs because security.ubuntu.com returned 503s and dropped connections mid-install; a re-run passed. That flakiness is fixed here, at its source, and any package that doesn't match its pinned sha now fails the job.Changes
ci/coq-8.18.debs.sha256(new): the exact 12-package closure apt installs on a fresh ubuntu-24.04 runner (coq 8.18.0+dfsg-1build2 plus ocaml/findlib/zarith).scripts/atoma-provision-coq.sh(new):snapshot.ubuntu.com/ubuntu/20241001T000000Z.sha256sum --check --strictand installs nothing unless every file verifies.dpkg -iand requirescoqcto report 8.18.0.--self-test-bad-shaflips one sha and requires a rejection.scripts/atoma-ci-replay-toolchain.sh: apt now installs only jq, libssl-dev and pkg-config; Coq comes from the provision script..github/workflows/atoma.yml:word_source,wrapper_source,heap_source,scalar,heap_consumers,core_soundnessandbyte_translation.coq_pin_selftest, required by Atoma soundness gate. The gate gets stricter, not weaker..github/workflows/actions.lock:actions/cache@55cc8345…(v6.1.0) recorded for atoma.yml. The repo already pins that SHA in other workflows.ci/README.adoc: a row for the new lock.Follow-up: #39 (from a fork) adds a
native_wordjob with its own inline apt Coq install. Once #39 merges, that job needs the same one-step swap.RSR Quality Checklist
Required
bash -nis clean on both scripts.Testing
Local, on Ubuntu noble:
coqcreports 8.18.0, exit 0.SELF-TEST PASS: corrupted sha … was rejected (exit 1).FAIL: sha256 verification failed; refusing to install, exit 1.Not verified locally (hosted CI will show these):
curl -Ireturned 200 for it.Commits are unsigned (there is no signing key in the agent environment). The owner squash-merges, and GitHub signs the squash.
Screenshots
N/A
Generated by Claude Code