Conversation
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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (5)
Included review availability: Your plan provides up to 10 included reviews per hour; 4 remain after this review. 📜 Recent review details⏰ Context from checks skipped due to timeout. (1)
🧰 Additional context used🪛 ast-grep (0.45.3)VotingPluginCore/src/test/java/com/bencodez/votingplugin/core/vote/VoteCoreArtifactTest.java[warning] 27-27: Avoid user-generated class names for reflection (unsafe-reflection-java) 📝 WalkthroughWalkthroughThe PR adds a Java 21 Maven module for shared vote-core sources. It validates the packaged JAR, builds the module in CI, ignores build output, and documents the artifact boundary and build process. ChangesStandalone vote-core artifact
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant Maven
participant VoteCoreSources
participant VoteCoreArtifactTest
Maven->>VoteCoreSources: Compile selected vote-core sources
Maven->>VoteCoreArtifactTest: Run package-level artifact test
VoteCoreArtifactTest->>Maven: Inspect generated JAR
VoteCoreArtifactTest->>VoteCoreSources: Load packaged vote-core classes
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (4 skipped: 4 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
Summary
Build the existing
com.bencodez.votingplugin.core.votesources as a second, standalone Maven artifact for future Fabric and NeoForge adapters.VotingPluginCorecompiles those same 12 source files with Java 21 and no production dependencies. The currentVotingPluginPOM, shaded plugin JAR, and production vote/reward path are unchanged.This follows the platform-neutral core in #1608 and the Bukkit policy use in #1614. It adds no native loader or runtime support yet. In particular, it does not switch Bukkit to
SharedVoteProcessoror change reward APIs/YAML behavior.Checks
mvn -B -f VotingPlugin/pom.xml clean package: 1,222 unit tests plus one packaged-artifact test, no failures/errors.mvn -B -f VotingPluginCore/pom.xml clean package: compiles 12 shared sources; one package-phase artifact test passes.jdepsreports onlyjava.base;mvn dependency:tree -Dscope=compilehas no compile dependencies.git diff --checkand ZIP integrity checks pass.Artifacts:
VotingPlugin/target/VotingPlugin.jar(21,711,129 bytes, SHA-2561a32a9cedd24c9a0ba95aadb2b301801c6a87ca55cf853eac405f521b9c001f3) andVotingPluginCore/target/votingplugin-vote-core-7.1.2-SNAPSHOT.jar(23,898 bytes, SHA-25667c7c873d64be7812e2f4ace8deb09f70f8fee916c3b6c14cf4ee007c299fcca).Summary by CodeRabbit
New Features
Documentation
Chores