fix(task): Worker 서류 요청 전 OCR next action 순환 해소 - #225
Merged
Conversation
hywznn
marked this pull request as ready for review
August 20, 2026 07:41
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.
문제
ask_workerRenewal 결과에DOCUMENT_OCR출처 누락이 남으면 Server가 승인 요청보다REVIEW_OCR을 먼저 반환했습니다. 아직 Worker Link를 발급하지 않아 서류가 없는 상태에서 OCR 검토를 요구하므로, 승인 → 링크 발급 → 제출 → OCR 순서가 막혔습니다.변경 내용
scenario를 next-action 계산에 반영ask_worker의DOCUMENT_OCR누락은 미래 서류 수집 항목으로 보고 승인 요청을 차단하지 않음ocr시나리오의REVIEW_OCR동작은 유지변경 후 흐름
HR 입력·체크리스트·안내문 준비→REQUEST_APPROVAL→APPROVE→ISSUE_WORKER_LINK→근로자 서류 제출→OCR 실행·검토→Renewal 재개테스트
TaskAvailableActionResolverTestask_worker + DOCUMENT_OCR 누락이면REQUEST_APPROVALocr시나리오는REVIEW_OCR유지REVIEW_WORKER_GUIDE우선RenewalExecutionIntegrationTestnext_action=REQUEST_APPROVAL201 READY_FOR_REVIEW./gradlew clean testCloses #224