test(coverage): measure GitHub App runtime core - #408
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan includes up to 1 review per rolling hour; 0 remain after this review. 📝 WalkthroughWalkthroughGitHub API 어댑터의 요청 타입과 오류 상태 계산을 단순화했습니다. GitHub App 런타임 커버리지 제외 주석을 제거하고, OIDC 인증·installation 조회·토큰 발급·캐시 동작을 검증하는 테스트를 추가했습니다. ChangesGitHub App 런타임 검증
Estimated code review effort: 3 (Moderate) | ~25 minutes Merge Risk: ⚪ Minimal · up to The change is limited to coverage tests and a small runtime cleanup; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
Summary
Restores the GitHub App credential-runtime core to Noema's exact 100% owned-production coverage obligation without exporting private helpers, weakening thresholds, or reviving broad V8 exclusions. This is a bounded #84 slice on current protected
main; already-integrated OIDC/replay/runtime behavior is preserved.Exact lineage
29a64e144eda0fb52a25f3c682b3cbfa2a2dedf901c7c1a12fbb6b4451c8b66292841487607a0e60965f09ea0eae4bb99b8452b6735e7ca25e2aa29586bd1cd6dfbca2f51cb77c2210b10599ab17a9e55cb780ada477925f4d0a83bb90faeef8d81d8f1a->e48f6e7fde85082d1c518f66fc909a33ac78421980bd9e920873ef9006e3b511a8be3c7044fd29ed->a063774820594206bc11d4dd9d30986e6daf4145cb349a7c900cf49e854bf26775992c683e4afee6quality/github-app-runtime-coverageNo predecessor-head check/review/scanner evidence transfers.
Test-first repair
The branch first makes the GitHub App runtime region measurable and exercises it only through the public
/exchangeWorker boundary with real WebCrypto RSA keys and signed GitHub OIDC JWT fixtures while mocking only external OIDC/GitHub network responses.The regressions cover:
Coverage RCA also removed two production branches that were unreachable under the actual internal contract instead of adding exclusions:
githubJsonnow requires a concrete string-header map, and its post->=500fallback no longer repeats a redundant<500test.Current evidence boundary
Exact head
cb349a7c900cf49e854bf26775992c683e4afee6is unchanged and freshly passed application CI, reviewer-ci, and the eligible central Security Scan. Current review threads and formal reviews are empty. Live protectedmainremains29a64e144eda0fb52a25f3c682b3cbfa2a2dedf9; the active Noema ruleset requires the central.github/workflows/security-scan.yml@mainworkflow and currently exposes no independent-approval-count rule.Transitioning from Draft must trigger fresh ready-for-review evidence; those new runs are non-passing until terminal success and will be revalidated before any merge decision.
Non-goals
Related: #84
Summary by CodeRabbit
개선 사항
테스트