Repository navigation
fix(environment): retain conflicting scenario MIME uncertainty - #7786
Closed
ShuaixinHuang wants to merge 1 commit into
Closed
ShuaixinHuang wants to merge 1 commit into
ShuaixinHuang wants to merge 1 commit into
Conversation
3 tasks done
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
[Medium impact] The PR appears safe to merge; no actionable issue was found. Summary
Reviews (1) · Last reviewed commit: "fix(environment): retain conflicting sce..." · Reviewed by Greptile |
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.
Problem and result
Replaces #7357 at the author's request, refreshed on pinned main
9593bc53. Only the original three feature files remain; historical shared CI repairs and unrelated imports are excluded.When a browser scenario records conflicting response Content-Type declarations, preserve MIME uncertainty rather than selecting the first header. Every matching value must remain retained and exactly agree; an excluded value or conflict keeps the type unknown. Identical repeats and independently captured body metadata retain their existing behavior. Original headers and capture evidence remain unchanged.
This is the same existing environment-manifest/replay projection fix. No new MIME parser, dependency, provider, operation, public schema or browser execution authority is added.
Verification
Windows x64, pinned Node24.22.1/npm11.16.0, fresh locked dependencies:
npm run check:fast: 2/2 passed,32.671seconds; normal pre-commit and pre-push type/lint2/2passed(cached236ms).npm run check: 5/6 tasks, failing only on unchanged upstreamHexRecordRegionMetadataunused type, also tracked by fix: remove unused hex record metadata type #7718. It is not a complete green check; no unrelated fix was imported. The same earlier pinned clean baseline failure was independently reproduced during this resubmission series.The CLI coverage calls the production registered handler in-process, not a separate compiled CLI/MCP session. No live browser or Linux/macOS local run is claimed. Previous #7357 hosted checks are historical; this head needs its own CI. Net change: 3 files,151 additions/4 deletions.
Author readiness
Human owner: @ShuaixinHuang
The human owner explicitly confirmed that review of this published PR was complete in this chat on 2026-10-27. The prior ownership and responsibility confirmation remains in force. This records initial readiness for the published change; subsequent validation remains documented above.
The existing initial human declaration is retained for this same feature and upstream refresh.
Before merge