Skip to content

closure_attestation: the_baked_attestation_reproduces_from_the_tree fails on single-target builds #250

Done

Description

@AzeezIsh

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).

Receipts: reiner ~/code/night1027/out/repro2-main/all.log. Tracking: #220.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions