← Back to issue list

docs: mention removing passthrough in core20 to core22 migration

View original Github issue

Metadata

Project
snapcraft
Number
#6124
Type
pull request
State
merged
Author
gcomneno
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #6124 (5bbc654e3) updated the core20-to-core22 migration guide to require removing passthrough for public snaps and moving hook environment data.

Resolution: closed resolved

Reason: The documentation change was merged in PR #6124 at commit 5bbc654e3. It closes #5986 and explains that core22 snaps must move hook environment data outside passthrough keys.

Evaluated by: mr-cal-bot

No scores available.

Issue body

## Summary - mention that `passthrough` should be removed for production snaps targeting core22 and newer - add a migration example showing how hook environment data can be moved out of `passthrough` Closes #5986

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #6124 (5bbc654e3) updated the core20-to-core22 migration guide to require removing passthrough for public snaps and moving hook environment data.
stealth/space-bunny-alpha — closed resolved Merged in canonical/snapcraft#6124 (5bbc654e3), updating core20-to-core22 migration docs to remove passthrough and relocate hook environment data.
stealth/space-bunny-alpha — closed resolved Docs-only PR merged as commit 5bbc654e3: added a "Remove `passthrough` keys" section (with hook environment migration example) to the core20-to-core22 guide, closing issue #5986.
stealth/space-bunny-alpha — closed resolved Merged in snapcraft#6124 (5bbc654e3), adding core20-to-core22 guidance to remove passthrough and move hook environment data outside it.
qwen/qwen3.6-35b-a3b — — Merged documentation update clarifying that the passthrough key must be removed for production snaps targeting core22+. Adds a migration example for hook environment data and closes issue 5986. Review comments were addressed.
qwen3.6-35b-a3b-mtp-q6 — — Merged documentation update clarifying removal of the passthrough key for core22+ migrations. Added a migration example and noted Snap Store restrictions. Closes #5986.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#5986 (confidence 100%)

    The PR explicitly closes this documentation request with the migration-guide update.

Related issues

Issue Project State Summary Similarity
#5986 docs: core20->core22 migration guide should mention removing `passthrough` snapcraft closed Documentation updated by merged canonical/snapcraft#6124 (commit 5bbc654e3), telling core22 users to remove passthrough and move hook environment data.
92%
#5405 docs: migrate 'migrate from core20 to core22' snapcraft merged Merged the core20-to-core22 migration guide into main in commit c01e6a29f, documenting lifecycle command, grammar, architecture, environment-variable, and verification changes.
71%