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. |
리뷰 · 우선순위 61 / 80이 PR은 Meta Muse 로그인 관련 고친 내용을 하나로 모은 것이다. 예전 PR #5234와 #5432를 이어받아, 대시보드(관리 API)에서 Muse 로그인을 시작할 때는 서버가 확인한 라인 - 메인테이너의 판단이 필요한 지점 관리 API만 너의 추천 방향은 맞고 테스트도 admission → 자격 증명 획득 순서와 본문 크기 한도를 잘 묶었다. draft를 풀기 전에 (1) 403 문구를 “대시보드 세션 필요”처럼 문서와 같게 다듬고, (2) 보안 리뷰·CI를 채운 뒤, (3) #5234·#5432는 중복으로 다시 열지 말 것을 권한다. CLI 예외는 의도라면 문서에 한 줄로 더 분명히 남기고, 아니면 후속 이슈로 분리하면 된다. 이 댓글은 grok-bot이 작성했습니다 |
…a-login-boundaries
Summary
Consolidate #5234 and #5432 around the same Meta Muse credential-acquisition path. Management login requires the server-resolved dashboard session principal before importing a local credential or starting a device flow, and device authorization/token/mint responses are bounded and released on failure.
oauth_consent_requiredbefore credential acquisition. The same admission applies to ordinary login, add-account and reauthentication; direct CLI and other OAuth-provider policies are unchanged.Verification
e1a9eb1d14d8b39acfc34b855dc876c979ae0780, base deva4bdc03054d4a449c7762eec9853f04557a06fb4. The dev refresh includes upstream release/CI and roster-test corrections. All eight Meta integration files and proxy runtime sources undersrc/remain byte-identical to the testedc3a2f379cefba4aad998492a619b058003dc1667head.bun run test -- ./tests/providers/provider-registry-parity.test.tspassed 59 tests, 0 failures, 2,297 assertions, 6.04 seconds on pinned Bun 1.4.0. No duplicate production or test fix was added to this feature.-xprovenance and original author/date. Two stable patch IDs match exactly; the third differs only in structure-table context and has an identical zero-context patch ID. The source-head dev merge adds no unique contribution beyond the carried source patch.bun run test -- ./tests/oauth/oauth-public-surface.test.ts ./tests/providers/meta-muse-device.test.ts ./tests/providers/meta-muse-login-order.test.tsusing pinned Bun 1.4.0: 76 passed, 0 failed, 278 assertions, 7.20 seconds. The mint-429 cancellation regression failed before the correction and passed afterward. Coverage includes principal/mode admission, no acquisition on rejection, bounded response failures and actual login dependency ordering using synthetic inputs.Checklist