Skip to content

fix(test): LAST_SHIPPED stays 17 until 7.16 actually ships - #51

Merged
BitHighlander merged 1 commit into
masterfrom
fix/u5-last-shipped-stays-17
Aug 22, 2026
Merged

fix(test): LAST_SHIPPED stays 17 until 7.16 actually ships#51
BitHighlander merged 1 commit into
masterfrom
fix/u5-last-shipped-stays-17

Conversation

@BitHighlander

Copy link
Copy Markdown
Owner

My own U5 update asserted STORAGE_VERSION_LAST_SHIPPED == 20. That is wrong in the specific way storage.h warns about two lines above the constant:

Bump this baseline when a release ships, in the release commit, never to make a build compile: lowering it is the exact edit that turns every upgrade in the field into a silent wipe.

LAST_SHIPPED is the high-water mark of what is in the field, not what sits in the tree. 7.15 shipped V17; 7.16 has shipped nothing. Asserting 20 would have forced the next person to raise the baseline to make the test pass — the edit the gate exists to prevent, arrived at by way of the gate itself.

The compile-time assert only needs STORAGE_VERSION >= LAST_SHIPPED, and 20 >= 17 holds, so the raise was never required. It moves in the release commit that tags 7.16.

My own U5 update asserted STORAGE_VERSION_LAST_SHIPPED == 20, which is wrong in
the specific way storage.h warns about two lines above the constant:

    "Bump this baseline when a release ships, in the release commit, never to
     make a build compile: lowering it is the exact edit that turns every
     upgrade in the field into a silent wipe."

LAST_SHIPPED is the high-water mark of what is IN THE FIELD, not of what sits
in the tree. 7.15 shipped V17; 7.16 has shipped nothing. Asserting 20 would
have forced the next person to raise the baseline to make the test pass -- the
edit the gate exists to prevent, arrived at by way of the gate itself.

The compile-time assert only requires STORAGE_VERSION >= LAST_SHIPPED, and
20 >= 17 holds, so the raise was never needed. It moves in the release commit
that tags 7.16.
@BitHighlander
BitHighlander merged commit 0abf93e into master Aug 22, 2026
2 of 5 checks passed
@BitHighlander
BitHighlander deleted the fix/u5-last-shipped-stays-17 branch August 22, 2026 01:06
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.

1 participant