Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Ian MacLeod
21504b1d18 Backport GPT-6 Sol and Luna to 0.155 alpha (#47332)
Apply the model catalog, migration, rate-limit, and snapshot updates directly
on the content commit from rust-v0.155.0-alpha.16.1, preserving alpha-specific
conflict resolutions.

GitOrigin-RevId: d3a093d18ce44a903383504ab8f5cbbc911d602d
2026-09-22 17:56:59 -07:00
Abhinav
47d393456c Add system proxy fallback for login and startup requests (#46562)
Login and enterprise configuration bootstrap can fail when their endpoints are reachable only through the system proxy, before cloud configuration can enable `respect_system_proxy`.

- Enable `features.system_proxy_fallback` by default, honor managed feature requirements, and prevent project configuration from changing it.
- Retry account discovery and cloud configuration GETs through the system proxy after connection failures or timeouts, bounding the initial request and body read to five seconds.
- Retry OAuth authorization-code exchange only on connection failures before any redirect, with a ten-second connection timeout. Reuse the successful client for the subsequent API-key exchange to avoid changing routes.
- Increase workspace discovery and cloud configuration timeouts to 15 and 20 seconds, respectively, to accommodate fallback.

Add coverage for proxy-only browser login through the first completed turn, including cloud configuration enabling `respect_system_proxy` without a restart. Cover stalled GET bodies, preserved request headers, disabled fallback, managed requirements, and project configuration restrictions. Verify that OAuth HTTP errors, redirects followed by connection failures, and failures after sending the POST do not trigger proxy retries, while successful redirects remain supported.

GitOrigin-RevId: 854eeeac186bb4865218ce645019c1e4bff85425
2026-09-21 13:11:26 -07:00
40 changed files with 1596 additions and 142 deletions

File diff suppressed because one or more lines are too long