Repository navigation
Complete FoliaLib 0.5.1 player scheduler compatibility - #369
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📜 Recent review details
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
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. |
After the enum import correction, the FoliaLib 0.5.1 upgrade still fails test compilation because the scheduler fixture returns
ServerImplementationwheregetImpl()now returnsPlatformScheduler. Update that fixture and usegetScheduler()for player dispatch.FoliaLib can both invoke the retirement fallback and complete the admission future as retired for one task. Share one claim across dispatch, retirement, and rejection so repeated or late signals cannot invoke another callback after work is retained for retry. Match admission enum names without coupling to an original or relocated enum class.
Validation:
mvn -U -f AdvancedCore/pom.xml clean verifypasses: 1,490 regular tests and two packaged-artifact tests.mvn -f AdvancedCore/pom.xml package -Dbuild.number=1282 -P deploy-snapshotpasses through packaging; no deployment was run.3.8.2-SNAPSHOT, SimpleAPI1.0.2-20261019.030111-43, FoliaLib0.5.1. The final artifact has one relocated FoliaLib namespace; its 20 FoliaLib classes match the resolved SimpleAPI JAR byte for byte. The package test loads its scheduler/enum contract independently of the dependency classpath.The FoliaLib POM is currently accessible from Nexus and upstream. No dependency uploads or dependency-removal changes are included. VotingPlugin downstream validation also passes with the fixture migration in VotingPlugin #1727: 2,585 regular tests passed, one optional paired-artifact integration test skipped, and all five packaged-artifact tests passed against the exact local AdvancedCore candidate. Its final JAR contains one relocated FoliaLib namespace and the corrected scheduler calls. This PR does not establish a fix for the spectator-mode report.
Summary by CodeRabbit