Skip to content

Configure Oracle JDK 25/27, upgrade Paper 26.3, and fix CI - #1

Merged
mrfloris merged 8 commits into
mainfrom
codex/setup-agent-skills
Oct 25, 2026
Merged

mrfloris merged 8 commits into
mainfrom
codex/setup-agent-skills

Conversation

@mrfloris

@mrfloris mrfloris commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Update the maintained fork's build and verification workflow for Paper 26.3 build 222 STABLE, keeping plugin version 2.0.2 and release build 031.

Changes

  • Run Gradle and all Java compilation on Oracle JDK 25 with --release 25; run Java tests and child JVMs on Oracle JDK 27. Resolve installed macOS JDKs dynamically, validate their actual versions and vendor, and reject downloads or conflicting toolchain settings.
  • Pin the Paper 222 STABLE server checksum and exact API, lock dependencies, and add isolated fixture preparation and verification. Keep deployment explicit, with stopped-server checks, and improve smoke-test fixture selection and process cleanup.
  • Replace the stale Maven CI job with the canonical Gradle launcher, Oracle 25/27 setup, and artifact validation. Document the fork activation required for automatic push runs and pin upload-artifact v7.0.2 to remove the Node.js 20 deprecation warning.
  • Update build documentation, agent conventions, and dated verification records. Plugin Java sources, commands, permissions, and identity are unchanged.

Validation

  • PR build passed: clean build, 3 Java tests, 48 Python tests, verification of all 12 plugin classes as Java 25 bytecode, and successful artifact upload. Automatic push CI also passed.
  • CodeQL analysis passed for Java/Kotlin and GitHub Actions; the PR's code-scanning check reports no new alerts in changed code.
  • The earlier local Paper verification recorded 93 checks across four disposable server lifecycles on Oracle 27. Those servers are not being started again for this PR.
  • Connected-player gameplay and the complete third-party plugin stack remain outside the automated verification.

This PR targets main in mrfdev/1MB-MapHide. No merge or deployment is part of this change; the CI job does not start servers.

Replace the stale Maven workflow with a pinned Java 25 and Gradle build. Resolve BlueMapAPI and PlaceholderAPI from their official repositories so clean checkouts can compile and package the plugin without local server jars.
Select the exact release JDK through JAVA_HOME for Gradle, compilation, tests, and CI while retaining Java 25 bytecode and Paper 26.2 build 84. Add isolated dual-runtime smoke checks and preserve historical verification records. Handle current and staged PaperScript checksums independently.
Resolve and validate installed Oracle JDKs dynamically, enforce compiler and test toolchains, and reject automatic provisioning or conflicting overrides. Update local build commands, CI configuration, smoke runtime selection, and documentation.

Verified the standalone selection with clean check: 3 Java tests, 15 Python tests, and Java 25 bytecode checks. Keep the pre-existing Paper upgrade and fixture work outside this commit.
Pin the latest verified Paper 26.3 STABLE server and exact API, lock dependencies, and prepare isolated fixtures without changing historical servers. Keep normal builds free of deployment.

Align smoke fixture selection with release configuration, guard direct Java launches before deployment, and make smoke shutdown cleanup reliable when stdin closes. Record official API/default review and local verification.

Validation: clean locked build, 3 Java tests, 48 Python tests, 93 checks across four Paper lifecycles on Oracle 27, and live/stopped deployment-guard checks. No deployment or remote CI run.
GitHub recorded pushes but suppressed inherited workflows behind the fork
activation gate, despite enabled Actions permissions, an active workflow,
and a successful manual run. Enable the fork's workflows in the Actions UI
and document how to verify an event=push run for the exact commit.

Keep the existing unrestricted push trigger, build-only job, and read-only
workflow permissions. This documentation push exercises the repaired
automatic trigger without deploying or starting Paper servers.
Replace the Node 20 action with the current Node 24 release to remove
GitHub Actions' runtime deprecation warning. Pin the official release
commit and retain the artifact name, path, failure policy, and retention.
@mrfloris
mrfloris merged commit 45d6f2e into main Oct 25, 2026
5 checks passed
@mrfloris
mrfloris deleted the codex/setup-agent-skills branch October 25, 2026 11:30
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.

1 participant