Conversation
Address review findings on the admission fence: the lifecycle lease now covers only the credential read — the operation releases it via releaseMainLease as soon as getValidMainAccountToken settles (success and credential-error paths alike) and before any upstream roster fetch, so a profile drain never waits on network work while the turn is still counted. The Pool-only retry also runs after release. isNativeMainCredentialUnavailableError now falls back only for NATIVE_MAIN_CLAIM_BUSY / NATIVE_MAIN_CLAIM_UNAVAILABLE; other NativeProfileError codes propagate. Correct the model-entitlement-admission comment to match the actual locking guarantee.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
✅ Deterministic PR hygiene checks passed. |
⏳ DRAFT
What to do
Review readiness checklist
3/4 boxes ticked. The PR is more than 10 commits behind |
리뷰 · 우선순위 60 / 80백그라운드에서 모델 목록(자격)을 다시 받을 때, 본계정 이번 PR은 그 문을 라인 - 라인 - PR 설명 / 라인 - 메인테이너의 판단이 필요한 지점 요청 경로의 턴 입장( 너의 추천 방향은 맞고, 본계정 자격 증명을 백그라운드가 문 없이 만지던 구멍을 제대로 막습니다. 머지 전에 테스트를 이 댓글은 grok-bot이 작성했습니다 |
|
Already landed upstream via #5268 (carries the admission fence and the lease-release follow-up, including the native-main credential release before roster fetches). Closing as superseded. |
Summary
Test plan
Checklist
Review readiness checklist
This PR stays in draft until every box below is ticked. Tick all four boxes once the requirements are met:
All CI tests are green on my local testing.
I pushed my PR to the latest dev commit.
I resolved all correct Codex and CodeRabbit findings.
My PR is ready for review.