Guard legacy metadata types before central pack canary #6

Closed
unimatrix wants to merge 0 commits from fix/central-pack-metadata-types into main
Owner

The central adapter read equipment_mark as STRING before trying INTEGER, but Paper throws when an existing key has a different primitive type. Check has(key,type) before all native ID, quality and MK reads. Support valid STRING/INTEGER marks and ignore malformed legacy values without mutation. API contract: https://jd.papermc.io/paper/1.21.8/io/papermc/paper/persistence/PersistentDataContainerView.html

Exact head77cf4fd023cc944f02c90ad6a9e0566357707145 PASSED canonicalCI21/API1002/job1015: all eight module builds/tests,46 Python checks and the three new mixed-primitive PDC regression tests. Artifact6857: GUI1.1.34 SHA2564d30ea0855e3eaf45307c7c802c031ebd34bb444a17fb76199827ed91bd1fb7b. Pack artwork, backend source and deployment tools unchanged. The complete ZIP is byte-identical to CI20,17,082,715bytes SHA2568553a730579fd5f594a21a9d213d065a2d4ef89d4ad272ea5230355e447dbc6e, under this new source-named immutable filename.

Coordinator confirmed1.1.33 was never staged/installed; this corrected exact artifact supersedes it for canary. No deployment or connected-client success claimed yet. Select ONLY DunerealmsGUI.jar, preserve all working backend JARs.

The central adapter read equipment_mark as STRING before trying INTEGER, but Paper throws when an existing key has a different primitive type. Check has(key,type) before all native ID, quality and MK reads. Support valid STRING/INTEGER marks and ignore malformed legacy values without mutation. API contract: https://jd.papermc.io/paper/1.21.8/io/papermc/paper/persistence/PersistentDataContainerView.html Exact head77cf4fd023cc944f02c90ad6a9e0566357707145 PASSED canonicalCI21/API1002/job1015: all eight module builds/tests,46 Python checks and the three new mixed-primitive PDC regression tests. Artifact6857: GUI1.1.34 SHA2564d30ea0855e3eaf45307c7c802c031ebd34bb444a17fb76199827ed91bd1fb7b. Pack artwork, backend source and deployment tools unchanged. The complete ZIP is byte-identical to CI20,17,082,715bytes SHA2568553a730579fd5f594a21a9d213d065a2d4ef89d4ad272ea5230355e447dbc6e, under this new source-named immutable filename. Coordinator confirmed1.1.33 was never staged/installed; this corrected exact artifact supersedes it for canary. No deployment or connected-client success claimed yet. Select ONLY DunerealmsGUI.jar, preserve all working backend JARs.
unimatrix closed this pull request 2026-11-29 08:37:19 +01:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
unimatrix/plugins!6
No description provided.