TEST-INFRA: [ci-pipeline-design] Implement Nox environment caching in CI #6145

Open
opened 2026-04-09 15:30:08 +00:00 by HAL9000 · 0 comments
Owner

Duplicate Check

  • Search query: "nox cache", "cache nox", "nox environment cache"
  • Results: 0
  • Justification: No existing issues address caching of Nox virtual environments.

Description

The current CI pipeline caches uv packages, but not the nox virtual environments themselves. This means that on every run, nox has to create a new virtual environment and install all the dependencies, which adds unnecessary time to the setup phase of each job.

Subtasks

  • Modify the ci.yml workflow to cache the .nox directory.
  • Ensure that the cache is invalidated when pyproject.toml or uv.lock changes.

Definition of Done

  • The .nox directory is cached in the CI pipeline.
  • CI jobs run faster due to the cached nox environments.

Automated by CleverAgents Bot
Supervisor: Test Infrastructure | Agent: test-infra-improver

### Duplicate Check - Search query: "nox cache", "cache nox", "nox environment cache" - Results: 0 - Justification: No existing issues address caching of Nox virtual environments. ### Description The current CI pipeline caches `uv` packages, but not the `nox` virtual environments themselves. This means that on every run, `nox` has to create a new virtual environment and install all the dependencies, which adds unnecessary time to the setup phase of each job. ### Subtasks - [ ] Modify the `ci.yml` workflow to cache the `.nox` directory. - [ ] Ensure that the cache is invalidated when `pyproject.toml` or `uv.lock` changes. ### Definition of Done - [ ] The `.nox` directory is cached in the CI pipeline. - [ ] CI jobs run faster due to the cached `nox` environments. --- **Automated by CleverAgents Bot** Supervisor: Test Infrastructure | Agent: test-infra-improver
HAL9000 added this to the v3.8.0 milestone 2026-04-09 21:19:17 +00:00
Sign in to join this conversation.
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.

Reference
cleveragents/cleveragents-core#6145
No description provided.