From 0b215d621eba6cca1bb67f965dfa6f51fa8c7810 Mon Sep 17 00:00:00 2001 From: Linwei Shang Date: Sun, 7 Jun 2026 09:30:07 -0400 Subject: [PATCH] fix(asset-canister): bump sync plugin to v2.2.1 Point the sync step at the new migration-v2.2.1-6b48585 plugin release on dfinity/certified-assets. The new plugin fixes a sync failure when the recipe's `dir` is a nested path (e.g. `src/frontend/dist`): the previous plugin called `canonicalize`, which under WASI returns ENOENT for any path beneath a preopened dir whose guest name has more than one component, even though plain access works. Single-component dirs like `dist` were unaffected. Canister wasm is unchanged (still the legacy dfx assetstorage canister). - URL: https://github.com/dfinity/certified-assets/releases/download/migration-v2.2.1-6b48585/sync_plugin.wasm - sha256: ca7cb5666c30d2875f8d5e10535f8a53f97a86c79c263f7d5bdac2fdd1bbf83c Plugin fix: https://github.com/dfinity/certified-assets/pull/71 Reported: https://forum.dfinity.org/t/icp-cli-announcements-and-feedback-discussion/60410/97 --- recipes/asset-canister/recipe.hbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/asset-canister/recipe.hbs b/recipes/asset-canister/recipe.hbs index 85766c7..3700f56 100644 --- a/recipes/asset-canister/recipe.hbs +++ b/recipes/asset-canister/recipe.hbs @@ -42,7 +42,7 @@ build: sync: steps: - type: plugin - url: https://github.com/dfinity/certified-assets/releases/download/migration-v2.2.0-209d688/sync_plugin.wasm - sha256: 297c2ef05680d47ac70688d6cebed9bc3a41b2302f400739f894f4f413e6a5ee + url: https://github.com/dfinity/certified-assets/releases/download/migration-v2.2.1-6b48585/sync_plugin.wasm + sha256: ca7cb5666c30d2875f8d5e10535f8a53f97a86c79c263f7d5bdac2fdd1bbf83c dirs: - {{ dir }}