Repository navigation
INTERPLANE-PACKAGE and -ADAPTER-AIEN pass on the Spark judge (offline, read-only cargo home) - #115
Merged
Merged
Conversation
added 3 commits
October 19, 2026 08:19
…twork) cargo package --workspace --locked tried to update the crates.io index and failed on the Spark judge (index.crates.io does not resolve there), so every head that selected INTERPLANE-PACKAGE failed it (bundles 1d62139, bb6e857). --offline packages from the local registry cache, as every other gate does. Checked on the Spark: tests/gates/run.sh package exits 0 in 16 s.
…ge's is read-only) With --offline the operator run of bd09ebc failed verifying interplane-crossaxis: cargo unpacks the just-packaged interplane-core from its temporary registry into $CARGO_HOME/registry/src, and on the judge's read-only home it fails with 'no hash listed for interplane-core v0.3.0' (reproduced with CARGO_HOME=/var/lib/aien-run/cargo). Package with a scratch home in the step's temp dir: index copied, .crate cache and unpacked sources linked read-only, registry/src writable. Passes with the judge's home and with a normal one.
…overs libsqlite3-sys copies its bundled bindings from the read-only registry, so OUT_DIR/bindgen.rs stays mode 0444 in the judge's shared target dir and the next run of its build script fails with 'Could not copy bindings to output directory: Permission denied' (operator run of 657081c). Make such leftovers writable before building. Red/green on the Spark with the judge's CARGO_HOME: forced rerun fails without this, passes with it.
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.
Makes the INTERPLANE-PACKAGE and INTERPLANE-ADAPTER-AIEN gates pass on the Spark judge. All three causes are in the judge environment, none in the PRs that hit them (#111 at bb6e857, #114 at 1d62139):
cargo package --workspace --lockedupdates the crates.io index first; on the judge it failed withCould not resolve host: index.crates.io. Fix:--offline, so it packages from the local registry cache like every other gate.--offline, verifyinginterplane-crossaxisunpacks the just-packagedinterplane-corefrom cargo's temporary registry into$CARGO_HOME/registry/src; on the judge's read-only home that fails withno hash listed for interplane-core v0.3.0(operator run of bd09ebc; reproduced withCARGO_HOME=/var/lib/aien-run/cargo). Fix: package with a scratchCARGO_HOMEinside the step's temp dir (index copied,.cratecache and unpacked sources linked read-only,registry/srcwritable).OUT_DIR/bindgen.rsis left mode 0444; the next time its build script runs it cannot overwrite the file (Could not copy bindings to output directory: Permission denied, operator run of 657081c). Fix: before building, make such leftovers under the target dir writable; the build script then rewrites them.The checks themselves are unchanged: every crate still packages and builds from its
.cratealone, and the adapter still runs fmt, clippy, its tests and the T4 subset.Checked on the Spark with the judge's read-only
CARGO_HOME/RUSTUP_HOME, offline:tests/gates/run.sh package: exit 0 (wasno hash listed); also exit 0 with a normal home.tests/gates/run.sh adapter-aien, clean build: exit 0. Then with the libsqlite3-sys build script forced to run again: without the fix it fails withPermission denied(red), with the fix exit 0 (green).This changes
tests/gates/, so it is a pipeline configuration change (rule A4): the desk runs the operator judge on the exact head and merges on PASS.