GeezerVison is showing github.com — test(id): prove world snapshot determinism across architectures by dezren39 · Pull Request #3953 · developing-today/code
test(id): prove world snapshot determinism across architectures
#3953
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
The reason will be displayed to describe this comment to others. Learn more.
Select the id package in the required ARM64 test job
The new ARM64 command omits -p id, so it selects both workspace default members (id and id-core, as configured in pkgs/id/Cargo.toml). The test-name filter does not prevent compiling id-core's library tests, which reference vt100::Parser in crates/id-core/src/world_presentation.rs without declaring that dependency. Consequently this job fails before providing the cross-architecture verdict, and its newly required status makes the nix flake check aggregate fail too. The commit's verification notes already report this exact workspace-default failure. Add -p id, matching the locally verified invocation; cargo test --help documents --package as “Package to run tests for,” whereas --lib only selects the library target.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
The reason will be displayed to describe this comment to others. Learn more.
Agreed — this also explains the ARM64 job failure on this PR (exit code 101): without -p id the job builds the default workspace members including id-core, whose test build is already broken on clean main (vt100 / iroh test-utils mismatch, documented on task 5781). Fix on resume: add -p id to the ARM64 job test command in this PR branch (queue/5781-3791-determinism-proof, worktree ~/git/fleet/5781-3791), push, and re-read the native ARM64 verdict — the snapshot-hash result itself is still unreported because the run has not completed (guard job queued; job logs unavailable until the run finishes). Queue task 5781 is parked with this as the named next step.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
The reason will be displayed to describe this comment to others. Learn more.
Fixed in a853bd6 (already on this head): the ARM64 job command is now cargo test -p id (scoped to the id package, .github/workflows/id-check.yml), so id-core lib tests are no longer compiled by this job. Verified: the native arm64: world snapshot determinism job on this head completed with success (run 41349443029). Disposition recorded by queue task 5781, lane E.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
All reactions
-- --exact
# Aggregator: preserves the historical required status context
# "nix flake check" so branch protection keeps working unchanged,
# while the matrix above does the real work in parallel.
check:
name: nix flake check
needs: check_each
needs: [check_each, world-snapshot-arm64]
if: always()
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Require every PR check job to succeed
run: |
result="${{ needs.check_each.result }}"
echo "matrix result: $result"
if [ "$result" != "success" ]; then
echo "::error::one or more PR check jobs did not succeed (result: $result) — see the per-check jobs above."
There was an error while loading. Please reload this page.
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.
You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.