Repository navigation
Unify release asset names under one PumasLibrary_ scheme - #177
Conversation
Release assets mixed four naming styles (Pumas.Library-*, Pumas.Library.*, pumas-library-electron_*, pumas-rpc-*). Adopt the v0.7.0-style scheme PumasLibrary_<version>_<Kind>_<OS>_<arch>[_NoInference].<ext>, with the inference build as the unsuffixed default, and prefix release metadata the same way. - artifact-plan.json and headless-inference-plan.json carry the new names; headless_inference.archive_filename() derives inference archive names from the plan instead of an inline f-string. - write-release-metadata.py and check-artifacts.mjs read metadata filenames from the plan. Previously the checker's hard-coded checksums name would have collided with a renamed one during candidate assembly. - New tests pin the full-variant Electron artifactNames and the headless-inference archive names to the artifact plan. - Regenerate both attribution inventories: notice text is unchanged; only the input hashes of electron/package.json and artifact-plan.json moved. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VkfbGShE8Z6nkAb9osKDNA
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryRelease assets now use the
Reviews (1) · Last reviewed commit: "Unify release asset names under one Puma..." · Reviewed by Greptile |
Promote the root, frontend, Electron and desktop-contract manifests and the Rust workspace package from 0.8.0 to 0.8.1, updating only the five workspace entries in Cargo.lock. Generate the 0.8.1 and 0.8.1-s3 attribution sets (identical to 0.8.0 apart from the version and input hashes) and point the packaged notices and RELEASING at them. Close the CHANGELOG's [0.8.1] section and add short release notes. The raw-device receipt and Windows Torch fixes were already in the 0.8.0 downloads (the v0.8.0 tag is 5175306) but missing from its notes; both documents say so. No tag or release is created by this commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VkfbGSuzL9SpH8epTy2hMe
The artifact plan listed the Torch sidecar as a non-shipped output "until a real runtime/platform/device tuple is accepted". That mixed two things: the sidecar source is an inference plugin and is compiled into pumas-rpc, while Torch itself (wheels and Python), llama.cpp and ONNX Runtime are managed downloads that no artifact bundles. The excluded output is now "inference-runtimes" with that reason, and RELEASING says what "inference" means for the sixteen artifacts and replaces the "if shipping a Torch runtime" gate with the same rule. The artifact-plan hash in the attribution inventories is refreshed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VkfbGSuzL9SpH8epTy2hMe
Resolve against release/0.8.1-prep: the CHANGELOG entry joins [0.8.1]; 0.8.0's release notes and attribution inventories keep the names v0.8.0 was published with; the 0.8.1 attribution is regenerated for the renamed artifact plan and Electron artifactName settings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VkfbGSuzL9SpH8epTy2hMe
Follow-up to the unified asset names, rebased onto the 0.8.1 release
preparation:
- draft-release.yml verified a candidate against checksums-sha256.txt,
which the artifact plan now names PumasLibrary_{version}_Checksums_SHA256.txt.
It now derives that name from the tag, and the release-gating test
reads the name from the plan.
- The 0.8.1 release notes list the new download names. 0.8.0's notes
and attribution inventories keep the names v0.8.0 was published with;
the rebase restored them and regenerated the 0.8.1 inventories instead.
- The CHANGELOG entry moves to [0.8.1] and says the scheme restores
v0.7.0's names.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VkfbGSuzL9SpH8epTy2hMe
|
The owner decided this goes into 0.8.1, because v0.7.0 already used the
I did not run the in-place rename script on the published v0.8.0 assets; the owner hasn't decided that. Before tagging, I'll run a Local checks: 67 release/packaging Node tests and 49 launcher tests pass. 131 Python release tests pass. Both attribution profiles pass, as do ruff and |
|
CI: "Review Linux inference candidate" is failing, but this PR doesn't cause it. On The same job fails the same way without this PR's changes:
It started failing on main with the merges of #159 ( I couldn't root-cause it from here: the lifecycle log is only in the What this means for the release: every packaging job depends on this one. "Desktop package", "Desktop package without inference", "Headless archive" and "Assemble release candidate" are all skipped on both main and this PR. So the real electron-builder output names haven't been exercised in CI yet, which the planned Generated by Claude Code |
The checksum-pinned actionlint download failed on several PR runs with an HTTP 618 from GitHub release storage. curl's --retry covers only timeouts and 5xx, so one bad response failed the contracts job. Retry any failure five times with a delay; the pinned SHA-256 still decides whether the bytes are accepted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VkfbGSuzL9SpH8epTy2hMe
…names Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VkfbGSuzL9SpH8epTy2hMe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VkfbGSuzL9SpH8epTy2hMe
|
CI is green on Correction to my earlier comment: I said the packaging jobs were skipped because the review job failed. That's wrong. "Desktop package", "Desktop package without inference", "Windows release", "Headless archive" and "Assemble release candidate" only run on Generated by Claude Code |
… claim - SF-18 keeps the two unexplained test failures that the retired frontend issue list still had open: FE-I28 (admitted-ID download wait timeout) and FE-I29 (safetensors preflight readiness). Each row has its owner, history reference and revisit trigger. - SF-01 no longer says api-conversion.ts field casing has drifted; ConversionProgress aliases the generated ConversionProgressOutcome, and PRG-I14/FE-I14 is recorded as closed. - SF-05 and SF-06(b) reflect what 0.8.1 merged: the draft-release upload (#160), the unified asset names (#177), and the artifact plan naming every runtime a managed download. Addresses the Greptile review on #179. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VkfbGSuzL9SpH8epTy2hMe
Summary
Release assets mixed four naming styles (
Pumas.Library-*,Pumas.Library.*,pumas-library-electron_*,pumas-rpc-*), and the inference/no-inference marker sat in a different place in each. This moves every release asset to one scheme, based on v0.7.0's:Headless,SetuporPortable. OS isLinux,WindowsorMacOS. arch isx86_64orarm64._NoInference.PumasLibrary_<version>_Checksums_SHA256.txt,_Provenance.jsonland_ThirdPartyNotices.txt.LICENSE.txtand the<artifact>.spdx.jsonSBOMs keep their pattern.Example:
PumasLibrary_0.8.0_Setup_Windows_x86_64_NoInference.exeChanges
artifact-plan.jsonandheadless-inference-plan.jsoncarry the new names. The headless-inference plan gains a per-targetplatformlabel, and the newheadless_inference.archive_filename()builds archive names from the plan instead of an inline f-string.artifactNamesettings inelectron/package.jsonandelectron-builder.no-inference.cjsare updated.write-release-metadata.pyandcheck-artifacts.mjsnow read the metadata filenames from the plan instead of hard-coding them.checksums-sha256.txtwhile the metadata writer excluded only the plan's checksums name. Renaming one without the other would have failed therelease-candidatejob.generate-notices.pyfor the default ands3profiles. The notice text is byte-identical; only the input hashes ofelectron/package.jsonandartifact-plan.jsonchanged.write-linux-metadata.py, tests, the asset table indocs/release-notes-0.8.0.md, and the CHANGELOG.The release workflow needs no changes; it collects artifacts by extension.
Relation to the v0.8.0 draft
The v0.8.0 draft release was built before this change and still has the old names. A separate script renames its assets in place: the artifact bytes and hashes are unchanged, and only the SBOMs, provenance and checksums are rewritten for the new filenames. A maintainer has to run it with their own GitHub credentials. The draft's release notes are this branch's
docs/release-notes-0.8.0.md.Testing
CI was deliberately not run (
[skip ci]on the commit). Run locally:node --test scripts/release/*.test.mjs scripts/launcher/*.test.mjs: 111 tests passscripts/release/test_*.pypassescheck-attribution.cjsandcheck-attribution.cjs --features s3: attribution matches current inputsbeforePackattribution check passesrelease-candidatejob: a placeholder file per planned artifact goes throughcheck-artifacts.mjs … requiredand thenwrite-release-metadata. Result: 36 correctly named files, andsha256sum -cpasses on the generated checksums.ruff checkandruff format --checkare clean onscripts/releaseNot verified: real
electron-builderoutput names on each OS. These come straight from theartifactNametemplates, which the new tests pin.Known issue, not changed here
The in-app updater (
launcher/updater.rs::select_download_asset) chooses the first asset whose name containsappimage,.exe,.dmgand so on. With inference and no-inference builds side by side, it can pick either variant. This happens with both the old and the new names.Generated by Claude Code