Skip to content

SDK regeneration#197

Open
fern-api[bot] wants to merge 2 commits into
masterfrom
fern-bot/2026-06-13_14-34-11_647
Open

SDK regeneration#197
fern-api[bot] wants to merge 2 commits into
masterfrom
fern-bot/2026-06-13_14-34-11_647

Conversation

@fern-api

@fern-api fern-api Bot commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Automated SDK generation by Fern

fern-api Bot and others added 2 commits June 13, 2026 14:34
Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-java-sdk: 3.42.8
The Reporting API's /reporting/v1/load is asynchronous: a still-computing
query returns HTTP 200 with {"error":"Continue wait"} instead of results,
and the caller is expected to re-send the identical request with backoff
until results arrive.

- ReportingHelper.loadAndWait wraps client.reporting().load in an
  exponential-backoff retry loop around the "Continue wait" sentinel
  (defaults: 2s -> 20s, factor 2, 20 attempts; honors thread interruption).
- LoadAndWaitOptions builder for tuning the polling/backoff policy.
- Unit tests (offline): polling, max-attempts timeout, interruption, plus a
  real-deserializer check proving {"error":"Continue wait"} survives onto
  LoadResponse#getAdditionalProperties as a detectable sentinel.
- Integration test (live): production-default smoke test gated behind
  TEST_SQUARE_REPORTING (skips by default, keeping CI green).
- README: hand-authored ## Reporting API section.
- .fernignore: protect the helper, options, and unit test.
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