-
Notifications
You must be signed in to change notification settings - Fork 0
Fail closed when release JAR selection is ambiguous or development-only #35
Copy link
Copy link
Open
Labels
P2High: major functionality is broken or crashes with limited workaroundHigh: major functionality is broken or crashes with limited workaroundarea:compatibilityCross-mod, version, or platform compatibilityCross-mod, version, or platform compatibilityloader:commonShared Common implementation or assetsShared Common implementation or assetsstatus:backlogValid work that is not currently scheduledValid work that is not currently scheduledtype:bugA defect or incorrect behaviorA defect or incorrect behavior
Description
Metadata
Metadata
Assignees
Labels
P2High: major functionality is broken or crashes with limited workaroundHigh: major functionality is broken or crashes with limited workaroundarea:compatibilityCross-mod, version, or platform compatibilityCross-mod, version, or platform compatibilityloader:commonShared Common implementation or assetsShared Common implementation or assetsstatus:backlogValid work that is not currently scheduledValid work that is not currently scheduledtype:bugA defect or incorrect behaviorA defect or incorrect behavior
Summary
package_release_target.py excludes sources and javadoc JARs but allows development classifiers, then chooses the newest matching file by modification time.
Evidence
Impact
GitHub, Modrinth, and CurseForge can receive a remapped or development artifact instead of the production mod JAR.
Reproduction / verification
Proposed direction
Share one strict artifact-selection helper between test and release tooling, exclude all classifier artifacts, and fail on ambiguity. Prefer a build-generated artifact manifest with path and digest.
Acceptance criteria
Audit provenance
Candidate #9 from the read-only repository audit performed on 2026-07-20. This is separate from existing issues #3, #4, #25, and #27 unless explicitly linked later.