Skip to content

sdk: event-subscriptions resources + agent lifecycle surface - #39

Closed
rafael-archastro wants to merge 2 commits into
mainfrom
sdk/event-subscriptions
Closed

sdk: event-subscriptions resources + agent lifecycle surface#39
rafael-archastro wants to merge 2 commits into
mainfrom
sdk/event-subscriptions

Conversation

@rafael-archastro

Copy link
Copy Markdown

Regenerated against archastro-openapi spec/event-subscriptions-public (from firstlanding PR #10337).

New surface — the customer event-subscriptions integration:

  • client.event_subscriptions: list, create (with retention_seconds), get, update, delete, queue (loss indicators included), head, and claim with the full contract — max_events batching, request_id idempotent retries, wait_seconds long-poll.
  • client.event_subscription_deliveries.acknowledge with receipt handles.
  • Async and sync clients; generated contract tests; 2676 tests green.

Merge order: after firstlanding #10337 and the archastro-openapi spec PR land, re-run ./scripts/regenerate_sdk.sh against main (should be a no-op) and merge.

Rafael Brandao added 2 commits August 17, 2026 14:13
Regenerated against archastro-openapi spec/event-subscriptions-public
(from firstlanding PR #10337). Adds client.event_subscriptions
(list/create/get/update/delete/queue/head/claim) and
client.event_subscription_deliveries (acknowledge) in async and sync
variants, with the full claim contract (max_events batching,
request_id idempotent retries, wait_seconds long-poll), retention
settings, and the queue loss indicators. Generated contract tests
included; full suite green (2676 tests).
The event-subscriptions surface this PR adds is byte-identical when
regenerated against main — the spec landed there via the automated
refresh after firstlanding #10337 merged (the companion spec PR #82
was closed as redundant). This commit picks up the unrelated
chat/threads/teams/users drift between the branch-vintage spec and
main's snapshot so the PR regenerates cleanly from main. Full suite
green (2676 tests).
@rafael-archastro

Copy link
Copy Markdown
Author

Re-regenerated against archastro-openapi main per the merge-order plan: the event-subscriptions surface is byte-identical (the spec landed on main via the automated refresh after firstlanding #10337 merged — spec PR #82 was closed as redundant). The latest commit only aligns unrelated chat/threads/teams/users drift to main's spec snapshot. 2676 tests green. This PR is now the only outstanding piece of the pipeline.

@rafael-archastro

Copy link
Copy Markdown
Author

Superseded by the CI-generated #42 — the sanctioned regenerate-sdk workflow output. The event-subscriptions surface there is byte-identical to this PR (verified by diff); #42 additionally carries the generator 0.11.3 tooling bump. Closing in its favor per the generated-code policy.

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.

1 participant