Skip to content

Fix Platform upgrade protocol, genesis and quorum compatibility - #34

Merged
ktechmidas merged 11 commits into
mainfrom
review/platform-compatibility-20261118
Nov 18, 2026
Merged

ktechmidas merged 11 commits into
mainfrom
review/platform-compatibility-20261118

Conversation

@ktechmidas

@ktechmidas ktechmidas commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Reviewable Platform compatibility stack

This PR is the focused compatibility portion of the former dash-network-go #33. It is stacked on the managed rollout/control-plane base in PR #35 and contains seven review commits (the original 4dba4dd patch was byte-equivalent to the already-applied 417781b change and therefore became an intentional empty cherry-pick).

Bugs and fixes

  • dc93e5f: admit one-step Platform protocol activation while upgrading.
  • 417781b / 4dba4dd: accept the live protocol adjacent to the reviewed plan; 4dba4dd maps to the same resulting change and is not duplicated.
  • b7d993b: preserve existing-chain Platform genesis and consensus identity instead of rendering a fresh incompatible genesis.
  • 99f979c: accept the compatible deployment recipe and recover an empty/interrupted upgrade.
  • d97e38b: supersede completed zero-progress node reset markers.
  • 06106be: accept the named Platform validator quorum type.
  • f5f6ab9: normalize bounded numeric/string/name/enum quorum forms and permit only the known same-plan observer-only resume compatibility.

These fixes were driven by Palmatum operation 071d54c9: the rollout exposed a live protocol/genesis mismatch and later stopped while observing a Platform quorum representation on validators-010. No node was changed by this publication work.

Verification

The combined stack passed go test ./..., git diff --check, and 56 Python node tests (8 skipped) in the retained local toolchain. Repository CI remains the independent review gate; an earlier Core 23 check failed because the base test scanned Core-24-only getdeploymentinfo, and the base PR now contains the scoped Core-23 test correction.

Deployment note

The Palmatum per-devnet pin and operation-specific binary now match this reviewed stack: commit bb7a6a76754a4a96af2ffff3ed02481b19955528, version 20261118T140800Z-bb7a6a76754a4a96af2ffff3ed02481b19955528, SHA-256 abdd55647decf5f41d592612306f735504dffb8904bae4a41b7bec24bf0d7892. A traceability manifest and rollback copies were installed while the runner was inactive. No chain or network operation was started.

@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 19 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9ed566f2-6fea-4af6-8d0d-843c3072fbfc
Commits

Reviewing files that changed from the base of the PR and between 9d12874 and 37bfc73.

Files selected for processing: 12

  • internal/lifecycle/lifecycle_test.go
  • internal/lifecycle/plan.go
  • internal/lifecycle/upgrade_plan.go
  • internal/lifecycle/upgrade_runner.go
  • internal/lifecycle/upgrade_test.go
  • internal/node/node.go
  • internal/node/observer.py
  • internal/node/testdata/test_upgrade.py
  • internal/node/testdata/test_worker.py
  • internal/node/upgrade.go
  • internal/node/upgrade.py
  • internal/node/worker.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@ktechmidas
ktechmidas changed the base branch from main to review/managed-rollout-engine-20261118 November 18, 2026 14:12
@ktechmidas
ktechmidas force-pushed the review/platform-compatibility-20261118 branch from be9c33a to bb7a6a7 Compare November 18, 2026 14:16
ktechmidas and others added 4 commits November 18, 2026 18:49
…8) into the Platform compatibility stack

Brings in the Core 23 test correction and the rollout gate fixes from the
base branch without rewriting this branch's reviewed commits.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…pplied

An upgrade interrupted before it reached any host could be superseded, but
its successor was chained to it: the journal's runtime names an upgrade from
the moment it starts. No host marker names that upgrade, so every validator
refused the successor (upgrade-previous-operation) unless it happened to hold
a reset marker, and the stalled plan was then locked out as well. The
successor now follows the stalled upgrade's own predecessor, in the plan and
in the runner's source check.

A plan built by an earlier executor against a stalled upgrade names the old
predecessor and is refused as "upgrade source changed after planning"; build
it again with this executor.

- An interrupted upgrade that still owns a mining pause is not superseded:
  only its own resume restores generation.
- RecipeCompatible admits the prior deployment recipe only while the node
  recipe is the one that claim was reviewed against, as
  UpgradeRecipeCompatible already does.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Brings in the merge with main and the review fixes from the base branch.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Brings in the second round of review fixes from the base branch.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@ktechmidas
ktechmidas changed the base branch from review/managed-rollout-engine-20261118 to main November 18, 2026 16:40
@ktechmidas
ktechmidas merged commit 3b6d795 into main Nov 18, 2026
12 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