[cli] Publish multiple scans to Cloud - #632
Merged
kmbroai merged 4 commits intoAug 24, 2026
Merged
Conversation
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. |
3 tasks
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
Publishes several saved scans in one command, using scan IDs or an interactive picker. The CLI looks up the artifact directories so users do not need to find them. Depends on #612.
Omit
--scanto choose completed scans interactively. Select scans, then choose Done. Remove--dry-runto publish.Changes
--scanIDs, unique prefixes, andlatest. Resolve all requested IDs before uploading and publish each selected scan once.--scan-dirand the single positional directory for external artifacts, usingresolveCliPath. Reject mixed ID and directory inputs. Linear accepts one scan, including--scan.Testing
12345and randomized), withumask 022: 1,568 passed, 27 skipped, 0 failed in each run.pnpm run types,pnpm run format, andpnpm run build: passed.latest, and directory previews passed. A localhost mock server returned two accepted receipts. Nothing was uploaded to Cloud.Risk and rollout
No server changes are needed. Each request uses the existing format. Saved scan selection still requires local artifacts; history alone is not enough to publish.
Some scans can succeed even if others fail. The CLI never retries requests automatically. A missing or invalid receipt does not prove an upload failed; check whether Cloud accepted the scan before resubmitting it.
Receipts are returned in command output and are not saved to publication history. Selecting an entire bulk-scan run is not part of this PR.
Public disclosure review