Repository navigation
feat(id): run plaza-sdk + rust-counter tests in flake checks, rebuild-gate counter.wasm (#7904) - #8543
Merged
Conversation
…-gate counter.wasm (#7904)
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 55 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Closes #7904. Queue task 14257.
The Rust example guests — plaza-sdk (
pkgs/id/examples/rust-world, 9 unit tests) and rust-counter (pkgs/id/examples/rust-counter, 2 unit tests) — are standalone crates outside the pkgs/id workspace, so no workspace test venue ever ran their tests, and the checked-incounter.wasm(loaded verbatim by the sandbox conformance tests) was rebuilt only by hand.What this does
test-rust-examplesflake check (+test-rust-examplesjust recipe, also added to theciaggregate): runscargo testfor both example crates. Listed in.github/scripts/id-pr-checks.txt, so it runs as a parallel PR job.rust-counter-wasmflake check (roc-examples pattern): rebuildscounter.wasmfrom source withexamples/rust-counter/build.sh, then runs the sandbox lib tests (cargo test --no-default-features --features sandbox,world --lib sandbox) against the rebuilt module. Also in the PR check list.rustToolchainWasm = rustToolchain.override { targets = [ "wasm32-unknown-unknown" ]; }for this check's PATH..github/test-suite-registry.jsongainsid.examples.plaza-sdkandid.examples.rust-counterentries naming the venue and invocation.just-recipes.jsonregenerated for the new recipe.Verification (laptop, this branch)
checks.x86_64-linux.test-rust-examples: pass — plaza-sdk 9/9, rust-counter 2/2.checks.x86_64-linux.nix-fmt-check,checks.x86_64-linux.just-recipes-drift: pass..github/scripts/check-id-pr-checks.shagainst the real flake: pass (37 checks, list matches); its contract tests andid-pr-checks-matrix.test.sh: pass.checks.x86_64-linux.rust-counter-wasm: pass — counter.wasm rebuilt in-check, sandbox suite 36 passed / 0 failed against the rebuilt module. (First local attempt died on laptop disk ENOSPC with the root filesystem at 100%; passed on retry after space freed.)treefmt-checkis red on clean main too (pre-existing; none of this PR's files are in its change list after the justfile blank-line fix).Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.