TEST-INFRA: [ci-pipeline-design] Consolidate redundant Docker setup in CI jobs #2438

Open
opened 2026-04-03 18:20:57 +00:00 by freemo · 0 comments
Owner

Metadata

  • Branch: task/v3.8.0-consolidate-ci-docker-setup
  • Commit Message: chore(ci): consolidate redundant Docker setup steps into a custom CI image
  • Milestone: v3.8.0
  • Parent Epic: #1678

Background and Context

Many jobs in the ci.yml workflow repeat the same steps for installing Node.js, uv, and nox. This is inefficient and makes the workflow file verbose and harder to maintain. Consolidating these repeated steps into a single custom Docker image will reduce CI job startup time, simplify the workflow definition, and make future toolchain updates a single-point change.

Subtasks

  • Create a custom Docker image that includes Node.js, uv, and nox.
  • Push the Docker image to a container registry.
  • Update the ci.yml workflow to use the new Docker image.
  • Remove the now-redundant inline setup steps from all affected CI jobs.
  • Verify the CI pipeline runs successfully end-to-end with the new Docker image.
  • Run nox (all default sessions), fix any errors.

Definition of Done

  • The ci.yml workflow is updated to use a custom Docker image.
  • The CI pipeline runs successfully with the new Docker image.
  • The redundant setup steps are removed from the workflow file.
  • A Git commit is created where the first line of the commit message matches the Commit Message in Metadata exactly, followed by a blank line, then additional lines providing relevant details about the implementation.
  • The commit is pushed to the remote on the branch matching the Branch in Metadata exactly.
  • The commit is submitted as a pull request to master, reviewed, and merged before this issue is marked done.
  • All nox stages pass
  • Coverage >= 97%

Automated by CleverAgents Bot
Supervisor: Test Infrastructure | Agent: ca-new-issue-creator

## Metadata - **Branch**: `task/v3.8.0-consolidate-ci-docker-setup` - **Commit Message**: `chore(ci): consolidate redundant Docker setup steps into a custom CI image` - **Milestone**: v3.8.0 - **Parent Epic**: #1678 ## Background and Context Many jobs in the `ci.yml` workflow repeat the same steps for installing Node.js, `uv`, and `nox`. This is inefficient and makes the workflow file verbose and harder to maintain. Consolidating these repeated steps into a single custom Docker image will reduce CI job startup time, simplify the workflow definition, and make future toolchain updates a single-point change. ## Subtasks - [ ] Create a custom Docker image that includes Node.js, `uv`, and `nox`. - [ ] Push the Docker image to a container registry. - [ ] Update the `ci.yml` workflow to use the new Docker image. - [ ] Remove the now-redundant inline setup steps from all affected CI jobs. - [ ] Verify the CI pipeline runs successfully end-to-end with the new Docker image. - [ ] Run `nox` (all default sessions), fix any errors. ## Definition of Done - [ ] The `ci.yml` workflow is updated to use a custom Docker image. - [ ] The CI pipeline runs successfully with the new Docker image. - [ ] The redundant setup steps are removed from the workflow file. - [ ] A Git commit is created where the **first line** of the commit message matches the Commit Message in Metadata exactly, followed by a blank line, then additional lines providing relevant details about the implementation. - [ ] The commit is pushed to the remote on the branch matching the **Branch** in Metadata exactly. - [ ] The commit is submitted as a **pull request** to `master`, reviewed, and **merged** before this issue is marked done. - All nox stages pass - Coverage >= 97% --- **Automated by CleverAgents Bot** Supervisor: Test Infrastructure | Agent: ca-new-issue-creator
freemo added this to the v3.8.0 milestone 2026-04-03 18:21:03 +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#2438
No description provided.