You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Migration snapshots can carry an executionHash that does not match their execution section #30462
What a maintainer sees. When the execution-default refs were renamed from table/column to entry/field, five example migration snapshots were regenerated with the new keys but kept their old executionHash. The upgrade instruction for that change tells users to do the same with their own snapshots under migrations/snapshots/<hash>/. Nothing fails today, because the snapshot loader re-hashes only the storage section. If the loader ever checks executionHash, those snapshots, and every user snapshot edited by the instruction, will fail to load.
Where. The example snapshots under examples/*/migrations/app/snapshots/ that carry an execution section; the snapshot loader in the migration tooling; step 2 of upgrade-instructions/pending/execution-ref-entry-field/app/instructions.md (and the extension copy).
Likely fix. Before anything starts verifying executionHash on snapshots, either recompute it when snapshots are loaded or rewritten, or give the upgrade instruction a step that recomputes it, and regenerate the example snapshots.
Activity