Skip to content

refactor!: type RequestQueueClient's remaining raw-JsonObject methods - #9

Merged
Pijukatel merged 2 commits into
masterfrom
claude/busy-ride-roitr8
Aug 12, 2026
Merged

refactor!: type RequestQueueClient's remaining raw-JsonObject methods#9
Pijukatel merged 2 commits into
masterfrom
claude/busy-ride-roitr8

Conversation

@Pijukatel

@Pijukatel Pijukatel commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Internal consistency cleanup found while auditing the client for improvement opportunities. Mirrors the same class of fix applied to the sibling Rust client on this identical resource.

What changed

  • Typed RequestQueueClient's five remaining methods that used raw JSON, against the OpenAPI-documented response schemas:
    • ListAndLockHeadAsync, ProlongRequestLockAsync, UnlockRequestsAsync, ListRequestsAsync previously returned a raw JsonObject
    • BatchDeleteRequestsAsync previously took an untyped object and returned a raw JsonObject
  • Added the backing models: LockedRequestQueueHead, RequestLockInfo, UnlockRequestsResult, RequestQueueRequestsPage, BatchDeleteResult
  • Added the spec-required queueModifiedAt field to LockedRequestQueueHead and the pre-existing RequestQueueHead

Compatibility

  • Breaking change (return-type and one method-signature change)
  • ClientVersion bumped 0.2.00.3.0; see CHANGELOG.md for the full list

ListAndLockHeadAsync, ProlongRequestLockAsync, UnlockRequestsAsync, ListRequestsAsync and
BatchDeleteRequestsAsync returned/took raw JsonObject instead of a typed model, unlike every other
method on this client. Adds LockedRequestQueueHead, RequestLockInfo, UnlockRequestsResult,
RequestQueueRequestsPage and BatchDeleteResult, following the OpenAPI-documented response schemas.

Breaking change; ClientVersion bumped 0.2.0 -> 0.3.0.

Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added this to the 147th sprint - Tooling team milestone Aug 11, 2026
@github-actions github-actions Bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Aug 11, 2026
…estQueueHead

Review found the new LockedRequestQueueHead model dropped queueModifiedAt (required by the OpenAPI
schema and exposed by the reference JS client). The pre-existing RequestQueueHead had the same gap;
fixed both for consistency. Also applies the reviewer's non-blocking ToPayload capacity-hint note.

Co-authored-by: Claude <noreply@anthropic.com>
@Pijukatel
Pijukatel merged commit 34cfcdd into master Aug 12, 2026
2 checks passed
@Pijukatel
Pijukatel deleted the claude/busy-ride-roitr8 branch August 12, 2026 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants