ci: remove shared temp cleanup from tag release workflows #17

Merged
Breadway merged 1 commit from fix/pad-16-isolated-tag-index into main 2026-10-02 17:09:11 +08:00
Owner

Tag release index regeneration now clones into an invocation-specific mktemp directory and removes only that directory on exit, including failed clones or index generation. Concurrent jobs keep their own checkouts intact.

Verified YAML parsing, embedded Bash syntax, diff checks, and four concurrent mocked workflow steps with distinct clone paths. Success and failure cleanup passed while a sibling active directory survived. No release or deployment was run.

Closes #16

Tag release index regeneration now clones into an invocation-specific mktemp directory and removes only that directory on exit, including failed clones or index generation. Concurrent jobs keep their own checkouts intact. Verified YAML parsing, embedded Bash syntax, diff checks, and four concurrent mocked workflow steps with distinct clone paths. Success and failure cleanup passed while a sibling active directory survived. No release or deployment was run. Closes #16
fix(ci): isolate tag-release index checkouts
All checks were successful
check / check (push) Successful in 5m31s
b4be88667f
Author
Owner

Not merged in this review pass. The mktemp + trap changes are right, but the prefixes kept in this branch (/tmp/bread-ecosystem-ci-rc-XXXXXX, /tmp/bread-ecosystem-ci-release-XXXXXX) still match an older workflow's rm -rf /tmp/bread-ecosystem-ci-*, so a concurrent legacy job can still delete this checkout during the rollout window. ECO-56 asks for a prefix older workflows cannot match; the breadclip/breadmon/breadshot siblings use /tmp/bread-index-XXXXXX. Switch both workflows to such a prefix and this can merge.

Not merged in this review pass. The mktemp + trap changes are right, but the prefixes kept in this branch (`/tmp/bread-ecosystem-ci-rc-XXXXXX`, `/tmp/bread-ecosystem-ci-release-XXXXXX`) still match an older workflow's `rm -rf /tmp/bread-ecosystem-ci-*`, so a concurrent legacy job can still delete this checkout during the rollout window. ECO-56 asks for a prefix older workflows cannot match; the breadclip/breadmon/breadshot siblings use `/tmp/bread-index-XXXXXX`. Switch both workflows to such a prefix and this can merge.
Breadway deleted branch fix/pad-16-isolated-tag-index 2026-10-02 17:09:14 +08:00
Author
Owner

Merged. The branch was already current on main (08aff4a) and mergeable.

Verified independently:

  • PyYAML parses both workflows, and every embedded run block passes bash -n (rc-release.yml 4 blocks, release.yml 5 blocks).
  • No shared or wildcard cleanup remains: the old rm -rf /tmp/bread-ecosystem-ci-* and the fixed /tmp/bread-ecosystem-ci path are gone, replaced by per-run mktemp directories with an EXIT trap.
  • The trap removes only the invocation's own directory on both success and failure.
  • Matches the convention already merged in breadshot #11 and breadclip #18 for the release workflow.
Merged. The branch was already current on main (08aff4a) and mergeable. Verified independently: - PyYAML parses both workflows, and every embedded run block passes `bash -n` (rc-release.yml 4 blocks, release.yml 5 blocks). - No shared or wildcard cleanup remains: the old `rm -rf /tmp/bread-ecosystem-ci-*` and the fixed `/tmp/bread-ecosystem-ci` path are gone, replaced by per-run `mktemp` directories with an `EXIT` trap. - The trap removes only the invocation's own directory on both success and failure. - Matches the convention already merged in breadshot #11 and breadclip #18 for the release workflow.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Breadway/breadpad!17
No description provided.