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(loader/cache): add data dir fallback if wasm layer not found #1941

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

vdice
Copy link
Member

@vdice vdice commented Oct 25, 2023

Pre-emptive 'futureproofing' in anticipation of the wasm layer media type changing in the future (see #1882 (comment)).

This change is intended for the forthcoming 2.0 release. With this logic in place, 2.0 clients should continue to be able to pull Spin apps published by a future version of Spin with the wasm layer media type changed.

Signed-off-by: Vaughn Dice <vaughn.dice@fermyon.com>
Copy link
Collaborator

@lann lann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could probably just merge the wasm and data dirs together anyway...

@vdice
Copy link
Member Author

vdice commented Oct 25, 2023

We could probably just merge the wasm and data dirs together anyway...

Good point... we should be able to do that in a refactor post-2.0 if we don't get to it beforehand.

@vdice vdice merged commit ef3998b into fermyon:main Oct 25, 2023
9 checks passed
@vdice vdice deleted the feat/wasm-cache-fallback branch October 25, 2023 19:36
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 this pull request may close these issues.

2 participants