Repository navigation
test: cover stopped scan draft recovery - #1157
mldangelo-oai merged 1 commit into
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. |
|
Codex Review: Didn't find any major issues. Another round soon, please! 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". |
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
An intended child-recovery path is never executed, and the new union helper lacks direct coverage.
Review effort: Balanced
Findings: 2
Open (2)
What changed in this PR
Adds regression coverage for stopped-scan draft recovery and introduces a reusable coverage-union helper.
Changes:
- Tests malformed committed drafts and reconciliation with saved checkpoints.
- Tests finding refinement and distinct identities.
- Adds coverage-row union logic.
| File | Description |
|---|---|
test_workbench_pending_drafts.py |
Adds malformed-draft recovery tests. |
test_workbench_current_draft.py |
Expands reconciliation and identity tests. |
workbench_saved_results.py |
Adds the coverage-union helper and simplifies path handling. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| ] | ||
|
|
||
|
|
||
| def union_coverage(target: dict[str, Any], source: dict[str, Any]) -> None: |
| scan = register(state, target, tmp_path / "scan", mode=mode) | ||
| directory = Path(scan["scanDir"]) | ||
| child_title = None | ||
| if scenario == "deep_child": |
b58c69f to
69f2dfd
Compare
7a8a356 to
272b793
Compare
alandelong-oai
left a comment
There was a problem hiding this comment.
Reviewed the exact diff with three independent passes and root verification. No serious introduced findings. Both stopped-draft recovery test files pass. The existing unused fixture branch and direct helper-test comments are minor coverage cleanup; the helper has no runtime caller in this PR.
272b793 to
a43db59
Compare
97dd48c to
24f55e8
Compare
alandelong-oai
left a comment
There was a problem hiding this comment.
Three independent re-review passes and root reconciliation are complete for this restacked head.
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.
a43db59 to
ea53452
Compare
alandelong-oai
left a comment
There was a problem hiding this comment.
Re-reviewed the real PR diff at ea534523b8828f5bfc9050e8834658a8b5c2d377. 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.
40f4303 to
7ce462a
Compare
ea53452 to
3eae769
Compare
7ce462a to
f5b5e81
Compare
3eae769 to
ee01c31
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 ee01c31bc4bf.
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.
ee01c31 to
71b58db
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 71b58db0d717.
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.
12ffb02 to
6fa5255
Compare
71b58db to
270c67a
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 270c67a76a74.
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.
ddcd608
into
mdangelo/codex/pr939-split-33-draft-identities

Part 34 of 46. Previous: #1156 · Next: #1158 · Stack index
Summary
Add recovery cases for saved findings and coverage when a scan stops after later draft updates.
Changes
Testing
Local checks for the implementation and applicable stack boundary:
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 adds tests and the helper; it does not activate a new checkpoint format or change the recovery entrypoints.
Public disclosure review