CI pipeline falsely fails due to save-bundle-cache step #96

Closed
opened 2026-06-04 12:19:13 +00:00 by ldraney · 0 comments
Owner

Type

Bug

Lineage

Regression from ldraney/landscaping-assistant #81 (Cache bundle install in CI pipeline using host volume).

Repo

ldraney/landscaping-assistant

What Broke

The save-bundle-cache step fails with cp: can't create directory '/cache/bundle': No such file or directory. The hostPath volume mount at /cache isn't materializing in the save step's container. This marks the entire pipeline as "failure" even though build-and-push succeeds — the image reaches Harbor and ArgoCD deploys it, but every main-branch pipeline since #164 shows red.

Repro Steps

  1. Push any commit to main
  2. Pipeline runs; save-bundle-cache fails with the cp error
  3. Pipeline status shows "failure" despite build-and-push succeeding

Pipelines #185, #190, #191, #194, #199 all reproduce this.

Expected Behavior

Pipeline should show "success" when build-and-push succeeds. Cache save is an optimization — its failure should not gate pipeline status.

Environment

  • Cluster/namespace: Woodpecker CI (kubernetes backend)
  • Service version/commit: introduced at 767b6e0 (PR #81)
  • Related alerts: none (pipeline status only)

Acceptance Criteria

  • Pipeline shows green when build-and-push succeeds
  • save-bundle-cache failure does not block pipeline status
  • Diagnostic output in logs shows mount state for future debugging
  • landscaping-assistant — project this affects
  • ldraney/landscaping-assistant #81 — PR that introduced the cache step
### Type Bug ### Lineage Regression from `ldraney/landscaping-assistant #81` (Cache bundle install in CI pipeline using host volume). ### Repo `ldraney/landscaping-assistant` ### What Broke The `save-bundle-cache` step fails with `cp: can't create directory '/cache/bundle': No such file or directory`. The hostPath volume mount at `/cache` isn't materializing in the save step's container. This marks the entire pipeline as "failure" even though `build-and-push` succeeds — the image reaches Harbor and ArgoCD deploys it, but every main-branch pipeline since #164 shows red. ### Repro Steps 1. Push any commit to main 2. Pipeline runs; save-bundle-cache fails with the cp error 3. Pipeline status shows "failure" despite build-and-push succeeding Pipelines #185, #190, #191, #194, #199 all reproduce this. ### Expected Behavior Pipeline should show "success" when build-and-push succeeds. Cache save is an optimization — its failure should not gate pipeline status. ### Environment - Cluster/namespace: Woodpecker CI (kubernetes backend) - Service version/commit: introduced at `767b6e0` (PR #81) - Related alerts: none (pipeline status only) ### Acceptance Criteria - [ ] Pipeline shows green when build-and-push succeeds - [ ] save-bundle-cache failure does not block pipeline status - [ ] Diagnostic output in logs shows mount state for future debugging ### Related - `landscaping-assistant` — project this affects - `ldraney/landscaping-assistant #81` — PR that introduced the cache step
Sign in to join this conversation.
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
ldraney/landscaping-assistant#96
No description provided.