Skip to content

Disable uv cache pruning in copilot setup steps - #2663

Merged
jamesamcl merged 2 commits into
masterfrom
copilot/fix-ci-failure-post-install-uv
Mar 25, 2026
Merged

jamesamcl merged 2 commits into
masterfrom
copilot/fix-ci-failure-post-install-uv

Conversation

Copilot AI commented Mar 25, 2026 •

Copy link
Copy Markdown
Contributor

astral-sh/setup-uv@v5 post step runs uv cache prune --ci which consistently times out after 5 minutes (exit code 2), failing all Copilot agent runs.

  • Added prune-cache: false to the setup-uv action — cache pruning is pointless in this ephemeral environment
Original prompt

This section details on the original issue you should resolve

<issue_title>CI is failing</issue_title>
<issue_description>CI is failing with The "Post Install uv" custom setup step from your .github/workflows/copilot-setup-steps.yml file failed. on PRs
</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

The astral-sh/setup-uv@v5 post step runs 'uv cache prune --ci' which
consistently times out after 5 minutes (exit code 2), causing all
Copilot agent PR runs to fail. Since this is a transient CI environment
with no cache persistence, pruning serves no purpose. Setting
prune-cache: false disables the problematic post step.

Co-authored-by: jamesamcl <[email protected]>
Agent-Logs-Url: https://github.com/EBISPOT/efo/sessions/222f15b0-d475-49a0-979c-a5bb8041e60d
Copilot AI changed the title [WIP] Fix CI failure with post install uv custom setup step Disable uv cache pruning in copilot setup steps Mar 25, 2026
Copilot AI requested a review from jamesamcl March 25, 2026 15:06
@jamesamcl
jamesamcl marked this pull request as ready for review March 25, 2026 20:44
@jamesamcl
jamesamcl merged commit ebcd1f4 into master Mar 25, 2026
3 checks passed
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.

CI is failing

2 participants