Skip to content

feat(ai): preview requests in dry run for runs cost cache - #2884

Merged
dan-petty merged 1 commit into
mainfrom
feat/2245-ai-runs-cost-cache-dry-run
Oct 31, 2026
Merged

dan-petty merged 1 commit into
mainfrom
feat/2245-ai-runs-cost-cache-dry-run

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Closes #2245

This pull request classifies 21 commands across ai runs, ai cost, and ai cache:

  • Adds --dry-run and request plans to 8 commands: ai cost update-pricing, ai runs baseline set, ai runs baseline show, ai runs check, ai runs compare, ai runs connect, ai runs reindex, and ai runs show.
  • Adds --dry-run local preview to ai cost reset and ai cost set-price.
  • Marks 11 commands as no-external-request: ai cache clear, ai cache status, ai cost, ai cost list-pricing, ai cost payback, ai cost payoff, ai cost prometheus, ai cost report, ai cost roi, ai runs baseline list, and ai runs list.
  • Removes the --dry-run flag and echo preview from ai cache clear.
  • Removes 21 commands and 10 ai spend aliases from tests/fixtures/dry_run_gaps.json.

@dan-petty dan-petty added type/feature Type feature: a new function scope/ai AI review pipeline, personas, prompts, LLM client, or RAG labels Oct 31, 2026
Classify 21 AI runs, cost, and cache commands under the dry-run rule.

- 8 request-plan commands preview external requests and execute zero network,
  socket, subprocess, Valkey, or Kubernetes calls:
  ai cost update-pricing, ai runs baseline set, ai runs baseline show,
  ai runs check, ai runs compare, ai runs connect, ai runs reindex, and
  ai runs show.
- 2 no-external-request local-preview commands preview changes without
  writing: ai cost reset and ai cost set-price.
- 11 no-external-request mark-only commands execute locally without
  external requests: ai cache clear, ai cache status, ai cost, ai cost
  list-pricing, ai cost payback, ai cost payoff, ai cost prometheus,
  ai cost report, ai cost roi, ai runs baseline list, and ai runs list.
- Remove echo-only preview from ai cache clear with no shim.
- Remove all 21 commands and their 10 spend aliases from
  tests/fixtures/dry_run_gaps.json.
- Archive OpenSpec change 2245-ai-runs-cost-cache-dry-run.

Closes #2245
@dan-petty
dan-petty force-pushed the feat/2245-ai-runs-cost-cache-dry-run branch from f8f6d3e to 0c62eb7 Compare October 31, 2026 15:59
@dan-petty
dan-petty marked this pull request as ready for review October 31, 2026 16:06
@dan-petty
dan-petty merged commit 0df9777 into main Oct 31, 2026
19 checks passed
@dan-petty
dan-petty deleted the feat/2245-ai-runs-cost-cache-dry-run branch October 31, 2026 16:06
dan-petty pushed a commit that referenced this pull request Oct 31, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.28.0](v0.27.0...v0.28.0)
(2026-10-31)


### Features

* **ai:** preview requests in dry run for rag ingest analyze
([#2873](#2873))
([c53bcec](c53bcec)),
closes [#2244](#2244)
* **ai:** preview requests in dry run for runs cost cache
([#2884](#2884))
([0df9777](0df9777))
* **roadmap:** the Service marks green stage drafts ready
([#2882](#2882))
([63fae06](63fae06)),
closes [#2865](#2865)
* **roadmap:** tool log names the reason of a retried call
([#2875](#2875))
([03d3dc5](03d3dc5)),
closes [#2866](#2866)


### Bug Fixes

* **ci:** devops ci test expands or refuses a path argument
([#2879](#2879))
([884a80b](884a80b)),
closes [#2868](#2868)
* **roadmap:** cap output and deadline of a step model call
([#2881](#2881))
([0c4bd3a](0c4bd3a)),
closes [#2869](#2869)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/ai AI review pipeline, personas, prompts, LLM client, or RAG type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(ai): ai runs, cost and cache commands list their requests in a dry run and make none

1 participant