Repository navigation
Add saved environment listing to the Cloud client - #61940
Merged
copyberry[bot] merged 1 commit intoNov 17, 2026
Merged
copyberry[bot] merged 1 commit into
copyberry[bot] merged 1 commit into
Conversation
## What changed Add `Client::list_saved_environments` and export `SavedEnvironment` with each environment's ID, name, and workspace-sharing status. - Fetch personal and workspace environments from the authenticated `/v1/environment-configs` picker API, following pagination independently for each scope. - Request non-draft configurations and filter out the default environment, empty IDs, and blank names. - Bound the catalog request to 10 seconds and each response page to 1 MiB. Return `EnvironmentCatalogUnavailable` for request, parsing, or limit failures and repeated cursors. ## Testing Add a client test covering pagination, cursor encoding, scope ordering, default-environment filtering, workspace-sharing status, and authenticated request headers. GitOrigin-RevId: ca7793a53eade36ba510a53b4a827f945a109072
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/ca7793a53eade36ba510a53b4a827f945a109072
branch
from
November 17, 2026 02:01
9abc978 to
9b2d2c1
Compare
Contributor
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/ca7793a53eade36ba510a53b4a827f945a109072
branch
November 17, 2026 02:01
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Add saved environment listing to the Cloud client
What changed
Add
Client::list_saved_environmentsand exportSavedEnvironmentwith each environment's ID, name, and workspace-sharing status./v1/environment-configspicker API, following pagination independently for each scope.EnvironmentCatalogUnavailablefor request, parsing, or limit failures and repeated cursors.Testing
Add a client test covering pagination, cursor encoding, scope ordering, default-environment filtering, workspace-sharing status, and authenticated request headers.