Skip to content

fix(release): download only the release's artifacts - #66

Merged
MathiasVDA merged 1 commit into
mainfrom
claude/project-thread-nbhxvq
Nov 20, 2026
Merged

MathiasVDA merged 1 commit into
mainfrom
claude/project-thread-nbhxvq

Conversation

@MathiasVDA

Copy link
Copy Markdown
Contributor

What and why

The v0.1.0-rc.2 Release run built and packaged all three platforms, then failed in the release job's first step:

Found 6 artifact(s) ... - Matdata-eu~tripletrail~R75HX6.dockerbuild ...
##[error]Unable to download artifact(s): Unable to download and extract artifact: Artifact download failed after 5 retries.

docker/build-push-action@v6 uploads a build record (*.dockerbuild) as an artifact of the run. The release job downloaded every artifact, and actions/download-artifact cannot extract that one. The five artifacts the release actually uses downloaded fine. Nothing was published, because the "Publish the release" step was skipped.

The fix:

  • The Linux build sets DOCKER_BUILD_RECORD_UPLOAD: false, so the record is no longer uploaded.
  • The release job downloads its artifacts by name: linux, macos, windows, notes and third-party.

After merge, the tag v0.1.0-rc.2 has to move to the new main commit. Re-running the failed run would use the workflow file at the tag's commit, which still has the bug.

How it was tested

The workflow YAML parses. A full test needs a Release run: either a dry run by workflow_dispatch on main after merge, or the re-pushed tag.

Documentation

  • No user-facing change, or:
  • The user guide (docs/guide/) shows it (a chapter updated or added, examples tested with cargo test -p tripletrail-server --test guide)
  • The reference page in docs/ and the CHANGELOG entry describe it

Generated by Claude Code

The release job downloaded every artifact of the run, including the build record that
docker/build-push-action uploads (*.dockerbuild), which actions/download-artifact fails to
extract. The Linux build no longer uploads that record, and the release job downloads its
artifacts by name.
@MathiasVDA
MathiasVDA merged commit ae9e3c1 into main Nov 20, 2026
4 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.

1 participant