Repository navigation
test(sdk): trace findings through assessment, patching and verification - #3008
mldangelo-oai wants to merge 74 commits into
Conversation
…blication readback
…tion and saved files
…sted advisory IDs
…rified Git sources
… original records
…test SARIF admission
…ctual file inputs
… and saved timelines
…ns and saved revisions
…istorical identities
|
@codex review Please review |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
alandelong-oai
left a comment
There was a problem hiding this comment.
Thanks for moving these checks through saved findings and the actual validation/remediation paths. Owner-level merge-safety review of this exact head against the stacked base found one test reliability issue: the new session-event fixture starts an asynchronous append without awaiting it. The inline comment includes a controlled reproduction and the smallest fix. I found no other material issues in the 31-file diff.
Validation: focused runs produced 429 passes and 3 Windows-only skips, plus one failure caused by the local Git wrapper; both affected cases passed with native Git. SDK/plugin/CI builds, types, Ruff, changed-file formatting and the current plugin source check passed. Compiled CLI hosted-diagnostics and patch/verify smoke checks passed with a fake executor. Private faults were caught by the restored direct-ID selection and held-reader assertions. The 56 exact-head hosted checks are green. Full suites and local Windows/macOS execution were not run; recheck the retargeted diff and CI after the prerequisites land.
|
@codex review Please review |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review Please review |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
An assessment can finish for one finding while another still needs a retry. These tests follow that state from the host’s review frames to the saved scan, then check what the CLI reports when a patch changes the checkout or verification loses its output terminal.
Changes
Testing
After merging the refreshed #3007 parent, all 26 affected Linux suites passed 458 tests with 3,350 assertions, plus five Windows skips. The 26 relabeled cases passed in a focused run.
Previous verification
On Linux, all 26 affected suites passed 458 tests, with five Windows skips. I ran the full stack of 41 changed suites at
00eb52b0on Python 3.12.14 and Bun 1.4.4 with seed 12345. Across four shards, 840 tests passed in 2m 33s, with seven Windows skips. Three other suites using the shared helpers passed all 28 tests.The compiled SDK passed both hosted package and remediation smoke scripts, including diagnostic forwarding and patch and verify. Type checking, formatting, Ruff, the CI build and all nine plugin compatibility checker cases passed.
The session test passed with the rollout append delayed by one second. Removing the await lost the expected response record. Disabling occurrence lookup failed the direct patch test, which selects the owner from two saved scans. Each of three separate GitLab faults also failed the lost-response test, including omitting closed requests, omitting JSON output and requiring confirmation before creation.
The three validation cases previously failed with a Python 3.10 virtual environment. After sharing the constructor, they passed with Python 3.10 and 3.12. A probe confirmed the selected 3.10.22 interpreter starts and loads
tomlifrom the parent environment.Risk and rollout
The pathname replacement test uses the packaged reader’s first read after identity checks. The terminal cases exercise actual signal delivery and check the worker’s result after cleanup. Native CI exercises platform-specific paths and PowerShell invocation.
This PR builds on #3007. The CLI patch tests use its native skill fixture and process proxy. Once #3007 lands, target
mainand rerun CI.Public disclosure review