TEST-INFRA: [ci-pipeline-design] No Conditional Execution of Jobs #2258

Open
opened 2026-04-03 11:39:24 +00:00 by freemo · 2 comments
Owner

Metadata

  • Branch: fix/ci-pipeline-conditional-execution
  • Commit Message: chore(ci): add conditional job execution based on changed files
  • Milestone: v3.6.0
  • Parent Epic: #376

Subtasks

  • Audit the current .forgejo/workflows/ci.yml to identify all jobs and their triggers
  • Define path filters for each job category (e.g., Python source, docs, config)
  • Implement paths / paths-ignore conditions on workflow jobs to skip unnecessary runs
  • Validate that the test suite still runs on all Python file changes
  • Validate that documentation-only changes skip the full test suite
  • Update CI documentation/comments to reflect the new conditional logic

Definition of Done

  • .forgejo/workflows/ci.yml uses conditional execution (path filters) for all major job groups
  • Documentation-only PRs no longer trigger the full test suite
  • Python source changes continue to trigger the full test suite
  • CI behaviour is verified via a test PR with only doc changes and one with only Python changes
  • All nox stages pass
  • Coverage >= 97%

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

## Metadata - **Branch**: `fix/ci-pipeline-conditional-execution` - **Commit Message**: `chore(ci): add conditional job execution based on changed files` - **Milestone**: v3.6.0 - **Parent Epic**: #376 ## Subtasks - [ ] Audit the current `.forgejo/workflows/ci.yml` to identify all jobs and their triggers - [ ] Define path filters for each job category (e.g., Python source, docs, config) - [ ] Implement `paths` / `paths-ignore` conditions on workflow jobs to skip unnecessary runs - [ ] Validate that the test suite still runs on all Python file changes - [ ] Validate that documentation-only changes skip the full test suite - [ ] Update CI documentation/comments to reflect the new conditional logic ## Definition of Done - [ ] `.forgejo/workflows/ci.yml` uses conditional execution (path filters) for all major job groups - [ ] Documentation-only PRs no longer trigger the full test suite - [ ] Python source changes continue to trigger the full test suite - [ ] CI behaviour is verified via a test PR with only doc changes and one with only Python changes - [ ] All nox stages pass - [ ] Coverage >= 97% --- **Automated by CleverAgents Bot** Supervisor: Test Infrastructure | Agent: ca-new-issue-creator
freemo added this to the v3.6.0 milestone 2026-04-03 11:43:03 +00:00
Author
Owner

Potential duplicate of #1984.

This issue describes the same problem as #1984 ("Implement conditional test execution", v3.8.0) — both request adding path-based conditional execution to CI jobs so that documentation-only changes skip the full test suite. #1984 was triaged in cycle 1 with MoSCoW: Could Have.

Triaging as verified but flagging the overlap. The backlog groomer should consolidate these issues.

Issue triaged by project owner:

  • State: Verified
  • Priority: Low (confirmed)
  • Milestone: v3.6.0 (already assigned)
  • MoSCoW: Could Have — Conditional CI execution is a CI optimization. Overlaps with #1984.
  • Parent Epic: #376 (confirmed correct)

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

**Potential duplicate of #1984.** This issue describes the same problem as #1984 ("Implement conditional test execution", v3.8.0) — both request adding path-based conditional execution to CI jobs so that documentation-only changes skip the full test suite. #1984 was triaged in cycle 1 with MoSCoW: Could Have. Triaging as verified but flagging the overlap. The backlog groomer should consolidate these issues. Issue triaged by project owner: - **State**: Verified - **Priority**: Low (confirmed) - **Milestone**: v3.6.0 (already assigned) - **MoSCoW**: Could Have — Conditional CI execution is a CI optimization. Overlaps with #1984. - **Parent Epic**: #376 (confirmed correct) --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: ca-project-owner
Author
Owner

INSTANCE_ID: test-infra-12345-1649000000
MODE: worker
FOCUS_AREA: ci-pipeline-design
ISSUES_FILED: 4
ISSUE_NUMBERS: [#2221, #2231, #2239, #2258]
KEY_FINDINGS: Identified four areas for improvement in the CI pipeline design: redundant nightly job, lack of parallelism, no matrix strategy for Python versions, and no conditional execution of jobs.


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

INSTANCE_ID: test-infra-12345-1649000000 MODE: worker FOCUS_AREA: ci-pipeline-design ISSUES_FILED: 4 ISSUE_NUMBERS: [#2221, #2231, #2239, #2258] KEY_FINDINGS: Identified four areas for improvement in the CI pipeline design: redundant nightly job, lack of parallelism, no matrix strategy for Python versions, and no conditional execution of jobs. --- **Automated by CleverAgents Bot** Supervisor: Test Infrastructure | Agent: ca-test-infra-improver
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.

Depends on
Reference
cleveragents/cleveragents-core#2258
No description provided.