Skip to content

[CHA-2957] Java: sync generated client and wire structured logging#74

Merged
mogita merged 2 commits into
mainfrom
feat/cha-2957-java-regen
Jul 22, 2026
Merged

[CHA-2957] Java: sync generated client and wire structured logging#74
mogita merged 2 commits into
mainfrom
feat/cha-2957-java-regen

Conversation

@mogita

@mogita mogita commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Ticket

https://linear.app/stream/issue/CHA-2957/logging

Summary

Regenerates the Java SDK against chat master and wires the CHA-2957 structured logging through the generated service clients. Two commits, reviewable separately:

  1. chore: sync generated client to chat master API — pure regen against current chat master. Removes the 4 external-storage importer endpoints (/imports/v2/external-storage get/upsert/delete/validate) that [CHA-3889] / #14776 gated as private/operator-only and hid from the public OpenAPI spec (Ignore: true; still routed but behind the external_storage_import feature flag). Adds importBlockList. Adds an id path param to getModerationRule/deleteModerationRule. Refreshes assorted model fields. No behavior change: the generated Impls still use the existing StreamRequest constructor.
  2. feat: wire structured logging through the generated service clients — regenerated with the updated Java template so the generated *Impl clients construct StreamRequest with the StreamHTTPClient. This lets the client-level SLF4J logger reach the request layer, so the CHA-2957 logging events fire on real API calls (they were framework-only before this).

Notes for review

  • The importer-endpoint removals are the intended [CHA-3889] de-publication, not a customer-facing break: those endpoints were beta + operator-only and hidden from the public spec, and callers hit NotAllowed without the feature flag regardless.
  • Does not auto-release: the Java SDK only releases via the release-* branch flow. Publish later via the manual Release workflow when ready.

mogita added 2 commits July 22, 2026 19:35
Regenerated from chat master. Removes the 4 external-storage importer endpoints (/imports/v2/external-storage get/upsert/delete/validate) that CHA-3889 gated as private/operator-only and hid from the public OpenAPI spec; adds importBlockList; adds an id path param to getModerationRule/deleteModerationRule; refreshes assorted model fields. Generated Impls keep the existing StreamRequest constructor, so no behavior change.
Regenerated with the updated java template: the generated *Impl clients now construct StreamRequest with the StreamHTTPClient (instead of its httpClient/objectMapper/baseUrl getters), so the client-level SLF4J logger reaches the request layer and the CHA-2957 logging events fire on real API calls. No behavior change beyond logging.
@mogita
mogita merged commit b8ae496 into main Jul 22, 2026
4 checks passed
@mogita
mogita deleted the feat/cha-2957-java-regen branch July 22, 2026 17:48
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