You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
closure_attestation: the_baked_attestation_reproduces_from_the_tree fails on single-target builds #250
closure_attestation::the_baked_attestation_reproduces_from_the_tree fails on a single-target build.
On plain main (8bfe8507a), run the way a product image gates it:
ATLAS_TARGET_HW=gb10 ATLAS_TARGET_MODEL=qwen3.8-flash-next ATLAS_TARGET_QUANT=nvfp4 \
cargo test --workspace --release -- the_baked_attestation_reproduces_from_the_tree
it panics at crates/spark-server/tests/closure_attestation.rs:64:
the build resolved these targets but attested none of them, so their records can never be excused:
["gb10/deepseek-v4-flash/nvfp4", "gb10/gemma-4-26b-a4b/nvfp4", "gb10/gemma-4-31b/nvfp4", "gb10/glm-5.3-flash/nvfp4", ...]
With ATLAS_TARGET_MODEL=qwen3.8-flash-next the build attests one target, while the test expects every resolved target to be attested. That holds only for the default all-targets build. A downstream image that builds one model, as SparkQwen's does, can't pass its cargo test --workspace gate without skipping this test.
The likely fix is to scope the expectation to the targets the build actually compiled: read the same ATLAS_TARGET_* the build script used, or the baked list itself. cc @rsafier (added in #389, dd2ac46d5).
Activity
Merge pull request #38 from Enntity/closure-spark-20261124
closure attestation: expect the targets the build resolved (Atlas-Inf…