Skip to content

Restore missing grave markers and broken-grave state - #93

Merged
BenCodez merged 3 commits into
mainfrom
fix/grave-recovery-restart
Nov 29, 2026
Merged

BenCodez merged 3 commits into
mainfrom
fix/grave-recovery-restart

Conversation

@BenCodez

@BenCodez BenCodez commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

Missing grave markers after restart currently move otherwise active saved graves into the broken list, and restoring a broken grave can leave its in-memory removal flag set. This restores active markers only in air/fluid blocks and resets the broken-grave state when an administrator restores it. Scheduled writes recheck removal state and material, so automatic repair cannot replace a solid block or resurrect a removed grave.

CHEST-mode list icons now avoid player-profile lookups. Startup cleanup avoids directly accessing the legacy-unavailable ITEM_DISPLAY enum field, and legacy item-map loading accepts different map implementations and numeric string slot keys. Startup expiry is applied after active-list insertion so expired records are not added back afterward.

Validation at exact head 494965fb: independent read-only source review approved the implementation; JDK 21 clean Maven package passed 13 tests with zero failures/errors/skips. Exact-head hosted Maven CI passed. The shaded JAR contains the expected descriptor/resources/entry point and relocated AdvancedCore, with no test libraries. Diff checks pass. CodeRabbit was skipped; this is not native acceptance.

This focused draft is based on main and must be reconciled separately with the broader lifecycle work in #84. No serialization format, schema, command or permission changes are included. Existing explicit admin same-location restoration behavior remains. The item GUI remains view-only, and stored PLAYER_HEAD markers can still request profiles. Live water/restart, offline-profile throttling and old-server behavior have not been reproduced; broad claim durability, unavailable-world handling and the separate armour/offhand serializer defect remain outside scope.

Refs #79, #78, #62, #47. These references do not claim complete reproduction or resolution of every reported symptom.

@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2b9964cd-bcec-43e3-9904-f1866a635f98
  • 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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T00:00:25.718051Z 494965f Draft marked ready
🔒 Security Review ✅ Completed 2026-11-25T00:02:04.496596Z 494965f Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@BenCodez
BenCodez merged commit 6f207fc into main Nov 29, 2026
2 checks passed
@BenCodez
BenCodez deleted the fix/grave-recovery-restart branch November 29, 2026 20:26
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.

2 participants