feat: 업무카드 허용 행동·Renewal 실행 사유 계약 보완 - #221
Merged
Merged
Conversation
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.
배경
OCR 검토·자동 Renewal 이후 기존 승인이 무효화된 업무에서도 Client가
task_type만 보고 Renewal 실행을 다시 노출해RENEWAL_EXECUTION_NOT_ALLOWED가 발생했습니다. 화면이 상태를 추측하지 않도록 Server가 현재 가능한 행동을 명시합니다.Closes #220
변경 내용
next_action,available_actions,blocked_reason추가RUN_RENEWAL제공하고 재승인이 필요하면REQUEST_APPROVAL반환RENEWAL_REQUEST_CONTRACT_INVALID,RENEWAL_WORKFLOW_MISMATCH로 구분검증
./gradlew clean test✅연동 순서
이 PR을 먼저 병합·배포한 뒤 Client의 연동 PR을 병합합니다.