Repository navigation
Fix templates pointing to non-existent Wasm binaries - #88
Merged
Merged
Conversation
The templates referenced a v0.1.0 release of fermyon/spin-sandboxes that does not exist, with all-zero placeholder digests, so `spin up` on any generated app failed. Repin every template and snippet to the canary prerelease of spinframework/spin-code-sandbox with its real sha256 digests. Update the update-template-refs.sh default repo and the template docs to match. Fixes spinframework#86 Signed-off-by: Thorsten Hans <thans@akamai.com>
karthik2804
approved these changes
Nov 20, 2026
karthik2804
left a comment
Collaborator
There was a problem hiding this comment.
Lgtm until we cut a 0.1 tag.
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.
Fixes #86
Problem
All templates (
sandbox-ts,sandbox-py,sandbox-app) and theirspin addsnippets referencedhttps://github.com/fermyon/spin-sandboxes/releases/download/v0.1.0/*.wasmwith placeholdersha256:0000…digests. That repo and release don't exist, so every generated app failed onspin up.Changes
sourceURLs to thecanarypre-release ofspinframework/spin-code-sandbox, with real digests. These were produced byscripts/update-template-refs.sh canaryand matchchecksums-canary.txt.scripts/update-template-refs.shnow defaults tospinframework/spin-code-sandbox.templates/README.mdandtemplates/sandbox-app/content/README.mdlink to the new repo. The "Placeholders" section now explains the canary pin.Testing
HOMEwith Spin 4.2.6.spin newwithsandbox-ts,sandbox-pyandsandbox-app: Spin downloaded all components, verified their digests, andspin upserved each app.spin add -t sandbox-tsandspin add -t sandbox-pyinto an existing app: same result.Known limitation
canaryis a rolling release. Each Release workflow run rebuilds its assets and changes the digests, so this pin breaks on the next canary run. The current canary was also built fromb23b72b, which predates the SIP egress changes in #80. Generated apps therefore get the older egress behaviour until canary is rebuilt and the pin is refreshed. The stable fix is to tagv0.1.0and runscripts/update-template-refs.sh v0.1.0.