Repository navigation
chore(bulk-scan): reconcile saved-result validation with main - #97
GautamSharma99 wants to merge 11 commits into
Conversation
|
@mldangelo-oai @ianw-oai |
There was a problem hiding this comment.
I’d move forward with this shared contract-loader approach for #30. It addresses corrupted artifacts without making resume depend on new private registration data.
I’ve carried the original commits into #1720 and updated the integration for current main: completion follows the manifest status, legacy completion receipts go through the same validation, and rejected attempts remain available. The affected test files passed 268 cases with one platform skip. All eight new corruption/status regressions fail with main’s resume implementation and pass with the repair.
The completed CI run on #1720 passed 64 checks, including Linux, macOS, and Windows tests. Local types and formatting passed, and both full SDK runs matched the same 22 failures reproduced on the main baseline, documented in that PR. Updating its description triggered a CI rerun, so that run and maintainer review are still pending on #1720.
Summary
Bulk scan used to trust completed receipts without checking the saved result.
#1720 included all ten commits from this PR and fixed #30 by validating the
saved contract and seal on resume.
Changes
The contributor branch now has the same tree as main. The PR diff is empty.
Testing
The installed CLI from the identical main tree skipped a valid completed scan
and preserved its policy result and cost. A malformed manifest or a findings
file with a mismatched digest sent the task to a new attempt and preserved the
previous files. A missing configured schema stopped resume before a worker
started. All 30 focused tests passed, with 214 assertions.
Risk and rollout
Version 0.5.0 shipped this fix. A scan that completed with partial coverage
can be reused when its saved contract and seal validate. This branch requires
no additional release.
Public disclosure review