feat(transport): add opt-in Antigravity TLS profile - #3741
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 |
|
⏳ DRAFT
What to do
Review readiness checklist
✅ 4/4 boxes ticked. This pull request was already a draft. Its draft status will be preserved after every issue above is resolved. |
|
The intake failure is the expected |
리뷰 · 우선순위 48 / 80이 PR은 캐논 Google Antigravity OAuth 목적지에서만 쓰는 옵트인 브라우저 흉내 TLS 프로필( 지금 우선순위 48인 이유다. 현장 TLS/지문 문제가 있으면 가치 있지만, release-244 로드맵 non-goal(새 프로바이더·광범위 인증 실험 자제)과 겹치는 선택 네이티브 의존성 + 인증 출구라 열차 앞자리가 아닙니다. enforce-target도 실패( draft 유지)입니다. 설계의 fail-closed·호스트 화이트리스트·동적 import는 방향이 맞지만, 메인테이너가 의존성 공급망·브라우저 프로필 고정값( 경로/심볼 - 메인테이너의 판단이 필요한 지점
너의 추천 이 댓글은 grok-bot이 작성했습니다 |
Summary
tlsProfile: "antigravity-browser"transport for the canonical Google Antigravity OAuth provider, while leaving every unconfigured provider on Bun's existing fetch path.wreq-js@2.3.1only inside the opted-in request path and expose a bounded disabled/active/failed status for management diagnostics.Dependency/security context:
wreq-jsis an optional dependency with no install scripts or build hook. It is dynamically imported only after the exact provider/profile gate succeeds. The profile never activates during normal startup or for an omitted setting. Independent review verified origin pinning, manual redirects, proxy fail-closed behavior, abort preservation, error redaction, and the core/Lab boundary. Explicit maintainer security review is requested because this changes authenticated outbound transport and adds a dependency.Verification
bun test tests/providers/provider-runtime-fetch.test.ts tests/providers/provider-tls-profile.test.ts tests/responses/responses-fetch-helpers-boundary.test.ts tests/lab/core-lab-boundary.test.ts tests/test-layout.test.ts tests/test-layout-tooling.test.ts— 46 passed.bun run test:changed— 15,992 passed / 12 skipped / 0 failed at merge basebc973cf22.bun run test— 19,952 passed / 15 skipped / 0 failed, followed by every required serial gate passing at exact published head0d38947ed.bun run typecheck— passed.bun run privacy:scan— passed.git diff --check— passed.(cd docs-site && bun install --frozen-lockfile && bun run build)— passed (425 pages).Checklist
Review readiness checklist
This PR stays in draft until every box below is ticked.
Co-authored-by: SB Yoon 44089734+yansigit@users.noreply.github.com