Repository navigation
fix(review): drop the fixed gateway URL of the review dry run - #5399
Merged
Merged
Conversation
The dry-run plan of the review commands gave a fixed HTTPS host when ai.gateway_url was not set, and a localhost address when ai.ollama_urls was empty. The rule of #1165 allows no service URL that no setting gives. The plan builders now get the endpoint from resolve_ai_endpoint, the resolver of the review run, with the analysis task for the model request. When a setting is not set, the plan target names it as a placeholder, such as <ai.gateway_url>/chat/completions. The gateway target no longer adds a second /v1, and the Claude target uses the Messages API path. Refs #5395
The change is complete. Its requirement goes into the configured-service-urls spec.
Owner
Author
|
Test results of the head (6a6992e), on
Render diff: the change touches no path under Follow-up issues: #5395 (the localhost fallbacks of |
dan-petty
marked this pull request as ready for review
November 13, 2026 10:59
dan-petty
pushed a commit
that referenced
this pull request
Nov 13, 2026
🤖 I have created a release *beep* *boop* --- ## [0.127.1](v0.127.0...v0.127.1) (2026-11-13) ### Bug Fixes * **ci:** alarm at 360 s, one P0 issue, shards by recorded time ([#5377](#5377)) ([2abd6ff](2abd6ff)) * **github:** read the plan diff and the release files from the merge base ([#5401](#5401)) ([c54e14c](c54e14c)) * **infra:** turn off the Ansible color of every playbook run ([#5381](#5381)) ([5bafb1a](5bafb1a)), closes [#5352](#5352) * install-tools --check passes an older openspec binary ([#5355](#5355)) ([625c89d](625c89d)) * **k8s:** allow only the Ingress origins in Open WebUI ([#5357](#5357)) ([fdab229](fdab229)) * **pr:** count only the latest run of each check ([#5393](#5393)) ([634dc91](634dc91)) * **review:** drop the fixed gateway URL of the review dry run ([#5399](#5399)) ([0666d3d](0666d3d)) * **review:** review a pull request at the merge base of its base branch ([#5387](#5387)) ([351ba2a](351ba2a)), closes [#5346](#5346) * **roadmap:** end fix-plan at a time budget with a result line ([#5380](#5380)) ([20468f4](20468f4)), closes [#5363](#5363) * **roadmap:** refine skips an item that changed during the write ([#5392](#5392)) ([a863dda](a863dda)) * **roadmap:** stage writes RENAMED and REMOVED spec deltas ([#5367](#5367)) ([4abbbd2](4abbbd2)) * **roadmap:** title the delivery by the summary of its plan ([#5376](#5376)) ([10e1069](10e1069)) --- 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>
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.
The dry-run plan of the review commands gave a fixed HTTPS host when
ai.gateway_urlwas not set, and a localhost address whenai.ollama_urlswas empty. The rule of #1165 allows no service URL that no setting gives.The plan builders now get the endpoint from
resolve_ai_endpoint, the resolver of the review run, with theanalysistask for the model request. When a setting is not set, the plan target names it as a placeholder, such as<ai.gateway_url>/chat/completions. The gateway target no longer adds a second/v1, and the Claude target uses the path of the Messages API. The localhost fallbacks ofsrc/devops_cli/ai/ai_plans.pystay for #5395.Closes #5345
Change:
openspec/changes/archive/2026-11-13-5345-review-dry-run-gateway-url/