Skip to content

Drop nonexistent DerivedData from SPM cache path#33

Merged
fabioknoedt merged 1 commit into
masterfrom
claude/fix-spm-cache-path
Apr 25, 2026
Merged

Drop nonexistent DerivedData from SPM cache path#33
fabioknoedt merged 1 commit into
masterfrom
claude/fix-spm-cache-path

Conversation

@fabioknoedt
Copy link
Copy Markdown
Owner

PR #30 (Dependabot bumping actions/cache to v5) failed in the
spm-test job: the cache step's save phase errored on a path that
doesn't exist. That same job had been listing
~/Library/Developer/Xcode/DerivedData as a cache target, which is
created by Xcode but never by swift test. v4 silently ignored
missing paths; v5 fails the post-step.

The path was useless even under v4 — the directory was always empty
on these runs. Drop it. Keep .build, which swift test actually
writes to.

Once this lands, comment @dependabot rebase on PR #30 and the v5
bump will pass.

https://claude.ai/code/session_01TQi3WNVCqQ9QFufs5XogjK

PR #30 (Dependabot bumping actions/cache to v5) failed in the
spm-test job: the cache step's save phase errored on a path that
doesn't exist. That same job had been listing
~/Library/Developer/Xcode/DerivedData as a cache target, which is
created by Xcode but never by `swift test`. v4 silently ignored
missing paths; v5 fails the post-step.

The path was useless even under v4 — the directory was always empty
on these runs. Drop it. Keep `.build`, which `swift test` actually
writes to.

Once this lands, comment `@dependabot rebase` on PR #30 and the v5
bump will pass.

https://claude.ai/code/session_01TQi3WNVCqQ9QFufs5XogjK
@fabioknoedt fabioknoedt enabled auto-merge April 25, 2026 11:55
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (34a76c4) to head (ee3bdb0).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #33   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           83        83           
=========================================
  Hits            83        83           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fabioknoedt fabioknoedt merged commit df6b6a0 into master Apr 25, 2026
4 checks passed
@fabioknoedt fabioknoedt deleted the claude/fix-spm-cache-path branch April 25, 2026 11:56
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.

2 participants