ci: require Connect platform JARs in release verification - #88
Merged
robinbraemer merged 3 commits intoJul 30, 2026
Conversation
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.
Intent
Tighten connect-java release.yml published-asset verification so it can only pass when a real Connect platform plugin JAR landed, using the same positive ^connect-(spigot|velocity|bungee).*.jar$ allowlist already proven in release-repair.yml. Preserve executable fail-before/pass-after regression coverage for the source.tar.gz false-positive case and keep release workflow documentation accurate. Treat plugin release, hub image rebuild, Gate release, Moxy consumption, deployment, production rollout, and merging as separate out-of-scope decisions; this change must not perform or alter any of them.
What Changed
release-repair.yml.source.tar.gzfails while a real plugin JAR passes.AGENTS.mdto document the strengthened verification contract.Risk Assessment
✅ Low: The patch is narrowly scoped, uses the requested positive plugin-JAR allowlist, preserves the regression guard, and the prior documentation issue is corrected.
Testing
Focused validation confirmed source.tar.gz is rejected, valid Connect platform JARs are accepted, the allowlists match, and documentation is accurate. Transient build outputs were removed.
Evidence: Release asset guard fixture evidence
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
🔧 **Review** - 1 issue found → auto-fixed ✅
.github/workflows/release.yml:160- The intent requires “keep release workflow documentation accurate,” but this changed comment still describes a “metadata blacklist” even thoughBUILD_FILTERis now a positive allowlist. Update it (and the adjacent failure message) to describe any non-matching asset, includingsource.tar.gz.🔧 Fix: Corrected positive plugin-JAR allowlist documentation
✅ Re-checked - no issues remain.
✅ **Test** - passed
✅ No issues found.
./gradlew :core:test --tests com.minekube.connect.release.ReleaseAssetVerificationTest./gradlew :core:test --tests com.minekube.connect.release.ReleaseAssetVerificationTest --tests com.minekube.connect.release.ReleaseRepairCapabilityTestDirect JQ/bash fixture exercising the release workflow filterExact BUILD_FILTER comparison between release.yml and release-repair.ymlUpdated AGENTS.md documentation assertion✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.