Repository navigation
fix: correct pcap parent guidance and preserve loader base uncertainty - #6246
ShuaixinHuang wants to merge 12 commits into
Conversation
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. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
[Medium impact] The reviewed changes appear safe to merge. SummaryCorrects pcap parent guidance and keeps alternate-base loader references unknown instead of resolving them against the wrong source file.
Diagram%%{init: {'theme': 'neutral'}}%%
flowchart LR
A[Loader call] --> B{Alternate URL base?}
B -->|Yes| C[Keep unknown reference and expression]
B -->|No| D[Keep existing source-file resolution]
Reviews (7) · Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." · Reviewed by Greptile |
baron
left a comment
There was a problem hiding this comment.
AI-assisted review checked both wording additions against the existing inspect_pcap_capture result/dispatch and pcap projector. They describe already-supported parents rather than changing schemas, selection, source identity or analysis behavior.
No blocking content finding, but current conflicts with main prevent approval. Resolve them and validate the resulting revision; existing exact-head green CI does not qualify a future conflict resolution. No local Wireshark, docs generation or projection-test run was performed.
…sis-view-parents # Conflicts: # src/contracts/analysisViewToolContracts.ts
|
@baron Thank you for the review. Resolved the main conflict in 87a96c0 by preserving the entire updated upstream description and adding only the missing pcap parent name; the net diff remains two wording changes. On upstream-pinned Node 24.22.1, npm run check, npm run docs:check and all 35 existing analysis-view/pcap tests passed. Fresh CI is running; the previous green head is not used to qualify this revision. Could you please re-review and approve/merge when the current required checks pass? @morluto |
…-pcap-analysis-view-parents
…sis-view-parents # Conflicts: # src/domain/javascript/sourceToBundleComparison.test.ts
…sis-view-parents # Conflicts: # src/application/environment/environmentBundle.test.ts # src/application/environment/environmentReplayCapacity.test.ts
Superseded by main
Closed by the author after comparing the full diff with main
044c9705.2ebaadfareplaces the two incomplete supported-parent lists with compatible-parent guidance; the contract still explicitly documentsinspect_pcap_capture.ccba355fpreserves the alternate createRequire filename base through static facts, workers and graph resolution.f91b7f80distinguishes resolver discovery from executable loading. These supersede this PR's conservative unknown-base guard and earlier resolver expectations.This conclusion is based on source/diff comparison. No complete latest-main CI pass or real-provider run is claimed. Prior validation below describes earlier revisions only.
Historical PR description and validation
## SummaryFixes #5733. Include pcap capture Evidence in both supported-parent guidance lists. Also preserve an unknown loader reference when the static projection cannot carry a proven createRequire URL base, so its literal is not resolved against the wrong source file.
Scope
The latest synchronization uses upstream 96ea32b. Preserve its expanded source-map matrix and capacity fixture, plus the existing host-versus-file control and scalar replay source assertion. The two newly exposed CI failures required test-only changes: IDA case-insensitive sigma matches both sigma forms; valid omitted CDP content size remains unknown during comparison. A known-size empty-MIME control still compares unchanged. No new production capability, timeout increase or removed scenario.
Validation performed
Head d8d316d, Windows x64, pinned Node 24.22.1 and locked dependencies:
Author readiness
Human owner: @ShuaixinHuang