Skip to content

build!: publish fewer files to Maven Central - #156

Merged
bbasinsk merged 1 commit into
mainfrom
build/cut-central-file-count
Dec 5, 2026
Merged

bbasinsk merged 1 commit into
mainfrom
build/cut-central-file-count

Conversation

@bbasinsk

@bbasinsk bbasinsk commented Dec 5, 2026 •

Copy link
Copy Markdown
Owner

No ticket. Context: failed 0.9.0 deploy.

Status: head 6feaf16 · merge readiness ready · risk medium

PR report

bbasinsk/katalyst #156 · main 10aa447 → head 6feaf16 · no local-only changes.

Merge readiness: ready · Risk: medium · head 6feaf16

Readiness

  • The required check build passed at 6feaf16. claude-review passed with no findings. There are no review threads.
  • Still waiting on you: no file is on the human-review list. Central's acceptance of a signed bundle without SHA-256 and SHA-512 files can only be proven by the next real release.

Risk

Factor Assessment Evidence
Impact medium The change alters publish configuration and removes the iosX64 artifacts that consumers on Intel simulators resolve.
Rollback two-way Earlier versions stay on Central, and a revert restores the target and checksums in the next release.
Error detection visible An iosX64 consumer fails at dependency resolution. If Central needed SHA-256 files, its deploy validation would fail the release job.

Quality profile

Dimension Assessment Evidence or remaining concern
Behavior and scope No material concern identified The diff only removes iosX64() from 8 modules and adds one system property in gradle.properties.
Maintainability No material concern identified It sets one property for the whole build, with a comment that gives the reason.
Correctness risk No material concern identified The Central requirements list only MD5 and SHA-1 checksums as required. No module had iosX64-specific source sets.
Concept coherence Not applicable No concepts are introduced or replaced.
Verification No material concern identified CI build passed for all targets at 6feaf16, and a local :schema-hocon publish showed the checksum effect. A real Central deploy has not run.

Blockers: none identified. Main residual risk: Central's validation of the signed bundle without SHA-256 files is not yet proven. Main verification gap: a real Central deploy.

1. Delivered behavior

  • Consumers. Before, each release had iosX64 artifacts for schema, schema-json, schema-json-kotlinx, schema-kotlinx-datetime, http, http-client-ktor-3, tuple and validation. After, it has none. This is a breaking change for Intel iOS simulators.
  • Release operations. Before, each file uploaded with md5, sha1, sha256 and sha512 checksums. After, it uploads with md5 and sha1 only. Each release uploads 83 publications instead of 91.

2. Change accounting

Subsystem Category Files Added Removed Net
Module build scripts config 8 0 8 −8
gradle.properties config 1 4 0 +4
Total 9 4 8 −4

3. Maintainability and bug hotspots

  • Unverified risk (introduced): org.gradle.internal.publish.checksums.insecure is an internal Gradle property. A future Gradle version could rename it. If that happens, the SHA-256 and SHA-512 files come back without warning and the file count rises again. Gradle documents the flag, and nothing else depends on it. No action is needed now. Check the file count after you upgrade Gradle.

4. Concept changes and retirement

None.

5. Review and verification evidence

Evidence Revision / working tree Result Scope and limits
Unsigned :schema-hocon publish to a local file repo, before and after 10aa447 / 6feaf16 content 55 → 33 files: no sha256 or sha512 files JVM-only module. Signed .asc files not covered.
CI build 6feaf16 pass Required check: full build and tests
claude-review 6feaf16 pass, no findings Automated review

Review: author only. There are no review threads.

6. Human attention

Human-review list: none.

  • Confirm the next real Central deploy passes validation without the SHA-256 and SHA-512 files.

Why

The 0.9.0 deploy failed. Central refused it because the bbasinsk organization reached its monthly file count limit (failed run). Each release uploads 91 publications, and every file counts, including checksum files.

What changes

  • Skip SHA-256 and SHA-512 checksum files. Central requires only MD5 and SHA-1. gradle.properties sets systemProp.org.gradle.internal.publish.checksums.insecure=true.
  • Drop the iosX64 target from the 8 modules that had it. Kotlin has deprecated Intel iOS simulators. Each release publishes 8 fewer publications (91 → 83).

Breaking: Katalyst no longer publishes iosX64 artifacts.

Evidence

Unsigned publish of :schema-hocon to a local file repository, before and after this change:

jar pom module json md5 sha1 sha256 sha512 total
before 6 2 2 1 11 11 11 11 55
after 6 2 2 1 11 11 0 0 33

This PR does not raise Central's limit. The 0.9.0 deploy can run again after the January 1 reset, or sooner if Sonatype raises the limit.

🤖 Generated with Claude Code

Central now caps each organization's monthly file count, and the 0.9.0
deploy failed on that cap. Cut the files each release uploads:

- Skip SHA-256 and SHA-512 checksum files. Central requires only MD5
  and SHA-1. One schema-hocon publish drops from 55 to 33 files.
- Drop the iosX64 target from all 8 modules that had it. Kotlin has
  deprecated Intel iOS simulators. This removes 8 publications per
  release.

BREAKING CHANGE: Katalyst no longer publishes iosX64 artifacts. Build
for iosSimulatorArm64 on Apple silicon instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings December 5, 2026 01:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@claude

claude Bot commented Dec 5, 2026

Copy link
Copy Markdown

No findings.

@bbasinsk
bbasinsk merged commit 6318349 into main Dec 5, 2026
2 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.

2 participants