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

   ## Summary
   - add a reusable stage timer helper that records named stages and prints a 
summary on shell exit
   - add external regression stage detection for prepare, start Doris, start 
dependencies, run cases, and cleanup
   - auto-enable the timer from `github-utils.sh` so the live TeamCity inline 
external pipeline starts printing stage timings without a TeamCity config edit
   
   ## Why
   - the external regression pipeline often runs for more than an hour and 
current logs do not show where the time is spent
   - the live external pipeline is configured as a TeamCity inline shell, so 
repo-only helper logic was not enough to activate timing by itself
   - using the existing `github-utils.sh` source point lets the pipeline pick 
up the timer automatically once it checks out this code
   
   ## Impact
   - successful and failed external regression runs print a five-stage timing 
summary and total duration before exit
   
   ## Root cause
   - the timing helper existed in the repo, but the live external inline script 
had no automatic hook to enable it
   
   ## Validation
   - `python regression-test/pipeline/common/test_stage_timer.py`
   - `bash -n regression-test/pipeline/common/stage-timer.sh 
regression-test/pipeline/external/external-stage-timer.sh 
regression-test/pipeline/common/github-utils.sh`
   


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