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

   ### What problem does this PR solve?
   
   Issue Number: N/A
   
   Related PR: N/A
   
   Problem Summary:
   
   Code Review Runner refreshes every configured apt source before installing 
ripgrep. Unrelated repository failures therefore prevent the review from 
starting: Ubuntu mirror requests exhausted the five-minute step timeout in [run 
39782218861](https://github.com/apache/doris/actions/runs/39782218861) and [run 
39783606374](https://github.com/apache/doris/actions/runs/39783606374); a 
Microsoft repository HTTP 403 caused apt to exit 100 in [run 
39871999195](https://github.com/apache/doris/actions/runs/39871999195).
   
   Install the official ripgrep 14.1.0 x86_64 Linux musl release directly, with 
its SHA-256 pinned in the workflow and checked before extraction. Use bounded 
curl retries, verify the installed executable, and expose its job-local 
directory through GITHUB_PATH. Keep the five-minute step timeout and fail the 
step on download, checksum, extraction, installation, or execution errors.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test
       - [x] Unit Test: 265 script tests completed successfully (246 passed, 19 
Linux process-supervision tests skipped on macOS). Six new tests cover 
installation/PATH propagation, download failure, checksum mismatch, invalid 
archive, missing executable, and a broken executable despite an existing system 
rg.
       - [x] Manual test: downloaded the official archive and matched its 
published SHA-256. In an isolated x86_64 Linux container, ran the actual 
installer against a loopback HTTP server with the real archive and unchanged 
pinned digest: two 503 responses then success (3 requests); persistent 503 
failure (4 requests, exit 22); corrupt payload (exit 1). Verified ripgrep 
14.1.0, file discovery, text search, and PCRE2.
       - [x] Manual test: actionlint v1.7.7 and git diff --check passed. For 
actionlint, disabled optional ShellCheck/Pyflakes and ignored only the existing 
unsupported concurrency.queue diagnostic.
   - Behavior changed:
       - [x] Yes. Review setup uses a verified upstream ripgrep binary instead 
of apt; external download failures still fail the job.
   - Does this need documentation?
       - [x] No.
   
   The hosted Actions path remains to be validated after merge; no production 
review was manually retriggered.
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label
   
   


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