GeezerVison is showing github.com — test(id): host load/play fixture for the Sketch guest (#13656) by dezren39 · Pull Request #13776 · developing-today/code
Conversation
dezren39
commented
Nov 23, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
- Adds
pkgs/id/tests/sketch_host_play.rs: host-side load and play of sketch.wasm through Sandbox::compile / WorldInstance, with five portable assertions (six-step vector, snapshot/restore plus next operation, draft UI state, participant permissions, event-id folding).
- Wires the test into
pkgs/id/justfile (rust-sketch in test-rust-examples, new test-sketch recipe).
- Updates
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 provides sketch.wasm and the guest crate. Merge #13651 first; this PR's base is main and 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_play twice. Both runs failed before any test executed, in the aws-lc-sys v0.45.0 build 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-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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 reached
You'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.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
437d5054-9534-41c6-b90c-dd0c31363cfb
Commits
-
Reviewing files that changed from the base of the PR and between 5d28f03 and d3faf21.
Files ignored due to path filters: 2
-
pkgs/id/examples/rust-sketch/Cargo.lock is excluded by !**/*.lock
pkgs/id/examples/rust-sketch/sketch.wasm is excluded by !**/*.wasm
Files selected for processing: 8
-
pkgs/id/book/design/first-apps.md
pkgs/id/book/development/add-a-guest.md
pkgs/id/examples/rust-sketch/Cargo.toml
pkgs/id/examples/rust-sketch/README.md
pkgs/id/examples/rust-sketch/build.sh
pkgs/id/examples/rust-sketch/src/lib.rs
pkgs/id/justfile
pkgs/id/tests/sketch_host_play.rs
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 24, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
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.
|