YoWuwuuuw opened a new pull request, #7270:
URL: https://github.com/apache/incubator-seata/pull/7270

   <!--
       Licensed to the Apache Software Foundation (ASF) under one or more
       contributor license agreements.  See the NOTICE file distributed with
       this work for additional information regarding copyright ownership.
       The ASF licenses this file to You under the Apache License, Version 2.0
       (the "License"); you may not use this file except in compliance with
       the License.  You may obtain a copy of the License at
   
       http://www.apache.org/licenses/LICENSE-2.0
       
       Unless required by applicable law or agreed to in writing, software
       distributed under the License is distributed on an "AS IS" BASIS,
       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
       See the License for the specific language governing permissions and
       limitations under the License.
   -->
   <!-- Please make sure you have read and understood the contributing 
guidelines -->
   
   - [ ] I have registered the PR [changes](../changes).
   
   ### Ⅰ. Describe what this PR did
   ● Optimized CI Trigger Conditions:
               ○Skip CI for .md file-only changes: CI process will not be 
triggered when the PR only contains modifications to .md files (like: 
[#7226](https://github.com/apache/incubator-seata/pull/7226)) , reducing 
unnecessary resource consumption. 
               ○ PR Status Filtering: Avoid closed PRs (like: 
[#7263](https://github.com/apache/incubator-seata/pull/7263)) from occupying CI 
activities and prevent the Codecov bot from commenting on closed PRs. 
   
   
   ● Maven Repository Caching: 
               ○ Added caching for the Maven repository to accelerate build 
preparation and speed up CI testing (estimated improvement of 30-60 seconds). 
Cache status and usage can be viewed at 
https://github.com/apache/incubator-seata/actions/caches. 
               ○ 
[Reference](https://docs.github.com/zh/actions/writing-workflows/choosing-what-your-workflow-does/caching-dependencies-to-speed-up-workflows)
   
   
   ● Retry Mechanism: 
               ○ Introduced a retry mechanism(1 time) to avoid CI failures 
caused by occasional issues. For example, in 
https://github.com/apache/incubator-seata/actions/runs/14049309257/job/39336574577?pr=7225
 and 
https://github.com/apache/incubator-seata/actions/runs/14026429452/job/39265823304,
 CI occasionally fails due to sporadic problems (which should not happen), 
requiring manual triggering of CI.
               ○ Optimization Enhancement: Manually triggered CI rebuilds tests 
for all versions, while automatic retries only retry tests for the failed 
versions, improving efficiency.
               
○[Reference](https://github.com/apache/rocketmq/blob/develop/.github/workflows/rerun-workflow.yml)
   
   > The corresponding ci measurement can be seen in my fork repo: 
https://github.com/YoWuwuuuw/incubator-seata
   
   ### Ⅱ. Does this pull request fix one issue?
   <!-- If that, add "fixes #xxx" below in the next line, for example, fixes 
#97. -->
   
   
   ### Ⅲ. Why don't you add test cases (unit test/integration test)? 
   
   
   ### Ⅳ. Describe how to verify it
   
   
   ### Ⅴ. Special notes for reviews
   
   


-- 
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: notifications-unsubscr...@seata.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org
For additional commands, e-mail: notifications-h...@seata.apache.org

Reply via email to