Skip to content

Read all API-key pages and allow BYOC-only profile lookup - #992

Draft
sdairs wants to merge 1 commit into
codex/050-985-apifrom
codex/050-990-pagination-cli
Draft

sdairs wants to merge 1 commit into
codex/050-985-apifrom
codex/050-990-pagination-cli

Conversation

@sdairs

@sdairs sdairs commented Sep 18, 2026

Copy link
Copy Markdown
Collaborator

cloud key list and key name lookup now consume every response page through the typed library API. The CLI forwards opaque cursors, detects cycles, preserves JSON arrays and human tables, checks ambiguity across pages, and reports later-page failures without emitting a partial result.

cloud service profile list now accepts --byoc-id without --region. Region-only and combined lookups still work; omitting both is usage error 2 before credentials or network. Cloud remains responsible for validating a supplied region against the infrastructure.

Fixes #990. Intentional CLI follow-up to library PR #991 / issue #985, detector #978, and release tracker #939. Tenth PR in native GitHub stack #982.

Validation: six pagination subprocess tests (including Unicode/reserved and empty cursors, empty intermediate pages, cycles, later errors, cross-page ambiguity, OAuth and unpaginated compatibility), seven profile subprocess tests, and clap input coverage passed. Formatting, default Clippy, no-default compilation and no-default all-target Clippy passed. The complete assembled CLI suite passed: 2,013 tests, zero failures, five existing ignored. Current-head CI is pending.

Read-only live Cloud smoke checks passed: key listing returned 41 entries as an array, unique-name lookup returned the matching ID, and region-only service-profile listing returned six profiles. Multi-page pagination and BYOC-only lookup remain mock-covered; no BYOC infrastructure was created. Final-stack live OpenAPI dry run reports zero actionable findings.

@sdairs
sdairs added this pull request to stack #982 September 18, 2026 13:24
@sdairs sdairs changed the title codex/050 990 pagination cli Read all API-key pages and allow BYOC-only profile lookup Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Complete API-key pagination and optional-region BYOC CLI lookup

1 participant