Scope shared CI cache cleanup to each bread job #9

Merged
Breadway merged 1 commit from fix/bread-8-ci-cache-race into main 2026-10-02 12:04:28 +08:00
Owner

Child of ECO-28.

  • Serialize publication of the pinned bread-ecosystem checkout. Clone and verify the exact revision in a private directory, then move it into the shared cache atomically.
  • Use a cache prefix that older release jobs cannot remove with their wildcard cleanup.
  • Make dev, beta, and stable index jobs clean up only their own temporary checkout, including on failure.

Verified with Bash syntax and YAML parsing, plus isolated concurrent clone tests and success/failure runs of all three index steps. Each test preserved a sibling checkout. No live runner or user configuration changed.

Closes #8

Child of ECO-28. - Serialize publication of the pinned bread-ecosystem checkout. Clone and verify the exact revision in a private directory, then move it into the shared cache atomically. - Use a cache prefix that older release jobs cannot remove with their wildcard cleanup. - Make dev, beta, and stable index jobs clean up only their own temporary checkout, including on failure. Verified with Bash syntax and YAML parsing, plus isolated concurrent clone tests and success/failure runs of all three index steps. Each test preserved a sibling checkout. No live runner or user configuration changed. Closes #8
fix: scope bread CI cache cleanup to each job
All checks were successful
check / check (push) Successful in 18m47s
d0033caccf
Author
Owner

This synced PR card closes BREAD-8 and links to #9. Forgejo CI is successful. The acceptance rerun confirmed pinned clone concurrency, exact cleanup on clone failure, and all three release index steps on success and failure preserve a sibling active checkout. Moving this PR card to REVIEW alongside BREAD-8 for independent review.

This synced PR card closes BREAD-8 and links to https://git.breadway.dev/Breadway/bread/pulls/9. Forgejo CI is successful. The acceptance rerun confirmed pinned clone concurrency, exact cleanup on clone failure, and all three release index steps on success and failure preserve a sibling active checkout. Moving this PR card to REVIEW alongside BREAD-8 for independent review.
Sign in to join this conversation.
No reviewers
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/bread!9
No description provided.