Skip to content

chore(build): clean uv cache and avoid build artifacts#2369

Merged
ssbarnea merged 1 commit intomainfrom
chore/build3
Dec 9, 2025
Merged

chore(build): clean uv cache and avoid build artifacts#2369
ssbarnea merged 1 commit intomainfrom
chore/build3

Conversation

@ssbarnea
Copy link
Member

@ssbarnea ssbarnea commented Dec 9, 2025

  • reduce size of uv cache which slowed down CI (especially wsl)
  • disable artifact and log generation in navigator
  • isolated navigator from user setu0p

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR optimizes the CI build process by reducing cache sizes and preventing unnecessary build artifacts. The changes focus on cleaning UV and pip caches, disabling ansible-navigator artifact generation, and isolating the navigator configuration from user settings.

Key changes:

  • Added UV and pip cache pruning in the finish task to reduce cache sizes
  • Configured ansible-navigator to disable logging and artifact generation for testing
  • Modified cache strategy to only cache pip wheels instead of the entire pip cache

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
pyproject.toml Configures distutils to output egg-info to the out directory
examples/ansible-navigator.yml Adds isolated navigator config that disables logging and artifacts
Taskfile.yml Adds cache pruning commands to the finish task for cleanup
.github/workflows/ci.yaml Integrates task finish into CI workflows for cache cleanup
.github/actions/setup/action.yml Narrows cache path to only pip wheels for better cache management
.env Sets environment variables to use the isolated navigator config

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -0,0 +1,8 @@
# Used for testing purposes to isolated from user configured one
Copy link

Copilot AI Dec 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in comment: "setu0p" should be "setup".

Copilot uses AI. Check for mistakes.
UV_PROJECT_ENVIRONMENT="${HOME}/.local/share/virtualenvs/vsa"
# Do not add NODE_OPTIONS here because this is not allowed by GHA.

# Isolated from user level config, disable logging/artifacts
Copy link

Copilot AI Dec 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grammar issue: "isolated from" should be "Isolate from" to maintain consistency with the action-oriented comment style.

Suggested change
# Isolated from user level config, disable logging/artifacts
# Isolate from user level config, disable logging/artifacts

Copilot uses AI. Check for mistakes.

# Isolated from user level config, disable logging/artifacts
ANSIBLE_NAVIGATOR_CONFIG=examples/ansible-navigator.yml
# mcp tests do not use ^ but the benefit from next line
Copy link

Copilot AI Dec 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in comment: "benefit" should be "benefits" to be grammatically correct ("tests...benefit" should be "tests...benefits").

Suggested change
# mcp tests do not use ^ but the benefit from next line
# mcp tests do not use ^ but benefit from next line

Copilot uses AI. Check for mistakes.
- reduce size of uv cache which slowed down CI (especially wsl)
- disable artifact and log generation in navigator
- isolated navigator from user setu0p
@ssbarnea ssbarnea disabled auto-merge December 9, 2025 13:11
@ssbarnea ssbarnea merged commit c7f2495 into main Dec 9, 2025
19 of 21 checks passed
@ssbarnea ssbarnea deleted the chore/build3 branch December 9, 2025 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants