Skip to content

Use the correct Java 1.21.1 world data version - #693

Merged
athNdev merged 1 commit into
mainfrom
codex/world-compat-java-1211
Nov 20, 2026
Merged

athNdev merged 1 commit into
mainfrom
codex/world-compat-java-1211

Conversation

@athNdev

@athNdev athNdev commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Fix a false World Library downgrade refusal in Minecraft Java 1.21.1. Both real host and bridge qualifications reached import, preview, and pre-swap backup. Bind then returned the in-place-downgrade precondition on an archive created by the same 1.21.1 server release. Hosted evidence

Mojang's official Java 1.21.1 client JAR was verified against the published size and SHA-1. Its version.json reports world_version: 3955 and protocol_version: 767. The catalog previously used 3953 for both 1.21 and 1.21.1. Mojang release metadata

The regression failed on the prior candidate, then passed after correcting the 1.21.1 entry. It exercises compatibility on a persisted world with DataVersion 3955 and confirms the actual 1.21 downgrade remains blocked. Local World Library and focused World RPC tests, targeted vet, knowledge lint (40/40), and diff checks passed. The new product candidate still needs the real host/bridge swap and rejoin. Refs OSS-246, OSS-413.

@athNdev

athNdev commented Nov 20, 2026

Copy link
Copy Markdown
Owner Author

Merge verification for 13dadefaba539d5a69d1d0f991cd4265c240743a on base 23b77608dd150223fff8dc01485e562abdf92638.

  • Reviewed the three-file diff. Verified Mojang's released Java 1.21.1 client JAR against its manifest hash and size. Its version.json identifies world data version 3955, while Java 1.21 remains 3953.
  • The compatibility regression failed on the previous base, then passed on this head. Same-release worlds stay eligible and a 3955-to-3953 downgrade is refused. An additional disposable go test -overlay <overlay.json> ./internal/rpc/services -run '^TestImportedWorldCanBePreviewedAndBound$' -count=1 -v run changed the imported world fixture to actual 3955 and passed upload, preview, and bind. The lifecycle in this fixture is simulated.
  • Local World Library tests, focused World RPC tests, targeted Go vet, knowledge lint (40/40), diff check, and all 16 hosted checks passed.

The real joined-JVM release test remains required on the superseding staged product.

@athNdev
athNdev merged commit 46d2cbc into main Nov 20, 2026
16 checks passed
@athNdev
athNdev deleted the codex/world-compat-java-1211 branch November 20, 2026 11:56
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