Skip to content

fix(ci): scope release asset glob + honest spotless check + correct dev version (GADP-055, GADP-041) - #52

Merged
craigpnnl merged 3 commits into
GridOPTICS:developfrom
craigpnnl:fix/release-asset-glob-and-formatcheck
Aug 1, 2026
Merged

fix(ci): scope release asset glob + honest spotless check + correct dev version (GADP-055, GADP-041)#52
craigpnnl merged 3 commits into
GridOPTICS:developfrom
craigpnnl:fix/release-asset-glob-and-formatcheck

Conversation

@craigpnnl

Copy link
Copy Markdown
Contributor

Narrows release.yml asset glob to current-version jars (stops the ~550-asset upload that tripped the secondary rate limit and left releases in Draft); removes || true so the spotless check fails honestly; reverts the premature 16.0.1-SNAPSHOT bump back to 16.0.0-SNAPSHOT since v16.0.0 never shipped. Dutch-reviewed APPROVE-WITH-NITS.

The release.yml asset glob (cnf/releaserepo/**/*.jar) attaches every
historical release jar in the repo (1278 jars across all versions back
to v2.0.45), not just the jars for the tag being released. The 16.0.0
release upload hit GitHub's secondary rate limit inside
softprops/action-gh-release and got stuck in Draft.

Derive the release version from the tag (github.ref_name, leading 'v'
stripped) and narrow the glob to cnf/releaserepo/**/*-<version>.jar, so
only the current release's jars (16, one per module) are attached
instead of the full history.

The dist/*.tar.gz source and binary archive attachments are unchanged;
they were not part of the bloat. The separate GOSS-Repository Maven
index push (push-to-local-goss-repository.py) is untouched.
./gradlew spotlessCheck --no-daemon || true in the spotless job made
the 'Code Formatting Check' check permanently green regardless of
outcome, letting a real formatting violation merge on PR GridOPTICS#50 while the
separate honest gate in format-check.yml reported the failure
correctly.

Remove the || true so this job fails honestly on a real formatting
violation. The quality-gate job already excludes spotless.result from
its pass/fail decision (it only hard-fails on dependency-check), so
this does not turn spotless into an unintended new blocker on the
overall pipeline; it only fixes the per-check status shown on the PR.
…SNAPSHOT

v16.0.0 never actually shipped (the release stuck in Draft, tag deleted).
This reverts the version-only content of ef1826c (Prepare next
development iteration (16.0.1-SNAPSHOT)) and restores the SNAPSHOT
qualifier across all 17 OSGi bundle .bnd files so develop reflects an
in-progress 16.0.0, not a released 16.0.0 or a premature 16.0.1.
@craigpnnl
craigpnnl merged commit 3ca5584 into GridOPTICS:develop Aug 1, 2026
8 checks passed
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