Skip to content

test(process): align symlink fixture with filesystem checkpoints - #9019

Closed
ShuaixinHuang wants to merge 7 commits into
morluto:mainfrom
ShuaixinHuang:codex/test-sync-symlink-capture-checkpoints
Closed

ShuaixinHuang wants to merge 7 commits into
morluto:mainfrom
ShuaixinHuang:codex/test-sync-symlink-capture-checkpoints

Conversation

@ShuaixinHuang

@ShuaixinHuang ShuaixinHuang commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Supersedes #8998.

Summary

Repair the symlink capture comparison fixture that fails in the #8996 Source tests. The same failing fixture is on main.

Change and scope

Use the same one-element snapshot for files_before, files_after and the initial/final checkpoints. The fixture already supplies matching top-level and checkpoint effects. Preserve the current vs legacy symlink-byte comparisons and the uncertain comparison control. No production schema or comparison logic changes. The CI job is the reproduction reference.

Validation

  • The current main test and validator, run together in a local checkout, reproduced the checkpoint consistency error before the fix.
  • The same targeted test passed after the change and the fixture passed the formatter.
  • The wider local comparison file had 24 passes and one unrelated failure because this checkout uses path normalization v3 and main expects v4. Integrated verification remains pending in CI.

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.

Before merge

  • Verify the current CI and the single fixture change.

@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-05T11:40:38.425785Z
We couldn’t complete this review. Comment @codex review to try again.
162e078 PR opened
ℹ️ 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.

@greptile-apps

greptile-apps Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge; no actionable issues were found.

Summary

Repairs the symlink fixture by sharing one snapshot across files_before, files_after, and filesystem checkpoints.

  • The symlink comparison test uses one consistent file snapshot.
  • Source-location CLI tests check generated-line bounds in a separate case.
  • The Frida CLI test checks the returned Evidence shape.
  • MCP tests use kernel-module Evidence for unsupported parent views.

Reviews (3) · Last reviewed commit: "chore(ci): retry interrupted PR verifica..." · Reviewed by Greptile

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

Labels

area: runtime Process capture and runtime observation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants