Repository navigation
feat: 느린 웹 읽기 조회를 접수와 결과 링크로 분리 - #350
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.
웹 읽기 도구는 느린 첫 응답을 시간 초과로 처리하고, 같은 URL의 재시도에서 이전 실패나 pending을 재사용할 수 있습니다. 실제 ChatGPT 새 임시 채팅 두 건에서 즉시 접수 후 새 실제 상태 링크를 따라5초 가상 작업의 완료 결과를 읽는 것을 확인했습니다.
다이소
/browse/read조회가1초 안에 끝나면 기존 결과를 반환하고, 더 오래 걸리면 접수 HTML과 새 결과 확인 링크를 제공합니다. 후속 상태 확인은 저장 결과만 읽으며 원본 API는 한 번 실행합니다. 원본의 IP·권한·한도·캐시·성공/오류와 안전한 응답 헤더를 유지합니다. 다른 서비스의 기존 경로, JSON API, CLI 및 공개 MCP10개는 유지합니다.작업은25초 제한/5분 보존/256KiB 저장 상한을 적용합니다. 처음 대기부터 waitUntil로 수명을 보호하고, 다이소 HTTP·주소 제공자 호출에 범위별 취소 신호를 전달합니다. 요청 헤더·토큰·쿠키는 저장하지 않습니다. 알람과 완료의 경합은 트랜잭션으로 보호하며 크기 초과502·시간 초과504·만료·미확인 수량을 구분합니다.
새 기능 및 알람·크기 오류의 RED 회귀를 확인했습니다. 최종 전체 회귀·Native Mac·CI·CodeQL과 커버리지4항목100%, 로컬 타입·소스450줄·빌드를 통과했습니다. 독립 리뷰에서 발견한 수명·알람·헤더·크기 문제도 수정했습니다. 운영 반영 후 실제 공개 조회와 ChatGPT 웹을 재검증합니다.