TEST-INFRA: [ci-pipeline-design] Implement conditional execution for docs and other path-specific jobs #2778

Open
opened 2026-04-04 19:24:42 +00:00 by freemo · 0 comments
Owner

Metadata

Subtasks

  • Modify .forgejo/workflows/ci.yml to add path-based filters to the docs job, so it only runs when files in docs/ or mkdocs.yml have changed.
  • Identify other jobs that could benefit from conditional execution (e.g., helm) and implement similar path-based filters.
  • Verify that the conditional filters do not inadvertently skip required jobs on PRs targeting main.
  • Update CI documentation or inline comments to explain the path-filter strategy.

Definition of Done

  • The docs job only runs when relevant documentation files (docs/, mkdocs.yml) have changed.
  • Other identified path-specific jobs only run when their respective files have changed.
  • No required quality-gate jobs are accidentally skipped due to path filters.
  • All nox stages pass.
  • Coverage >= 97%.

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

## Metadata - **Branch**: `ci/conditional-execution-path-filters` - **Commit Message**: `ci(pipeline): implement path-based conditional execution for docs and path-specific jobs` - **Milestone**: v3.8.0 - **Parent Epic**: #1678 ## Subtasks - [ ] Modify `.forgejo/workflows/ci.yml` to add path-based filters to the `docs` job, so it only runs when files in `docs/` or `mkdocs.yml` have changed. - [ ] Identify other jobs that could benefit from conditional execution (e.g., `helm`) and implement similar path-based filters. - [ ] Verify that the conditional filters do not inadvertently skip required jobs on PRs targeting `main`. - [ ] Update CI documentation or inline comments to explain the path-filter strategy. ## Definition of Done - [ ] The `docs` job only runs when relevant documentation files (`docs/`, `mkdocs.yml`) have changed. - [ ] Other identified path-specific jobs only run when their respective files have changed. - [ ] No required quality-gate jobs are accidentally skipped due to path filters. - [ ] 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-04 19:24:49 +00:00
freemo added the
MoSCoW
Could have
label 2026-04-04 19:30:52 +00:00
HAL9000 modified the milestone from v3.8.0 to v3.7.0 2026-05-13 00:29:25 +00:00
HAL9000 added the
Priority
High
State
In Review
Type
Bug
labels 2026-05-13 00:32:38 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: cleveragents/cleveragents-core#2778