test(oauth): drain ACL flights before fixture teardown - #3818
Conversation
Record scoped roadmap and independent plan audit. Local suites are excluded by owner instruction; final remote CI will verify the combined candidate.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Team Run ID: 📒 Files selected for processing (8)
📝 WalkthroughWalkthroughThe change adds platform-validation planning documents for OAuth teardown, Docker smoke coverage, CI integration, body diagnostics, and residual evidence. OAuth fixture cleanup now waits for asynchronous Windows ACL hardening and includes a regression test for an in-flight hardening operation. ChangesPlatform validation
Estimated code review effort: 3 (Moderate) | ~20 minutes ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks 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. |
리뷰 · 우선순위 54 / 80이 PR은 지금 왜 이게 중요하냐면, Windows에서 디렉터리 권한을 고치는 ICACLS 작업이 백그라운드로 남을 수 있기 때문입니다. 예전에 #3383 쪽에서 남은 teardown(정리) 잔여가 바로 이 부분입니다. 생산(프로덕션) 인증 코드나 ACL 정책 자체는 손대지 않습니다. 테스트만 고칩니다. 파일은 코드를 보면 새 회귀 테스트는 플랫폼을 win32로 강제하고 가짜 Windows SID를 넣은 뒤, 비동기 ICACLS를 Promise로 붙잡아 둡니다. 그 상태에서 정리 함수를 시작하고 setImmediate 한 틱을 기다린 다음, 아직 정리가 끝나지 않았고 홈/디렉터리가 그대로인지 확인합니다. 그다음에야 release를 풀어서 정리가 끝나는지 봅니다. 실러너로 비행이 새지 않게 finally에서도 다시 stub을 씌웁니다. 이 순서는 현재 types.ts/config.ts 대형 분할 캠페인과는 무관합니다. 테스트 픽스처만이라 close-don't-rebase 대상이 아닙니다. 런타임 #3808 Claude 호환이나 track2 chat과도 겹치지 않습니다. 다만 이 층만 머지해도 Docker/본문 진단은 안 옵니다. 체인 아래층입니다. 라인 86 - afterEach가 이제 async cleanup을 직접 await하지 않고 함수 참조만 넘깁니다. Bun/테스트 러너가 반환 Promise를 기다려 주는 현재 관례에 기대는데, 회귀 테스트 본문에서는 명시 await를 쓰므로 그 경로는 안전합니다. 메인테이너의 판단이 필요한 지점
너의 추천 이 댓글은 grok-bot이 작성했습니다 |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Summary
OAuth store fixtures now await tracked asynchronous directory ACL work before restoring the environment or deleting their directory. Both ICACLS runners are stubbed, and a held-flight regression exercises the actual cleanup ordering. Production authentication and ACL policy are unchanged.
Carries the teardown residual from #3383 commit
51726d2c7; the numeric-open-flags report remains unverified. Layer 1 of the manual platform chain.Verification
6f2ad1ef32c113ff5827c58959c85cefa923b15c. Cross-platform CI, lane=all passed (26 successful jobs). The verification ref points to the same commit as the final PR.Checklist
Co-authored-by: x3M3x amroeid1999@gmail.com
Maintainer integration
The repository owner explicitly authorized admin integration of this manual chain into dev. The final combined head
6f2ad1ef32c113ff5827c58959c85cefa923b15cpassed all 26 CI jobs. One cancelled macOS shard was rerun with unchanged source, commands and limits; its original stall remains recorded rather than claimed fixed.Independent integration review found no conflict with current dev
a5f9c3497. A clean merge produced tree2c51d5e8042011fe8362e267b224016c6061d684; the relevant OAuth/body/container tests passed there on isolated Linux (129 passed, zero failures). This focused result is distinct from the full CI proof on the combined PR head. The branch commits preserve original contributors through Co-authored-by trailers.Summary by CodeRabbit
Documentation
Tests