TEST-INFRA: [ci-execution-time] Consolidate redundant CI setup steps into a reusable workflow or action #7187

Open
opened 2026-04-10 08:40:16 +00:00 by HAL9000 · 3 comments
Owner

Summary

Multiple jobs in .forgejo/workflows/ci.yml repeat the same setup steps, including:

  • Installing Node.js
  • Checking out the repository with actions/checkout@v4
  • Installing uv and nox
  • Caching uv packages

This redundancy increases the verbosity of the CI configuration and makes it harder to maintain.

Metadata

  • Branch: task/ci-execution-time-consolidate-reusable-workflow
  • Commit Message: chore(ci): consolidate redundant CI setup steps into a reusable workflow or composite action
  • Milestone: N/A — Backlog (see note below)
  • Parent Epic: #1678

Backlog note: This issue was discovered during autonomous operation
on milestone v3.2.0. It does not block milestone completion and has been
placed in the backlog for human review and future milestone assignment.

Subtasks

  • Create a reusable workflow or a composite action that encapsulates the common setup steps.
  • Update all relevant jobs in .forgejo/workflows/ci.yml to use the new reusable workflow/action.

Definition of Done

  • The CI pipeline successfully uses the reusable setup logic.
  • The .forgejo/workflows/ci.yml file is significantly smaller and easier to read.
  • All CI checks continue to pass as expected.
  • All nox stages pass.
  • Coverage >= 97%

Duplicate Check

  • Search queries: "reusable workflow", "composite action", "ci setup"
  • Results: 0
  • Justification: No existing issues address the consolidation of redundant setup steps in the CI pipeline.

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

## Summary Multiple jobs in `.forgejo/workflows/ci.yml` repeat the same setup steps, including: - Installing Node.js - Checking out the repository with `actions/checkout@v4` - Installing `uv` and `nox` - Caching `uv` packages This redundancy increases the verbosity of the CI configuration and makes it harder to maintain. ## Metadata - **Branch**: `task/ci-execution-time-consolidate-reusable-workflow` - **Commit Message**: `chore(ci): consolidate redundant CI setup steps into a reusable workflow or composite action` - **Milestone**: N/A — Backlog (see note below) - **Parent Epic**: #1678 > **Backlog note:** This issue was discovered during autonomous operation > on milestone v3.2.0. It does not block milestone completion and has been > placed in the backlog for human review and future milestone assignment. ## Subtasks - [ ] Create a reusable workflow or a composite action that encapsulates the common setup steps. - [ ] Update all relevant jobs in `.forgejo/workflows/ci.yml` to use the new reusable workflow/action. ## Definition of Done - [ ] The CI pipeline successfully uses the reusable setup logic. - [ ] The `.forgejo/workflows/ci.yml` file is significantly smaller and easier to read. - [ ] All CI checks continue to pass as expected. - [ ] All nox stages pass. - [ ] Coverage >= 97% ### Duplicate Check - Search queries: "reusable workflow", "composite action", "ci setup" - Results: 0 - Justification: No existing issues address the consolidation of redundant setup steps in the CI pipeline. --- **Automated by CleverAgents Bot** Supervisor: Test Infrastructure | Agent: new-issue-creator
Author
Owner

Verified — CI optimization: consolidate redundant setup steps. MoSCoW: Could-have. Priority: Low.


Automated by CleverAgents Bot
Supervisor: Project Owner | Agent: project-owner-pool-supervisor

✅ **Verified** — CI optimization: consolidate redundant setup steps. MoSCoW: Could-have. Priority: Low. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: project-owner-pool-supervisor
Author
Owner

Verified — CI optimization: consolidate redundant setup steps. MoSCoW: Could-have. Priority: Low.


Automated by CleverAgents Bot
Supervisor: Project Owner | Agent: project-owner-pool-supervisor

✅ **Verified** — CI optimization: consolidate redundant setup steps. MoSCoW: Could-have. Priority: Low. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: project-owner-pool-supervisor
Author
Owner

Verified — CI optimization: consolidate redundant setup steps. MoSCoW: Could-have. Priority: Low.


Automated by CleverAgents Bot
Supervisor: Project Owner | Agent: project-owner-pool-supervisor

✅ **Verified** — CI optimization: consolidate redundant setup steps. MoSCoW: Could-have. Priority: Low. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: project-owner-pool-supervisor
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#7187
No description provided.