Repository navigation
feat: 리뷰·실행 피드백 루프와 자동화 실패 분류 - #179
Merged
Merged
Conversation
- 실행기 실패 사유를 FAILURE_CODES 중 하나로 분류하고 PR 실패 댓글 첫 줄에 autofix-failure 표식과 코드만 남긴다 - PR 모드의 마스킹한 실패 사유를 DO 행에 저장하고 상태 조회에 failureCode를 추가한다
- feedback.mjs collect/clusters/gate로 리뷰 답글·실행 실패·버그 이슈를 모으고 반복 군집과 리뷰어 변경의 회귀를 판정한다 - 제품 개발 문서에 피드백 루프 구조도와 절차를 추가한다
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
Cloudflare builds and deploys previews for this pull request. Learn more about Cloudflare previews.
Updated: |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
koin-api | 1afa236 | Dec 04 2026, 07:26 AM |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
koin-web | 1afa236 | Dec 04 2026, 07:25 AM |
- gate: 후보에 pulls(다시 리뷰한 PR)를 요구해 지적이 0건인 PR도 수용 지적 유지율에 반영한다 - runFailures: 표식의 PR 번호가 댓글이 달린 PR과 다르면 세지 않고, 이슈 실패 댓글은 이슈 번호로 센다 - bugIssues: 병합된 PR만 fixedBy에 넣는다
5 of 7 tasks
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.
What is this PR? 🔍
Changes 📝
PR 실행 실패 분류 (
apps/error-automation)src/failure.ts가 사유를 고정 코드(check-typecheck,sandbox-permission,model-rate-limit,lease등 20개)로 분류한다.<!-- autofix-failure:v1:<PR>:<head>:<코드> -->와실패 분류: <코드>만 남긴다. 사유 원문은 공개하지 않고, 기존 마스킹을 거쳐 DO 행에만 저장한다./executor/pull-requests/status, 오류 진단 disposition)에failureCode를 추가했다.피드백 원장 (
scripts/development/feedback.mjs)collect: GitHub 읽기 전용. 리뷰 계정의 지적과 사람의 첫 답글(중복·수정함·기획 결정·미룸·불명확), 봇이 남긴 실패 표식,bug라벨·화면 순회 발행 이슈와 이를 닫은 PR을 원장으로 쓴다.--labels의 사람 판정이 규칙보다 우선한다.clusters: 같은 서명이 서로 다른 PR·이슈--min(기본 3)건 이상일 때만 군집으로 고른다.gate: 리뷰어를 바꾼 뒤 같은 PR head에서 다시 리뷰한 결과를 원장과 대조한다. 기각된 지적의 재발, 한 실행 안의 중복, 수용된 지적 유지율 미달이면 종료 코드 1이다.문서
docs/product-development/README.md에 피드백 루프 구조도(feedback-loop.png/svg)와 절차를 추가하고, 오류 자동화·실행기 README의 상태 필드를 갱신했다.근거
기존 이력을 다시 확인한 결과입니다.
5일 실패는 같은 날 병합된 수정 PR(fix(automation): lease 만료 전까지 한정된 heartbeat 연결 복구 #18fix(automation): 읽기 전용 소스에서 실제 Nitro 빌드·배포 dry-run #26 등)로 보아 검증기 권한·모델 게이트웨이·자원 문제였다. 분류 코드는 이 사유들을 기준으로 만들었다.Test CheckList ✅
pnpm --filter @koin/error-automation test(145 pass, 신규failure.test.mjs·PR 실패 댓글 테스트 포함)pnpm --filter @koin/error-automation typecheckpnpm test:development(115 pass, 신규feedback.test.mjs포함)pnpm lint:oxlint,pnpm format:check,pnpm development:docscollect·clusters실행: 지적 84 · 답글 41 · 수용 19(46%), 실패 35, 버그 이슈 7. 기준 이상 군집은run-failure:unclassified(15 PR, 표식 이전 댓글),review:product-decision(3 PR)node:24.22.1-bookworm, HEAD 스냅샷)에서pnpm lint·pnpm build·pnpm test모두 종료 코드 0,scripts/autofix/security.test.mjs12/12 통과. Windows의 symlink 스냅샷 테스트 실패는 원본develop에서도 같게 실패하는 환경 문제(이 PR은scripts/autofix코드 변경 없음)Precaution
unclassified로 집계된다.--reviewer로 지정한 계정만 읽는다. 현재 인라인 리뷰 계정(whatever-thinking-ai)과 이전 App 댓글(ghost)은 실행자가 지정해야 한다.gate의 후보 리뷰를 만드는 실행 도구는 없다. 문서의 "아직 없는 것"에 남겼다.labels.json으로 사람이 확정한다.✔️ Please check if the PR fulfills these requirements
develop; production promotion PRs targetmainfromdevelop?stage.koreatech.in?pnpm lint