Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
github | 74009f6 | Commit Preview URL | Apr 16 2026, 02:14 PM |
analyzeComplexity를 기존 tagPatterns, postLearningStatus와 동일하게 self-fetch + waitUntil 패턴으로 /internal/complexity-analysis 엔드포인트를 통해 별도 Worker invocation으로 디스패치하도록 변경. 기존에 원래 invocation에서 직접 실행되던 구조를 통합하여 3개 AI 핸들러 모두 독립적인 subrequest 예산(50)을 가짐. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
skip 조건, OpenAI 응답 파싱, 댓글 포맷(단일/멀티 풀이, 유저 주석 유무), 댓글 upsert(POST/PATCH), 파일 크기 제한, 에러 처리 등 24개 테스트 케이스 작성 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
<details>접기), 개선 제안 포함analyzeComplexity를/internal/complexity-analysis엔드포인트로 분리하여 독립 subrequest 예산(50) 확보변경 파일
handlers/complexity-analysis.js— 복잡도 분석 핸들러 (신규)handlers/complexity-analysis.test.js— 단위 테스트 24개 (신규)handlers/internal-dispatch.js—/internal/complexity-analysis엔드포인트 추가handlers/webhooks.js— 3개 AI 핸들러 모두 self-fetch dispatch로 통합handlers/webhooks.test.js— dispatch 횟수 검증 업데이트 (2→3)tests/subrequest-budget.test.js— analyzeComplexity subrequest 회귀 테스트 추가Test plan
bun test handlers/전체 통과 (51개)bun test tests/전체 통과 (3개)INTERNAL_SECRET설정 후 PR opened 시 복잡도 분석 댓글 생성 확인INTERNAL_SECRET미설정 시 기존 방식(in-process)으로 폴백 확인Closes #8
🤖 Generated with Claude Code