WASM snapshot PoC#1265
Open
eamsden wants to merge 9 commits into
Open
Conversation
Remove proto dupe Take more things out of workflow crate Attempting to add interfaces for WASM/Native workflow execution Move more things behind runtime interfaces Keep job sequencing logic on host Consolidate shared data Various cleanup Fix two small regressions Fix rebase issues
Pin Wasmtime to the Temporal fork revision that provides the experimental store snapshot API. Update the WASM workflow cache snapshot path to use the generic Wasmtime snapshot/restore APIs and preserve the workflow-instance resource representation across rehydration. Extend the sample WASM workflow component with timer-based workflows that exercise snapshot rehydration. Add an explicit WAT-backed funcref table mutation helper and integration coverage that verifies the final component contains table.get/table.set/call_indirect and that the mutated funcref table state survives snapshot restore.
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.
See also wasmtime modifications at https://github.com/bytecodealliance/wasmtime/compare/main...temporalio:wasmtime:temporal-snapshotting?expand=1