Skip to content

fix: publish one snapshot pin across all targets - #23

Merged
rasros merged 1 commit into
mainfrom
fix/unified-snapshot-pins
Nov 16, 2026
Merged

rasros merged 1 commit into
mainfrom
fix/unified-snapshot-pins

Conversation

@rasros

@rasros rasros commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

What changed

  • Give each snapshot publication attempt a fresh -ci.<run>.<attempt>-SNAPSHOT base version, including reruns of only the publish job.
  • Verify every generated Maven publication exposes the same immutable timestamped pin, and write that pin to the release summary.
  • Run regression tests for the publication verifier in CI and document how consumers select the shared pin.

Why

Maven increments snapshot build numbers independently per artifact. The existing root/JVM artifacts are two uploads behind iOS, so publishing all targets preserves different exact versions. Fresh attempt namespaces start every artifact at build one and prevent partial retries or newly added targets from inheriting different counters.

Testing

  • Six Python regression tests passed, including rejection of mismatched platform build numbers and incomplete metadata.
  • actionlint and git diff --check passed.
  • A local Gradle Maven repository fixture reproduced counters 26 versus 28 with the old base version, then published both artifacts with the same timestamp and build one under a fresh attempt version. The production verifier accepted that publication.

@rasros
rasros force-pushed the fix/unified-snapshot-pins branch from 961a2a4 to c6b9420 Compare November 16, 2026 13:44
@rasros
rasros merged commit 1dfac2c into main Nov 16, 2026
1 check 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