Repository navigation
closure attestation: expect the targets the build resolved (Atlas-Inf #250) - #38
Merged
Merged
Conversation
…#250) `the_baked_attestation_reproduces_from_the_tree` required every gb10/nvfp4 target in the tree to be attested, which only an all-models build does. A one-model build (`ATLAS_TARGET_MODEL=<model>`, as product images build) attests that model's targets, so the test failed there and images skipped it. build.rs now bakes the targets it resolved (`ATLAS_TARGETS_RESOLVED`) and the model spec it resolved them from (`ATLAS_TARGET_MODEL_SPEC`), exposed as `atlas_kernels::TARGETS_RESOLVED` and `TARGET_MODEL_SPEC`. The test expects the whole tree when the spec is `*`, as before, and the resolved targets otherwise; a new test checks every attested target was resolved. Checked on a GB10 with real single-target kernel builds: with `ATLAS_TARGET_MODEL=glm-5.3-flash` all four tests pass ("1 target(s) reproduced from the tree"). With `ATLAS_TARGET_MODEL=inkling-2-mini` the resolved-target check passes and the hash check fails: a target with `kernel_source` hashes the source target's kernels in build.rs but not in `taxon::sources` / `taxon::configs`, a separate resolver drift. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 24, 2026
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.
The fix for Atlas-Inf#250 on the
sparkbranch (cherry-picked fromclosure/single-target-attestation-20261124, which is based on Atlas-Inf main).closure_attestation::the_baked_attestation_reproduces_from_the_treerequired everygb10/*/nvfp4target in the tree to be attested, which only an all-models build does. SparkGLM's image builds one model (ATLAS_TARGET_MODEL=glm-5.3-flash) and runs the whole suite in its release checks, so its main could not build an image.build.rsnow bakes the targets it resolved and the model spec it resolved them from, and the test expects the whole tree for*(as before) and the resolved targets otherwise.Checked on a GB10 with a real
ATLAS_TARGET_MODEL=glm-5.3-flashkernel build of this branch: 4 of 4closure_attestationtests pass ("1 target(s) reproduced from the tree"). rustfmt and Clippy clean on Rust 1.93.1.🤖 Generated with Claude Code