Repository navigation
test(id): host load/play fixture for the Sketch guest (#13656) - #13776
Merged
Merged
Conversation
Standalone Plaza ABI v1 guest crate on the Rust SDK implementing the six-step sketch/redo-as-new-stroke acceptance vector: transient draft geometry, immutable confirmed strokes, owner-scoped undo tombstones, copy-with-fresh-id and provenance, and folded-event redelivery. The literal-projection unit tests come from the issue's checked-in vector. This slice covers the guest domain model and build only; the host load/play fixture and its Fleet verification remain a follow-up slice, so #13608 stays open.
|
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 26 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. |
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.
Summary
pkgs/id/tests/sketch_host_play.rs: host-side load and play ofsketch.wasmthroughSandbox::compile/WorldInstance, with five portable assertions (six-step vector, snapshot/restore plus next operation, draft UI state, participant permissions, event-id folding).pkgs/id/justfile(rust-sketchintest-rust-examples, newtest-sketchrecipe).pkgs/id/book/design/first-apps.md,pkgs/id/book/development/add-a-guest.md,pkgs/id/examples/rust-sketch/README.md.Stack
Stacked on #13651 (
lane/oc-code-02-13608-sketch-guest-wt), which providessketch.wasmand the guest crate. Merge #13651 first; this PR's base ismainand its diff includes only the host test and docs once #13651 lands.Verification
Fleet dispatch ran
cargo test --all-features -p id --test sketch_host_playtwice. Both runs failed before any test executed, in theaws-lc-sys v0.45.0build script (could not execute process ... (never executed),No such file or directory). This is a forks-pool runner environment fault, not a test result.Local test results are not recorded here; the test still needs a green run once the runner environment is fixed.
Refs #13656, Refs #13608, Refs #13651
{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-23T21:26:00Z", "session_id": "ses_e5df62f4ec2ffezBOZb3VqPjdP", "lane": null, "host": "amd", "worktree": "/home/user/git/code-worktrees/oc-code-03/13656-sketch-host", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/user/git/code-worktrees/oc-code-03/13656-sketch-host", "repo": "developing-today/code", "branch": "oc-code-03/13656-sketch-host-play", "sha": "d3faf216a3532d25c4bf8e5e5dab22764b5e8822" }, "auth_subject": "oc-code-06", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.