shuke987 opened a new pull request, #71225:
URL: https://github.com/apache/doris/pull/71225

   ### Background
   
   Doris PRs can trigger the FE web UI build, CDC client build and tests, or 
third-party checks. Each workflow used a separate Ubuntu job and recursively 
checked out the repository and its submodules to decide whether it had work.
   
   ### What problem does this PR solve?
   
   Issue Number: None
   Related PR: #71167 (pauses the two macOS third-party builds on master)
   PR Type: Build/CI/Chore
   
   Problem Summary: On December 1 from 00:00 to 16:38 UTC+8, the three 
detectors ran 357 jobs and used 306 runner-minutes. Checkout steps accounted 
for 280 of those minutes. A docs-only PR update now requests one detector 
runner instead of three. The detector compares paths for the event's exact 
commit and downloads only Git commit and tree objects.
   
   ### Details
   
   - **Affected:** The third-party workflow hosts the shared PR detector. It 
calls the UI and CDC workflows when their paths match and gates the third-party 
jobs directly. Each workflow retains its manual entry point.
   - **Behavior change:** UI and CDC jobs appear under the shared PR workflow.
   - **Developer and release impact:** The Linux third-party check keeps its 
required name and macOS remains paused on master. The comparison uses the merge 
base and head from the event, and detects both sides of renames. Missing 
comparison outputs select the corresponding builds.
   - **License and third-party:** The detector uses Git and the GitHub CLI 
supplied by the hosted Linux runner.
   - **Rollback:** Revert this commit to restore the three independent PR 
triggers.
   
   ### Testing
   
   - Ran the workflow's Bash detector against 11 local Git fixtures, including 
docs-only, UI, CDC, third-party, mixed renames, deletions, a diverged base and 
a change with 3,011 paths. Verified the expected flags and zero fetched blobs.
   - Replayed the detector against the fork head of [PR 
#70808](https://github.com/apache/doris/pull/70808). It selected the 
third-party checks and fetched 1.81 MiB of commits and trees.
   - Compared the three workflow definitions with master. Verified the manual 
triggers, required third-party job definitions and component build steps. 
Actionlint introduced no new diagnostics. Six existing warnings concern older 
checkout and setup-java versions.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Behavior changed: Yes (CI routing only, see Details)
   - Does this need documentation: No
   - Pre-submission status: Ready
   
   ### AI Disclosure
   
   - Tool: OpenAI Codex (GPT-6)
   - Generated: Workflow changes, local verification fixtures and this 
description.
   - Human review: Pending.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to