[PR #24758] feat: orchestrate CI workflows to prevent duplicate runs when autofix makes changes #30775

Closed
opened 2026-02-21 20:48:12 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/24758

State: closed
Merged: Yes


Summary

  • Adds orchestrated CI workflow to coordinate autofix and test execution
  • Prevents redundant workflow runs when autofix makes changes
  • Maintains parallel test execution for efficiency

Changes

  1. New main CI orchestrator ():
    • Runs autofix as the first job
    • Commits any fixes back to the PR
    • Triggers test workflows only after autofix completes
    • Includes intelligent path filtering to run only relevant tests

Benefits

  • No duplicate runs: Tests wait for autofix to complete, preventing cancellation and re-runs
  • Resource efficiency: Avoids wasted CI compute from cancelled workflows
  • Faster overall CI: Eliminates the delay from cancelled and restarted workflows
  • Cleaner workflow history: No more cluttered history with cancelled runs
  • Smart execution: Tests still run in parallel after autofix, and only run for changed components

Fixes #24757

**Original Pull Request:** https://github.com/langgenius/dify/pull/24758 **State:** closed **Merged:** Yes --- ## Summary - Adds orchestrated CI workflow to coordinate autofix and test execution - Prevents redundant workflow runs when autofix makes changes - Maintains parallel test execution for efficiency ## Changes 1. **New main CI orchestrator** (): - Runs autofix as the first job - Commits any fixes back to the PR - Triggers test workflows only after autofix completes - Includes intelligent path filtering to run only relevant tests ## Benefits - **No duplicate runs**: Tests wait for autofix to complete, preventing cancellation and re-runs - **Resource efficiency**: Avoids wasted CI compute from cancelled workflows - **Faster overall CI**: Eliminates the delay from cancelled and restarted workflows - **Cleaner workflow history**: No more cluttered history with cancelled runs - **Smart execution**: Tests still run in parallel after autofix, and only run for changed components Fixes #24757
yindo added the pull-request label 2026-02-21 20:48:12 -05:00
yindo closed this issue 2026-02-21 20:48:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#30775