Repository navigation
refactor(cli): callers use the HTTP entry point, old factories go - #3836
Merged
Merged
Conversation
Owner
Author
|
Results of the full The failures come from the host, not from this change. Both fail the same way on a clean checkout of origin/main:
Review fixes in this branch: the specs |
The last ten callers build their HTTP client with http_client and async_http_client of devops_cli.http.entry. new_http_client, new_async_http_client, get_shared_client and get_shared_async_client are gone. The tests use the web and dns fixtures. The stub_web and public_dns fixtures, tests/web_fakes.py, scripted_resolver and the route_* helpers are gone. The dial fake moves to tests/support/fakes/dial.py. Closes #3758
Fix the specs, docs, test comments and the plan of change 2610 that still named the deleted client factories. Pin the PyPI metadata caller of the survey in the egress level table.
dan-petty
force-pushed
the
refactor/3758-http-callers-rest-and-delete
branch
from
November 6, 2026 19:22
3f6d829 to
be4eed1
Compare
dan-petty
marked this pull request as ready for review
November 6, 2026 19:27
dan-petty
pushed a commit
that referenced
this pull request
Nov 6, 2026
🤖 I have created a release *beep* *boop* --- ## [0.72.1](v0.72.0...v0.72.1) (2026-11-06) ### Code Refactoring * **cli:** callers use the HTTP entry point, old factories go ([#3836](#3836)) ([0f66175](0f66175)) --- 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>
19 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.
Ten callers build their HTTP client with
http_clientorasync_http_clientofdevops_cli.http.entry. The old factoriesnew_http_clientandnew_async_http_clientand the shared-client getters are gone.devops_cli.http.clientkeeps the egress transports, the timeouts and the transport hook of a test. The tests use thewebanddnsfixtures, and the oldstub_webfixture and its helper files are deleted. Each caller keeps its timeouts, headers and egress level, and the egress level table now also pins the PyPI metadata caller. Specs and docs name the entry point.Closes #3758
Change:
openspec/changes/archive/2026-11-06-3758-callers-use-the-http-entry-point/