Repository navigation
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.
질문별 고정 자료 선택을 기존 영속 분석 작업으로 연결합니다. 동일한 plan/source/order에서 같은 자식 요청 UUID4를 유도하고 완료한 작업을 재사용하며, 첫 pending/running 작업 또는 실패한 작업에서 반환합니다. 기존 workspace당 활성 작업 1개와 합산 예약 예산을 유지합니다.
선택 당시 원문 hash를 기존 저장 transaction 안에서 예약 전에 비교하는 선택적 guard를 추가했습니다. 자료가 중간에 바뀌면 새 작업·예산 예약 없이 거부하며, 기존 인자를 사용하는 호출은 유지합니다. 취소·queue 응답 유실 후에도 이미 접수한 작업을 보존하고 같은 요청으로 재개합니다.
자동 부모 workflow, 브리핑 변환, API/UI, 개발 적용은 후속입니다. 이번에 실제 제공자 호출·운영 서버/DB 변경·main/앱/기본 worker 활성화는 하지 않습니다. 응답은 ID/상태/개수/queue ack만 포함하며 생성 완료나 사실 인증으로 표시하지 않습니다.
검증: 집중 91개, Ruff/format/mypy 통과. 실제 DBOSClient·합성 PostgreSQL·모의 SSE로 두 자료 완료/재접수, 예약 2개·차단된 native HTTP 2회를 확인했습니다. 새 전체 9,716개(Python 8,896 + JS 820), 정적 검사·타입·빌드·OpenAPI 통과, 실패/skip/warning 0. 독립 태스크/전체/수정 검토 C0/I0/M0. Native 테스트가 기존 queue 소유권에 영향을 주던 문제는 전용 schema 격리와 양방향 실행 순서 검사 후 새 DB 전체 재검증으로 해결했습니다. 기존 실행 파일 488개와 이전 증거 43개의 hash 동일성을 확인합니다.
명세: docs/changes/question-plan-dispatch.md
검증: docs/research/question-plan-dispatch-validation.md