Skip to content

chore(devnet): add upgrade rehearsal targets v1.11.0/v1.11.1/v1.12.0 (cherry-pick of #133)#138

Merged
mateeullahmalik merged 1 commit into
1.12.0from
cherry-pick/devnet-upgrade-1110-1120-to-1.12.0
May 11, 2026
Merged

chore(devnet): add upgrade rehearsal targets v1.11.0/v1.11.1/v1.12.0 (cherry-pick of #133)#138
mateeullahmalik merged 1 commit into
1.12.0from
cherry-pick/devnet-upgrade-1110-1120-to-1.12.0

Conversation

@mateeullahmalik
Copy link
Copy Markdown
Contributor

Cherry-pick of #133 (master commit be1212c9 / squash 59eaf74e) onto the 1.12.0 release branch.

Behavior change

Adds three Makefile.devnet targets matching the existing per-version pattern (this branch still uses the pre-#108 explicit-target convention, so the original commit applies cleanly):

devnet-upgrade-1110  → ./upgrade.sh v1.11.0 auto-height ../bin-v1.11.0
devnet-upgrade-1111  → ./upgrade.sh v1.11.1 auto-height ../bin-v1.11.1
devnet-upgrade-1120  → ./upgrade.sh v1.12.0 auto-height ../bin-v1.12.0

Also normalizes devnet-upgrade-1101 from ../bin../bin-v1.10.1 to match the per-version convention used by every other target.

Why backport

Every devnet rehearsal must have a local devnet target. Upgrade handlers app/upgrades/v1_11_0, v1_11_1, v1_12_0 all exist on 1.12.0 — verified — but the corresponding rehearsal targets did not, which is the exact gap #133 closed on master.

Cherry-pick mechanics

Local rehearsal evidence (from #133)

Original PR ran devnet-upgrade-1120 end-to-end against v1.11.1-hotfix FROM_TAG: chain halted at upgrade height 116, swapped binaries, resumed block production on v1.12.0; lumerad query upgrade applied v1.12.0 returned height: "116". Call paths are identical on this branch.

Risks

None. Pure additive Makefile change. The 1101 normalization fixes a pre-existing inconsistency and only affects which binary directory is required to exist when that target is invoked.

Rollback

git revert — Makefile-only.

Operator notes

bin-v1.X.Y/ directories are operator-staged (not shipped in repo), matching existing convention.

Add Makefile.devnet targets for the 3 missing rehearsal versions, matching
the existing pattern (devnet-upgrade-180/191/1100/1101).

Also normalize devnet-upgrade-1101 binaries-dir from ../bin to ../bin-v1.10.1
to match the per-version convention used by every other target.

Verified locally: ran devnet-upgrade-1120 end-to-end against v1.11.1-hotfix
FROM_TAG. Chain halted at upgrade height 116, swapped binaries, and resumed
block production on the v1.12.0 binary. 'lumerad query upgrade applied
v1.12.0' returns height 116 confirming the upgrade handler ran.

Note: bin-v1.X.Y/ directories are operator-staged (not shipped in repo),
matching the existing convention for all 4 prior targets.
@mateeullahmalik mateeullahmalik merged commit 407186d into 1.12.0 May 11, 2026
7 checks passed
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