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

   ### What problem does this PR solve?
   
   Reviews can exhaust all seven attempts while the selected model remains at 
capacity. After five capacity failures, this change resumes the same review 
session with `gpt-6-astra` for the remaining two attempts, preserving the 
existing five-minute backoff, shared deadline, target checks, and final-review 
verification.
   
   The workflow opts in through `--capacity-fallback-model`. Account/model 
admission fallback remains separate. Recovery instructions preserve completed 
findings and the cumulative round count, and direct unfinished child-agent work 
to the selected model.
   
   Scope: three files; 17 production lines and 91 test lines added.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test
       - [x] Unit Test
           - Runner suite: 88 tests, 85 passed and 3 Linux-only skips on macOS.
           - Full Python script suite: 294 tests, 273 passed and 21 skipped.
           - `git diff --check` passed.
           - Covers the fifth-failure threshold, 5+2 exhaustion, same-session 
recovery, shared budget, target changes, existing submissions, non-capacity 
failures, and unavailable fallback models.
       - [ ] Manual test
   
   Live CI account access to Astra and real cross-model child-agent recovery 
have not been exercised.
   
   - Behavior changed:
       - [x] Yes. Capacity recovery switches model after five failures without 
restarting the review or resetting its attempt/time limits.
   
   - Does this need documentation?
       - [x] No. The optional CLI argument and recovery log describe the policy.
   
   ### 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