fix(command-code): preserve conversation affinity across recovery - #3692
Conversation
|
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. |
리뷰 · 우선순위 56 / 80이 PR은 Command Code 요청이 매 턴 random session id를 받지 않고 conversation affinity를 유지하게 합니다. 원본 공유 prompt-cache cohort를 session affinity에 쓰면 서로 다른 대화가 같은 upstream worker에 붙습니다. Command Code는 대화 연속성이 제품 체감의 전부입니다. 매 턴 세션이 갈리면 도구·컨텍스트가 끊긴 것처럼 보입니다. A 스택에서 recovery(
경로 경로 테스트 whitespace/blank replay/identity-kind - cache key trim·빈 키 fallback·true/false/undefined 분류를 잠급니다. 경로 원본 메인테이너의 판단이 필요한 지점
너의 추천 이 댓글은 grok-bot이 작성했습니다 |
Owner-authorized admin integration of the independently reviewed A stack through #3716. Exact head: 5097e66. All 24 actual full cross-platform producers succeeded in https://github.com/lidge-jun/opencodex/actions/runs/33991642514. Any queued aggregation-only job is accepted only after directly checking its exact allowlist. No pending or failed functional producer of this integration candidate is waived. Carries #3708 bounded Unix probe cleanup and deterministic verification, #3692 Command Code conversation affinity (source #3581), and #3694 effective provider capability evaluation (source #3671). Earlier failing foundation jobs remain recorded and are superseded by this fully tested descendant. All lower-layer and contributor commits remain ancestors; original author identities are preserved. After dev ancestry verification, originals and superseded review PRs are closed with the actual landing evidence. Related #3661 remains open. Co-authored-by: SB Yoon <44089734+yansigit@users.noreply.github.com> Co-authored-by: Hako <25837994+devswha@users.noreply.github.com>
|
Integrated as part of the reviewed stack through #3716, dev merge |
Summary
Command Code requests now retain opaque conversation affinity: client thread, then replay identity, then a cache key only when explicitly classified as conversation-specific. Shared/unknown cohorts retain random fallback. The API-key commandcode transport separately enables its existing prompt-cache-key support.
Carries #3581 with original contributor commits and author metadata retained. Additional regressions cover the exact boundary cases described in the source change. Depends on #3708; review this layer's diff only. Foundation #3708 supplies separately reviewed replay-fixture and bounded Unix cleanup corrections.
Remaining stack (merge bottom-up): #3708 → #3692 → #3694. Earlier A layers #3683, #3686 and #3690 are on dev.
Verification
d0029c50475c965467e63a76a08cf9b67a65a2e9. Full current-head CI: https://github.com/lidge-jun/opencodex/actions/runs/33986932003 . Fresh gates must pass before owner-authorized admin merge.Checklist
Co-authored-by: SB Yoon 44089734+yansigit@users.noreply.github.com
Final foundation refresh: current head
bc1e7e113e8720511dc7c06768f78b6a30addec7, full current-head CI https://github.com/lidge-jun/opencodex/actions/runs/33988433813 . Includes the tested direct-management watchdog correction in #3708; feature production code is unchanged by this final refresh.