Repository navigation
fix(network): count omitted response content promptly - #6413
Merged
morluto merged 2 commits intoOct 23, 2026
Merged
Conversation
18 of 22 tasks
eco-null
marked this pull request as ready for review
October 22, 2026 22:42
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; the previous test coverage gap is fixed. SummaryCounts selected response content omissions when the response arrives, rather than waiting for the request to finish.
Diagram%%{init: {'theme': 'neutral'}}%%
flowchart LR
A[Response arrives] --> B{Transaction admitted?}
B -->|No| C[Count omitted response metadata]
C --> D{Response content selected?}
D -->|Yes| E[Count omitted content once]
D -->|No| F[Return without reading body]
E --> F
B -->|Yes| G[Keep normal response capture]
Reviews (2) · Last reviewed commit: "test(network): pin response omission tim..." · 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.
Summary
Count selected response content omitted by a full capture inventory. Fixes #3957. Split from #4040.
Problem and expected behavior
When the transaction limit was full, selected response headers/body omissions were recorded only if a later finished event arrived. Account once at the response boundary, including failed and unfinished requests.
Change and scope
One independent fix on current main; no dependency on #4040. No new target execution or authority.
Follow the contribution scope.
Unresolved scope, authority, side effects, or required verification block
integration. Link the required maintainer scope decision for new providers or
capabilities involving target execution, injection, mutation, or protection
recovery; ordinary fixes within existing boundaries may state "not applicable".
Draft PRs may leave the scope decision pending and the readiness and merge checklists
unchecked. Maintainers can help resolve open questions.
Contract and boundary impact
docs/public/product-catalog.json), package, or installation impact (CI generates and validates ignored catalogs andskills/; edit authored instructions in.agents/skills/reverse-engineer-anything/and never commit build outputs): No build outputs committed; catalogs regenerated by normal checks.Expected effects (check known effects; use documentation-only on its own).
Unchecked items do not establish absence; leave uncertainties visible.
Evidence and regression coverage
For evidence-bearing changes:
Validation performed
npm run test:focused -- src/browser/network/PlaywrightScenarioNetwork.test.ts- 28/28 passed (1.04 s). Assertions pin first response, duplicate response, terminal notification and final finish count. Normal commit/pre-push typecheck and lint passed.Compatibility, safety, and release
Author readiness
Human owner: @eco-null
Before merge
type(scope): outcome.