Repository navigation
fix(bulk-scan): preserve outcomes when checkout cleanup fails - #1433
Merged
mldangelo-oai merged 6 commits intoOct 16, 2026
Merged
mldangelo-oai merged 6 commits into
mldangelo-oai merged 6 commits into
Conversation
|
Note You have reached your Codex usage limits for security reviews. Please try again later. |
mldangelo-oai
force-pushed
the
BharathVemula/fix-211-preserve-multiscan-receipts
branch
from
October 16, 2026 18:07
8451fd5 to
f15f21f
Compare
mldangelo-oai
approved these changes
Oct 16, 2026
mldangelo-oai
left a comment
Collaborator
There was a problem hiding this comment.
Thanks for catching this—checkout cleanup shouldn't erase a scan result. I reproduced the missing receipt with a real scan and verified that the fix preserves outcomes and reuses completed work without rescanning. The recovery edge cases now have regression coverage, and both the seeded/random SDK suites and cross-platform CI are green. Looks good to merge.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Keep a bulk scan's outcome when removing its temporary checkout fails. A cleanup error must not erase a successful result or replace the original scan failure.
Fixes #211.
Changes
mainwhile retaining the original contribution.Testing
bun test --timeout 30000 tests-ts/multiscan.test.ts: 106 passed, 1 platform-specific skip. The new partial-write regression fails before the fix and passes afterward.pnpm run types,pnpm run build:ci,pnpm run format, andgit diff --check: passed.Risk and rollout
No CLI flags, defaults, or configuration changes. Cleanup intent is additive internal receipt metadata; existing receipts remain reusable, but unmarked checkouts are not removed automatically. Failed recovery attempts and completed scan artifacts remain intact. Recovery cleanup errors appear in progress output; the already-durable completion receipt is not rewritten.
Public disclosure review