Skip to content

Fix: 실행 종료 판정을 실행 안의 이벤트로 + 질문 폴링 5초 (CLI 0.1.7) - #38

Merged
oyeonghun merged 4 commits into
devfrom
fix/run-end-judgement
Oct 10, 2026
Merged

oyeonghun merged 4 commits into
devfrom
fix/run-end-judgement

Conversation

@oyeonghun

Copy link
Copy Markdown
Collaborator

요약

  • 실행 종료 판정: 종료 순간의 태스크 상태가 아니라 실행 시작 이후 이 에이전트의 ARTIFACT_SUBMITTED·TASK_BLOCKED_ON_QUESTION으로 submitted·waitingQuestion을 정한다(findRunOutcome). 실험 C1에서 답이 종료 보고보다 먼저 와 READY였고, 그 실행이 submitted: true로 세어졌다.
  • 멈춤(AGENT_STOPPED)은 그 에이전트가 아직 잡고 있을 때만 — 늦은 종료 보고·감시가 다시 잡은 실행을 멈추지 않게.
  • 질문 답 대기 폴링 2초 → 5초(노트북 쪽, CLI 0.1.7).
  • 실험 파일 tests/e2e-question-executor.test.ts(C1 재개·C3 답할 쪽 꺼짐, 배포 CLI 빌드로 Executor 둘 — RUN_CLAUDE_E2E=1일 때만). 두 시나리오 모두 실제 Claude로 통과.
  • 마이그레이션 없음.

테스트

  • 전체 vitest·typecheck·check:cli-package 통과.

🤖 Generated with Claude Code

oyeonghun and others added 4 commits October 10, 2026 16:06
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…험 C1)

- findRunOutcome: 실행 시작 이벤트 이후 이 에이전트의 ARTIFACT_SUBMITTED·TASK_BLOCKED_ON_QUESTION으로 판정.
- 멈춤(AGENT_STOPPED)은 그 에이전트가 아직 잡고 있을 때만 — 늦게 온 종료 보고·감시가 다시 잡은 실행을 멈추지 않게.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@oyeonghun
oyeonghun merged commit 7cdcd84 into dev Oct 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant