TEST-INFRA: [ci-pipeline-design] Introduce Conditional Execution for Faster PR Checks #1715

Open
opened 2026-04-02 23:33:57 +00:00 by freemo · 1 comment
Owner

Metadata

  • Branch: task/ci-conditional-execution-pr-checks
  • Commit Message: feat(ci): introduce conditional execution for faster PR feedback checks
  • Milestone: v3.8.0
  • Parent Epic: #1678

Description

The current CI pipeline runs the same comprehensive set of checks for both push and pull_request events. To provide faster feedback to developers, we should introduce conditional execution to run a smaller, faster set of checks on every PR commit, and the full suite only before merging.

Subtasks

  • Modify the .forgejo/workflows/ci.yml file to define two sets of jobs: one for PR checks and one for merge checks.
  • The PR checks should include lint, format, and unit_tests.
  • The merge checks should include all jobs.
  • Configure the CI pipeline to run the PR checks on every commit to a pull request.
  • Configure the CI pipeline to run the merge checks when a pull request is merged.
  • Update features/ci_workflow_validation.feature to assert conditional execution logic is present and correct.
  • Verify all nox stages pass after changes.
  • Confirm coverage ≥ 97%.

Definition of Done

  • A smaller, faster set of checks (lint, format, unit_tests) runs on every PR commit.
  • The full test suite runs before a PR is merged.
  • The changes are documented in the project's development documentation.
  • features/ci_workflow_validation.feature covers the new conditional execution behaviour.
  • All nox stages pass.
  • Coverage >= 97%

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

## Metadata - **Branch**: `task/ci-conditional-execution-pr-checks` - **Commit Message**: `feat(ci): introduce conditional execution for faster PR feedback checks` - **Milestone**: v3.8.0 - **Parent Epic**: #1678 ## Description The current CI pipeline runs the same comprehensive set of checks for both `push` and `pull_request` events. To provide faster feedback to developers, we should introduce conditional execution to run a smaller, faster set of checks on every PR commit, and the full suite only before merging. ## Subtasks - [ ] Modify the `.forgejo/workflows/ci.yml` file to define two sets of jobs: one for PR checks and one for merge checks. - [ ] The PR checks should include `lint`, `format`, and `unit_tests`. - [ ] The merge checks should include all jobs. - [ ] Configure the CI pipeline to run the PR checks on every commit to a pull request. - [ ] Configure the CI pipeline to run the merge checks when a pull request is merged. - [ ] Update `features/ci_workflow_validation.feature` to assert conditional execution logic is present and correct. - [ ] Verify all nox stages pass after changes. - [ ] Confirm coverage ≥ 97%. ## Definition of Done - [ ] A smaller, faster set of checks (`lint`, `format`, `unit_tests`) runs on every PR commit. - [ ] The full test suite runs before a PR is merged. - [ ] The changes are documented in the project's development documentation. - [ ] `features/ci_workflow_validation.feature` covers the new conditional execution behaviour. - [ ] 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-02 23:34:34 +00:00
Author
Owner

Issue triaged by project owner:

  • State: Verified
  • MoSCoW: MoSCoW/Could Have — CI/test infrastructure improvement. Could Have.

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

Issue triaged by project owner: - **State**: Verified - **MoSCoW**: MoSCoW/Could Have — CI/test infrastructure improvement. Could Have. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: ca-project-owner
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#1715
No description provided.