Skip to content

test(frida): assert the CLI spawn Evidence contract - #9002

Closed
ShuaixinHuang wants to merge 6 commits into
morluto:mainfrom
ShuaixinHuang:codex/test-frida-spawn-evidence-contract
Closed

ShuaixinHuang wants to merge 6 commits into
morluto:mainfrom
ShuaixinHuang:codex/test-frida-spawn-evidence-contract

Conversation

@ShuaixinHuang

@ShuaixinHuang ShuaixinHuang commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Update the Frida CLI spawn boundary test to assert the top-level Evidence contract. The CLI already returns Evidence directly. The test was still looking for an outer evidence property and failed before checking argument forwarding.

Validation

The original assertion failed locally and in shard 7 of #9000 and #9001. The updated test validates the named output schema, operation, and recorder fixture's source digest. It keeps the exact ordered spawn argument assertion. All 18 Frida CLI boundary tests, formatting, and check:fast passed on Windows using existing dependencies. The tests use an injected recorder for this case and do not start a real Frida target.

The unrelated analysis-view and process-capture baseline failures remain separate.

Author readiness

Human owner: @ShuaixinHuang

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

@greptile-apps

greptile-apps Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The reviewed changes appear safe to merge; no blocking defects were found.

Summary

This PR updates four tests without changing production behavior.

  • Frida spawn tests check the returned Evidence contract.
  • The source-location CLI has a separate generated-line boundary test.
  • Unsupported-view tests use Evidence from a kernel-module inspection.
  • The process comparison fixture shares matching file snapshots.

No actionable defects or security issues were found. Tests were not run during this review. GitHub access was unavailable, so whether another PR supersedes this one could not be checked. The previous and current commits have different merge bases with the target commit, so all supplied PR changes were reviewed.

Reviews (2) · Last reviewed commit: "test(ci): sync validated baseline repair..." · Reviewed by Greptile

@ShuaixinHuang
ShuaixinHuang marked this pull request as ready for review November 5, 2026 13:48
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-05T13:48:38.066779Z
We couldn’t complete this review. Comment @codex review to try again.
fbcf517 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: cli CLI adapter and one-shot commands provider: frida Analysis provider / engine: frida

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants