Skip to content

fix(ci): local-first artifact resolution in release step; fix stateLabel for accepted - #85

Merged
alexhraber merged 1 commit into
mainfrom
fix/local-first-release-acpt
Jul 11, 2026
Merged

fix(ci): local-first artifact resolution in release step; fix stateLabel for accepted#85
alexhraber merged 1 commit into
mainfrom
fix/local-first-release-acpt

Conversation

@alexhraber

Copy link
Copy Markdown
Owner

Release step

The rm -f + download approach still fails: the download tries to rename a temp file onto the target path, but Buildkite's download may target a path where the file still exists (race with checkout refresh).

Fix: Try local files first (left by release_build on the same agent). Only download from the artifact store when the file is missing. This avoids the rename: file exists conflict entirely because we never write over an existing file.

Step state label

accepted state fell through to default which returned state[:4] = acce. Added explicit case for acceptedACPT.

…bel for accepted

Release step: use local files when present (single-agent), download
only when missing. Eliminates the rename-file-exists conflict because
we never download over an existing file.

stateLabel: accepted state was falling through to default which
returned 'acce'. Add explicit case for 'accepted' -> 'ACPT'.
@alexhraber
alexhraber merged commit e06015c into main Jul 11, 2026
2 checks passed
@alexhraber
alexhraber deleted the fix/local-first-release-acpt branch July 11, 2026 06:59
@alexhraber
alexhraber restored the fix/local-first-release-acpt branch July 11, 2026 07:05
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