fix(test): reject unhandled browser smoke API requests - #1604
Draft
seonghobae wants to merge 1 commit into
Draft
Conversation
Record unmatched API requests before replying with a failure so silent browser handling cannot produce passing evidence, including during page cleanup. Signed-off-by: Seongho Bae <me@seonghobae.me> Co-authored-by: Codex <noreply@openai.com>
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Sep 8, 2026
Contributor
Author
|
Exact head
|
Contributor
Author
|
Focused exact-head verification
This proves the changed smoke-contract tests locally only; hosted current-head Checks, review, protected merge, and deployment remain unverified. |
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.
목적
#1599에 기록된 별도 결함을 같은 smoke-source stack에서 수리합니다. 미등록 API 요청의 기본 HTTP 200 성공을 HTTP 501로 바꾸고, 브라우저가 오류를 숨겨도 기존 오류 수집 경로가 실패를 기록하게 합니다. URL·query·payload는 진단 메시지에 포함하지 않습니다.
변경과 검증
남은 검증
실제 10개 화면 및 반응형 검증, 현재 source-head CI, 독립 리뷰와 보호된 prerequisite 통합이 필요합니다. 기존 route별 광범위 prefix fixture가 모든 method/resource 계약을 검증한다고 주장하지 않습니다. 이 PR은 최종 미등록 fallback 결함만 수리합니다. AGENTS와 gap 문서는 기존 #1549/#1602 담당 경로를 유지합니다. 배포·병합·보안 gate 우회는 실행하지 않았습니다.