Fix/nightly bench sysroot#675
Conversation
Codex Code ReviewFindings
No other substantive issues found in the PR diff. |
ReviewTL;DR: Solid, well-reasoned infrastructure fix. No critical/high/medium issues. One low-priority nit below. What the PR does
Low:
|
Codex Code ReviewFindings
No Rust/VM/crypto issues were present in this diff. |
Review: Fix/nightly bench sysrootThe fix is correct and well-reasoned. The three-part approach (partial-sysroot detection in Issues[Low – Security] No integrity check on the downloaded sysroot tarball The sysroot tarball is fetched with a bare Consider pinning a checksum in the Makefile, e.g.: SYSROOT_SHA256 := <expected-hash>
...
curl -L "$(SYSROOT_URL)" -o "$(SYSROOT_TARBALL)"
echo "$(SYSROOT_SHA256) $(SYSROOT_TARBALL)" | sha256sum -c - || { rm -f "$(SYSROOT_TARBALL)"; exit 1; }[Low – Docs] Line 13 of
With this PR the Everything else looks good
|
|
/claude codex |
Code ReviewSummary: Fixes nightly CI sysroot provisioning — c-kzg couldn't find The changes are clean and targeted. A few observations: Medium — No tarball integrity checkThe downloaded tarball ( Consider adding a pinned hash: SYSROOT_SHA256 := <expected-hash>
# After curl:
echo "$(SYSROOT_SHA256) $(SYSROOT_TARBALL)" | sha256sum -c - || { rm -f "$(SYSROOT_TARBALL)"; exit 1; }Low — Basename guard intent vs. actual protectionThe Correct patterns worth confirming
Overall: solid, targeted fix. The SHA256 check is the only meaningful hardening gap. Everything else is correct. |
…ness Robustness + review fixes for nightly bench sysroot
This PR fixes the nightly ethrex bench (c-kzg couldn't find
stdlib.h).prepare-sysrootnow detects a partial sysroot (checksinclude/stdlib.h) and the.elfrules depend on it, so the guest ELF rebuild always provisions first. The bench now uses a user-writable$HOME/.lambda-vm-sysroot(no sudo, no/opt), and a new step fails the job when the bench fails