docs: mention removing passthrough in core20 to core22 migration
Metadata
Current evaluation
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.
Suggested action: —
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 |
|---|---|---|---|---|
| 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged documentation update clarifying that the passthrough key must be removed when migrating snaps from core20 to core22 or newer. Added a migration example, simplified wording, and clarified Snap Store restrictions. Closes #5986. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5986 docs: core20->core22 migration guide should mention removing `passthrough` | snapcraft | closed | Closed and assigned to a contributor for the requested documentation update. The core20 to core22 migration guide will be updated to warn against using the passthrough key for production snaps and provide the correct replacement structure. | |
| #5405 docs: migrate 'migrate from core20 to core22' | snapcraft | merged | Merged documentation update migrating the core20 to core22 base change guide. Approved by two reviewers and passed lint checks. Despite failing CI integration tests on Ubuntu 22.04, 24.04, and store, changes were merged. |