Skip to content

Preserve death rewards when grave preparation is rejected - #100

Open
BenCodez wants to merge 1 commit into
mainfrom
fix/death-preparation-rejection
Open

BenCodez wants to merge 1 commit into
mainfrom
fix/death-preparation-rejection

Conversation

@BenCodez

@BenCodez BenCodez commented Dec 5, 2026

Copy link
Copy Markdown
Owner

Preserves native death drops and XP when grave preparation or scheduler submission fails before capture. Item-rule evaluation, copied item snapshots and display configuration are prepared before native rewards are cleared. Grave-limit work stays on the death caller, and the same queued runnable cannot create a grave twice.

This is a separate, bounded correction: two production files and one regression test file on current main. It does not include PR84's helpers, navigation, reminders or broader recovery design, and it does not depend on the equipment serialization PR.

Validation: 25 tests across 4 suites passed with zero failures, errors or skips, including all 13 inherited tests. The exact three-file source tree received independent approval for the rejection/preparation scope. Clean package and fresh shaded-JAR checks passed; retained JAR SHA-256: bcc4ef10476bf5239178ba9da8bfc2f777e1c62ca7c48ed8da46e371b8d934df. Unchanged source/artifact evidence was reused for publication.

Remaining limits: after capture, cancellation or loss of the delayed creation callback, marker/chunk failure before registration, and terminal storage-write failure can still lose items or XP. The backend initialization flag is not a health check or durable acknowledgement. This fix does not establish full item preservation, crash recovery or native-server acceptance; those paths remain unresolved and held. No persistence-format or schema change is included. Merge remains manual.

Prepare item snapshots and display configuration before capture.
Preserve native rewards when setup or scheduler submission fails.
Keep grave-limit effects on the death caller and prevent callback reentry.
@coderabbitai

coderabbitai Bot commented Dec 5, 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: 9a4cbda0-3b0b-4dfc-94ca-da195ddc88e9
  • 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 Dec 5, 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-12-05T04:06:59.402482Z 0f872c3 PR opened
🔒 Security Review ✅ Completed 2026-12-05T04:08:11.958158Z 0f872c3 PR opened
ℹ️ 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.

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