Repository navigation
fix(cli): explain the cost limit in scan dry runs - #2295
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. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Chef's kiss. 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". |
alandelong-oai
left a comment
There was a problem hiding this comment.
Thank you for clarifying the dry-run cost limit. No material findings in this review; the note still matches the existing pricing basis and in-flight overshoot behavior.
All seven dry-run CLI tests passed again with Bun 1.3.14, along with a fresh frozen install and CI compilation. The code, docs and tests are unchanged after the main-branch dependency sync. No live paid scan or full SDK suite was run.
|
@codex review |
|
Codex Review: Didn't find any major issues. Breezy! 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". |
alandelong-oai
left a comment
There was a problem hiding this comment.
Thanks for the update. No material findings. The dry-run feature is unchanged; the incoming base edits strengthen recovery coverage and correct the saved-review-state documentation. All three affected recovery-layout tests and the portable checks passed. The nine earlier dry-run/cost tests remain applicable to identical feature sources. No live paid scan or full SDK rerun was performed.
Summary
A capped scan’s dry run shows the configured dollar amount. Explain what counts toward it before the operator starts model work. Addresses the budget-semantics portion of #25.
Changes
When a dry run resolves a cost limit, include a
costLimitNotealongsidemaxCostUsd. It explains the short-context API pricing basis, how in-flight requests can push the estimate past the limit, and how account billing and ChatGPT allowance differ from this estimate. Document the field in the CLI guide.Testing
All 220 CLI tests passed with seed
12345, including the capped and uncapped dry-run cases. The CI TypeScript build, plugin compatibility check and all nine compatibility tests passed. Changed-source formatting, Markdown formatting andgit diff --checkpassed.Risk and rollout
This adds one string field to the CLI output for capped dry runs. The broader request for scope planning, forecasts and durable milestones remains open in #25.
Public disclosure review