Repository navigation
refactor: delete the legacy Python scan engine - #1168
Conversation
|
@codex review |
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. |
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The legacy implementation and its references are removed consistently while compatibility data structures remain intact.
Review effort: Balanced
Findings: None
What changed in this PR
Removes the retired Python Deep Scan orchestration engine after migration to the current scan flow.
Changes:
- Deletes the legacy engine, publication tests, and timestamp compatibility fixture.
- Removes obsolete exports, cost serialization helper, and package inventory entry.
- Retains legacy database tables for saved-report compatibility.
| File | Description |
|---|---|
plugins/codex-security/scripts/deep_scan_workbench.py |
Deletes the legacy scan engine. |
plugins/codex-security/scripts/workbench_db.py |
Removes legacy engine exports. |
plugins/codex-security/scripts/workbench_scan_usage.py |
Removes an unused cost helper. |
plugins/codex-security/plugin-files.json |
Removes the deleted module from packaging. |
plugins/codex-security/tests/test_deep_scan_publication.py |
Deletes engine-specific publication tests. |
plugins/codex-security/tests/test_workbench_timestamps.py |
Removes the legacy timestamp fixture. |
plugins/codex-security/tests/test_workbench_db.py |
Reorders retained schema expectations. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Codex Review: Didn't find any major issues. Hooray! 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". |
7bf702a to
e2ac389
Compare
65fee77 to
f6195ff
Compare
021cc8a to
af45da2
Compare
f6195ff to
50fcfff
Compare
faizan-oai
left a comment
There was a problem hiding this comment.
Reviewed removal of the legacy Python engine at 50fcfff and the surviving workbench composition paths. Integrated Python recovery/composition/migration coverage passes. No new issue found in this cleanup increment; the remaining active-path issues are tracked on their introducing PRs.
af45da2 to
de084ce
Compare
50fcfff to
cdeea3c
Compare
de084ce to
1e81818
Compare
cdeea3c to
18695d3
Compare
alandelong-oai
left a comment
There was a problem hiding this comment.
Three independent passes and root verification found no actionable regression in removal of the retired Python engine and unused exports. All 93 tests in the retained changed database/timestamp suites passed; Ruff and the exact-head plugin build passed. No repository files were changed.
1e81818 to
f03a222
Compare
18695d3 to
783458b
Compare
alandelong-oai
left a comment
There was a problem hiding this comment.
The previously completed three independent passes carry forward after verifying the patch is identical; root reconciled the current base and discussion.
No serious outstanding finding was identified in this change. The scoped prior review and current diff remain consistent.
Approval is for this change. Integrated-tip validation passed 1,357 SDK tests (31 skipped), 105 MCP tests (2 skipped), portable checks, types/builds and installed-package smoke. Other stack findings and known CI fixture failures still prevent the stack from being mergeable.
f03a222 to
4aee47e
Compare
783458b to
43a2b25
Compare
There was a problem hiding this comment.
Re-reviewed the real PR diff at 43a2b255dc477e0281c1f913dec1a6d9b29f87ec. The patch is unchanged from the prior three-pass review. I reconciled the inherited changes in touched files and retained the prior verified findings and tests.
No serious outstanding finding identified in this patch; prior conclusions remain consistent with the unchanged change or the current re-review.
Validation across touched paths at branch tip 06e75cfe: 1,356 SDK tests, 867 Python tests plus 100 subtests, and 108 MCP tests passed; builds, types, portable checks and installed-package checks passed. These are integration checks at the branch tip, not a claim that every intermediate PR or its CI is clean. Latest workflow runs for this unchanged head were verified successful at 2026-10-02 01:26 UTC. Earlier failed or canceled job records are superseded; this CI status correction does not alter the review decision.
4aee47e to
c06099d
Compare
182b45d to
be950cf
Compare
c06099d to
696c980
Compare
alandelong-oai
left a comment
There was a problem hiding this comment.
Retained the three independent passes for the identical patch and reconciled inherited touched-file changes at be950cf63319.
No actionable introduced finding survives the independent reviews and root reconciliation of this exact patch, touched-file changes, and current integration checks.
Current tip 355ec321 passed 75 report-projection tests, portable source checks, SDK build:ci and plugin build. The immediately preceding tip fec36f1d passed 1,360 SDK tests, 873 Python tests plus 100 subtests, 109 MCP tests, builds/types and the clean 600-entry installed-package check. Only report_projection.py and its test changed between those tips; SDK/MCP runtime files are byte-identical. Both descend from main 008a8b4d. These are integration checks, separate from own-head probes. No native Windows local run.
No serious outstanding finding introduced by this PR. Code review approval does not establish CI or merge readiness.
696c980 to
691b169
Compare
be950cf to
1cf170f
Compare
alandelong-oai
left a comment
There was a problem hiding this comment.
Retained the three independent passes for the verified identical patch and reconciled inherited touched-file changes at 1cf170fc9266.
No actionable introduced finding survives the independent reviews and root reconciliation of this exact patch and inherited changes in touched files.
Integrated tip 6ef8cbb8, based on 008a8b4d, passed 1,388 SDK tests, 879 Python tests plus 100 subtests, 109 MCP tests, portable checks, builds and the clean 600-entry installed-package check. These are branch-tip integration checks, separate from own-head probes; no local Windows execution was performed.
No serious outstanding finding introduced by this PR. Code approval is separate from CI and merge readiness.
1cf170f to
f0ed597
Compare
alandelong-oai
left a comment
There was a problem hiding this comment.
Retained three prior independent passes for the verified identical patch and reconciled inherited touched-file changes at f0ed59765761.
No actionable introduced finding survives the independent reviews and root reconciliation of this exact patch and inherited changes in touched files.
Branch tip 3e0083d9, based on 008a8b4d, passed 1,392 SDK tests, 881 Python tests plus 100 subtests, 109 MCP tests, builds, portable source checks and the 600-entry installed-package check. These are tip checks, separate from own-head probes. No local Windows run was performed. The tip excludes the dependency update merged separately in #1184; combined validation remains outstanding.
No serious outstanding finding introduced by this PR. Code approval is separate from CI and merge readiness.
Consolidate approved Deep Scan changes into the parent topic branch.
ef2f075
into
mdangelo/codex/pr939-split-44-retired-workers
Part 45 of 46. Previous: #1167 · Next: #1169 · Stack index
Summary
Delete the Python Deep Scan engine after its execution and recovery entrypoints have been retired.
Changes
Testing
Checks against the complete stack passed: SDK and MCP typechecks, formatting, Ruff, the SDK build, portable plugin compatibility and its tests, focused recovery/accounting tests, and local-artifact package smoke using exact cached dependencies. The package check was not a clean registry install. See this PR’s Checks tab for CI results for its current commit.
Risk and rollout
This must follow removal of the legacy dispatch routes. Existing database migrations and historical saved reports are retained.
Public disclosure review