Skip to content

improve(asset-canister): add WASM version downgrade pitfall#145

Merged
marc0olo merged 1 commit intomainfrom
improve/asset-canister-skill
Apr 2, 2026
Merged

improve(asset-canister): add WASM version downgrade pitfall#145
marc0olo merged 1 commit intomainfrom
improve/asset-canister-skill

Conversation

@marc0olo
Copy link
Copy Markdown
Member

@marc0olo marc0olo commented Apr 2, 2026

Summary

  • Adds pitfall #9: downgrading asset canister WASM version can cause "Cannot parse header" panics
  • Recommends preferring the @dfinity/asset-canister recipe over type: pre-built with manual WASM URLs
  • Notes reinstall mode as an option for intentional downgrades

Addresses #135 (Obs 1), #136 (F4).

Add pitfall #9 warning that deploying an older WASM version onto a
canister running a newer one can cause "Cannot parse header" panics.
Recommends preferring the recipe over pre-built WASM URLs.

Addresses #135 (Obs 1), #136 (F4).
@marc0olo marc0olo requested review from a team and JoshDFN as code owners April 2, 2026 08:25
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 2, 2026

Skill Validation Report

Validating skill: /home/runner/work/icskills/icskills/skills/asset-canister

Structure

  • Pass: SKILL.md found

Frontmatter

  • Pass: name: "asset-canister" (valid)
  • Pass: description: (322 chars)
  • Pass: license: "Apache-2.0"
  • Pass: compatibility: (31 chars)
  • Pass: metadata: (2 entries)

Markdown

  • Pass: no unclosed code fences found

Tokens

File Tokens
SKILL.md body 3,194
Total 3,194

Content Analysis

Metric Value
Word count 1,947
Code block ratio 0.39
Imperative ratio 0.11
Information density 0.25
Instruction specificity 0.87
Sections 16
List items 19
Code blocks 9

Contamination Analysis

Metric Value
Contamination level low
Contamination score 0.12
Primary language category shell
Scope breadth 3
  • Warning: Language mismatch: config, javascript (2 categories differ from primary)

Result: passed

Project Checks


✓ Project checks passed for 1 skills (0 warnings)

@marc0olo marc0olo merged commit 76ca0e3 into main Apr 2, 2026
6 checks passed
@marc0olo marc0olo deleted the improve/asset-canister-skill branch April 2, 2026 08:27
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