mainOpen and answer this issue on GitHub.
blocked, safety · opened 2026-11-22 · updated 2026-11-22 · 0 comments
Records ADR-proof-kani-v1 (Kani checks the prover’s proofs on the emitted Rust, in a mode of its own); the fifth of its six issues. Needs #2720
After each promotion to main, the whole suite runs once more with debug assertions on, so every check the prover dropped (proven::read and its siblings) is checked again at run time by its debug_assert!. The develop CI does not change.
ADR-proof-kani-v1 D7 (the run on main, first leg). ADR-002 D5 (no debug assertions in any user build; unchanged: only this run turns them on). ADR-306 D19.
arch and runner (.github/workflows/suite.yml); none for flags.debug-assertions = false (Manifest::render, crates/orchestrator/src/project.rs).RUSTFLAGS reaches cargo through the tests’ driver and is part of the test cache’s key (PROJECT_DRIVE_CARGO_READS, project_drive.nika).promote (.github/workflows/nikaia.yml) fast-forwards main with the job’s token, which starts no workflow; it starts the website with gh workflow run website.yml --ref main.nikaia_std is what the first issue measures (its item 3); this issue builds on its finding.RUSTFLAGS (in Nikaia, where the key is made; the builder names the function). Test: tests/compiler/tests/a_dropped_check_stops_with_debug_assertions_on.nika — a program whose emitted proven::read is reached past the end only through a hook, its .stderr the debug_assert stop. If nothing is missing, the item is struck with the first issue’s record.suite.yml takes an optional input rustflags (empty by default), handed to the suite’s steps as RUSTFLAGS, and its cache key names it so the two runs never share a cache. Test: the item-1 program, run by the suite’s own step..github/workflows/main-checks.yml, started by workflow_dispatch only, on ref: main, calling suite.yml with rustflags: "-C debug-assertions=on" for x64. The same commit adds the step gh workflow run main-checks.yml --ref main to the promote job in .github/workflows/nikaia.yml, after the one that starts website.yml (nikaia.yml:236), so that each promotion starts it.Done when a dispatch of main-checks.yml on main runs the whole suite with debug assertions on and passes, and item 1’s test stops with the debug_assert message under the flag and passes without it; item 3’s commit carries Fixes #N. Each surprise is a Found: line in the report, never a new issue number.
Supervisor: dispatch main-checks.yml on main once by hand after the push to see it pass.
.github/workflows/suite.yml and the promote job of .github/workflows/nikaia.yml, adds .github/workflows/main-checks.yml; item 1 may change the std cache key in Nikaia.Manifest::render’s profile (ADR-002 D5).main.Manifest::render: it is Rust and ADR-002 D5; the flag reaches cargo without it.