Skip to content
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.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(xsnap): Support latest and legacy variants #11030

Open
kriskowal opened this issue Feb 21, 2025 · 0 comments · May be fixed by #11031
Open

feat(xsnap): Support latest and legacy variants #11030

kriskowal opened this issue Feb 21, 2025 · 0 comments · May be fixed by #11031

Comments

@kriskowal
Copy link
Member

kriskowal commented Feb 21, 2025

xsnap currently presents a JavaScript API for interacting with a single version of the xnsap-worker binary. Due to limitations in upgrading some Agoric vats (virtual workers), many will need to maintain snapshot-and-resume as their only method for restarting. Down this “legacy” track, we can only move to newer versions of xsnap-worker that are snapshot compatible, so we foresee only back-porting security fixes on this train.

Whereas, we need a new “latest” variant of xsnap that is not obliged to maintain snapshot-and-resume, for use only on vats that can restart or upgrade from a durable store and be compelled to restart whenever there’s a chain software update that might add features to “latest” xsnap that might cause a contract to behave differently or produce an incompatible snapshot.

This feature would take the form of a new variant option that is "legacy" by default and "latest" electively. The feature must preserve the current constraint that packages are built from C on the installation target machine.

@kriskowal kriskowal changed the title Add versioning to the worker interface feat(xsnap): Support latest and legacy variants Feb 21, 2025
@kriskowal kriskowal linked a pull request Feb 21, 2025 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant