Skip to content

ci: shared sign-fatjars.sh + cross-repo byte-identical shared files - #160

Merged
bernardladenthin merged 3 commits into
mainfrom
claude/bitcoinaddressfinder-jar-upload-k0tkj7
Jul 24, 2026
Merged

ci: shared sign-fatjars.sh + cross-repo byte-identical shared files#160
bernardladenthin merged 3 commits into
mainfrom
claude/bitcoinaddressfinder-jar-upload-k0tkj7

Conversation

@bernardladenthin

Copy link
Copy Markdown
Owner

Summary

  • Sign the per-classifier fat jars via the cross-repo shared .github/sign-fatjars.sh (byte-identical with java-llama.cpp) instead of an inline gpg loop — the classifier build loop stays; the fat jars are collected into the asset dir and signed uniformly. Adds a "Fat-jar release assets" pointer in CLAUDE.md.
  • Unify .github/signing-selftest/ (build.gradle.kts + settings.gradle.kts) to MIT OR Apache-2.0 so the throwaway verify-signing-key-gradle project is truly byte-identical across all four repos.
  • Sync lombok.config to the canonical workspace/policies/lombok-config.md block verbatim (directives already identical; only comment rationale drifted).

CI-config / docs only — no production code changes. Fat-jar signing runs only on the dispatch-gated publish path.

Test plan

  • No source changes; module behavior unaffected
  • Classifier build + rename mechanics verified locally (default 74 MB CPU jar; vulkan-linux-x86-64 25 MB single-backend)
  • CI green on this branch (the fat-jar loop itself only exercises on a publish dispatch)
  • Docs updated (CLAUDE.md pointer; lombok rationale centralized in workspace)

Related issues / PRs

Coordinated cross-repo change; the canonical docs + the checksum drift-check table land in the workspace PR (same branch name). Sibling PRs: java-llama.cpp / BitcoinAddressFinder / streambuffer / workspace. The per-classifier fat-jar wiring shipped earlier in #159; this is the shared-script + consistency follow-up.

Checklist

  • My commits follow Conventional Commits
  • No security-sensitive changes

🤖 Generated with Claude Code

https://claude.ai/code/session_01TJzCezSnQ8FxpFdeVxYxQY


Generated by Claude Code

claude added 3 commits July 24, 2026 05:21
…c pointer

Replace the inline gpg detach-sign loop in both publish jobs with the cross-repo
shared .github/sign-fatjars.sh (byte-identical with java-llama.cpp): the classifier
build loop stays, then all fat jar variants are collected into the asset dir and the
shared script signs each in place (ephemeral keyring, verify) — a uniform signing
mechanism across the sibling repos instead of two ad-hoc gpg invocations.

Also add a "Fat-jar release assets" pointer in CLAUDE.md to the new
workspace/policies/fat-jar-release-assets.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TJzCezSnQ8FxpFdeVxYxQY
…cross-repo)

Unify the throwaway signing-selftest Gradle project (build.gradle.kts +
settings.gradle.kts) to the dual SPDX-License-Identifier "MIT OR Apache-2.0" so the
files are TRULY byte-identical across all four sibling repos (java-llama.cpp used MIT,
the others Apache-2.0 — same body, only the header drifted). This matches the
cross-repo-synced-file convention already used for sign-fatjars.sh and makes the
verify-signing-key-gradle preflight project checksum-verifiable via workspace.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TJzCezSnQ8FxpFdeVxYxQY
…al cross-repo)

Sync lombok.config to the canonical workspace policy content verbatim

The three Lombok repos had IDENTICAL directives but drifted comments (per-repo
rationale in the file). Replace each with the canonical block from
workspace/policies/lombok-config.md verbatim, so the file is now byte-identical
across all three (the rationale lives once in the policy / crossrepo, not in the
file). Recorded in the workspace cross-repo checksum drift-check.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TJzCezSnQ8FxpFdeVxYxQY
@bernardladenthin
bernardladenthin merged commit b6c4fcf into main Jul 24, 2026
8 of 14 checks passed
@bernardladenthin
bernardladenthin deleted the claude/bitcoinaddressfinder-jar-upload-k0tkj7 branch July 24, 2026 06:28
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