Conversation
This was referenced Sep 8, 2026
BenCodez
marked this pull request as ready for review
September 8, 2026 02:55
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Sep 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Third requested platform-preparation PR: the first user/data extraction step, scoped to the actual scalar read policy rather than attempting the entire storage and reward port in one change.
core.user.UserDataReaderwith neutralUserDataReadContext.bukkit.user.BukkitUserDataReadContext.Compatibility and scope
All setters, write callbacks, async write order, list encodings, database schemas, file formats and reward queues are unchanged. Existing UserData tests remain intact. The original private tempCache field is read through a supplier rather than introducing calls to an overridable getter. The actual published UserData diff was inspected: production changes are limited to the reader field/initialization/imports and delegation of the two scalar policy methods, plus the final file newline.
This begins the users/storage/reward phase; it does not claim portable storage providers, the full AdvancedCoreUser lifecycle, reward execution, offline delivery or the SQLite implementation. Those remain focused follow-ups. Native artifact packaging is also separate; the current full AdvancedCore JAR is not a mod artifact.
One existing POM, core/Bukkit packages, no submodules, no workflows, no dependency updates. This PR targets master independently of #313 because their changed production files do not overlap. No unpublished SimpleAPI#78 API is required.
Verified build
Existing Java CI with Maven — run 531 passed on Java 21. Inspected build job
101921425288and its actual Maven log:mvn -B -f AdvancedCore/pom.xml package— BUILD SUCCESS.AdvancedCore.jarwas generated and normal shading/minimization completed.0e060e57b33408ca62aa0e52c0e448e31efea517for headce94c905278681f93cd42dbb2c1d0a28eb032ef1and base5fe205bca26236a92ee2fda1634f056639b307a3.Locally compiled the shared read classes with Java 21 and the previously validated SimpleAPI core data-value artifact. The same pure-Java fixture passed all eight behavioral scenarios: fetch-mode precedence, invalid temporary values, cache capture/callbacks, missing-cache handling, scalar conversion differences, SQL duplicate/error behavior, empty/flat reads and live temporary-map changes. This is component validation, not a full project build.
The editing container has no Maven/dependency network access. Full Maven results above are from GitHub Actions, not local Maven. No current downstream VotingPlugin build, live database/server test or independent reviewer execution is claimed. Source inspection is same-context.
Related: #313 and BenCodez/SimpleAPI#78. Nothing is merged, deployed or remotely published.
AI disclosure: This implementation and pull-request description were prepared with assistance from ChatGPT.