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

   ### Background
   
   The TeamCity FE compile runs Maven Checkstyle during the `validate` phase. 
GitHub Actions also runs `mvn clean checkstyle:check` for FE changes. On 
December 3, from 00:00 through 19:54 UTC+8, the Java step in the master Code 
Style workflow used 3 h 49 min across 78 executions.
   
   ### What problem does this PR solve?
   
   Issue Number: None  
   Related PR: None  
   PR Type: Build/CI/Chore
   
   Remove the Java step, its JDK setup and its path selection from Code Style. 
Remove the legacy standalone FE Checkstyle workflow from master. Code Style 
continues to run the license, secret, large-file and applicable Clang checks.
   
   ### Details
   
   - **Coverage.** A comparison on the same master PR revision found one Java 
module checked only by the GitHub workflow, `fe-authentication-plugin-ldap`. 
This change accepts that gap and uses the module set covered by FE compilation. 
[GitHub 
job](https://github.com/apache/doris/actions/runs/47039352707/job/144023490769) 
ยท [TeamCity compile](http://doris-ci.com/builds/agent-test/26366/index.html)
   - **Release branch rollout.** The ASF configuration on master manages the 
required checks for release branches. Remove the standalone `CheckStyle` 
requirement for 4.1 and 4.2. Allow this ruleset update to take effect before 
merging the separate PRs that delete those release workflows. Both branches 
continue to require `TeamCity/compile`.
   
   ### Testing
   
   Ran all 17 tests in `.github/scripts/test_pr_workflow_event.py` and 
exercised seven path-selection scenarios, including renamed C++ files, FE-only 
changes, and incomplete change lists. Verified that the ruleset diff removes 
only the intended 4.1/4.2 context. `git diff --check` passed.
   
   ### Release note
   
   None.
   
   ### Check List (For Author)
   
   - Behavior changed: CI only.
   - Does this need documentation: No.
   - Pre-submission status: Ready for review.
   
   ### AI Disclosure
   
   - Tool: OpenAI Codex.
   - Generated: Workflow and ruleset edits, local validation, and this 
description.
   - Human review: The requester confirmed the scope and accepted the LDAP 
coverage change.
   


-- 
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