Skip to content

Publish only version-moved Ships on default-branch push - #144

Merged
russwyte merged 1 commit into
mainfrom
feat/modver-publish
Aug 28, 2026
Merged

Publish only version-moved Ships on default-branch push#144
russwyte merged 1 commit into
mainfrom
feat/modver-publish

Conversation

@russwyte

Copy link
Copy Markdown
Contributor

Fifth implementation slice of independent module versioning (independent-module-versioning.md PR 5).

Library publish is Graph, MatrixCollapse.Off, and Gate.OnDefaultPush. A synthetic modver job writes the compact id array. Graph if: is membership in that array with no 'all' sentinel. A skipped ancestor publish-* does not skip a leaf that moved.

What lands

  • Gate.OnDefaultPush (push to zipxPushBranches or workflow_dispatch)
  • ZipxModver.publish and ModverRegistry (Maven Central, GitHub Packages, URL hatch)
  • zipxModverPublishModules / zipxModverPublishSigned
  • Skip-tolerance on library Graph publish; default-branch runs are not cancelled
  • ZipxDocs.pages still contributes tag triggers without OnReleaseTag publish
  • CacheEpoch.ShipCatalog bakes Modver.epochHash; remote cacheVersion stays JDK/OS
  • Generate refuses Aggregate/Layer/OnReleaseTag library publish when ships are present

Proof

core/testFull (723). docs/testFull. plugin/scripted. scalafmtCheckAll green.

Follow-up (PR 6): Independent versions docs, examples/monorepo dogfood.

Graph library publish is OnDefaultPush with a synthetic modver job.
Skip-tolerance lets a leaf publish when an ancestor did not move.
@russwyte
russwyte merged commit 1275635 into main Aug 28, 2026
8 checks passed
@russwyte
russwyte deleted the feat/modver-publish branch August 28, 2026 20:01
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