Skip to content

SDK regeneration#63

Open
fern-api[bot] wants to merge 5 commits into
masterfrom
fern-bot/2026-06-14_13-09-41_602
Open

SDK regeneration#63
fern-api[bot] wants to merge 5 commits into
masterfrom
fern-bot/2026-06-14_13-09-41_602

Conversation

@fern-api

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

Copy link
Copy Markdown
Contributor

Automated SDK generation by Fern

fern-api Bot and others added 5 commits June 14, 2026 13:09
Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-go-sdk: 1.26.1
The /reporting/v1/load endpoint is asynchronous: a still-processing query
returns HTTP 200 with body {"error": "Continue wait"} instead of results,
and the identical request must be re-sent until results arrive.

Add reporting.(*Client).LoadAndWait, which owns that retry loop with
exponential backoff and context-based cancellation, plus unit tests that
drive it against a scripted local server. Both files are .fernignore'd so
regeneration preserves them.

Mirrors the TypeScript SDK's ReportingHelper.loadAndWait.
Mirror the TS SDK's tests/integration/reporting.test.ts: exercise GetMetadata,
Load (results-or-'Continue wait' sentinel), and LoadAndWait end-to-end against
a real account.

Reporting is a production-only beta; CI's TEST_SQUARE_TOKEN is sandbox-only, so
the suite is gated behind TEST_SQUARE_REPORTING and skips by default to keep CI
green. Runs against prod once a reporting-provisioned token is available.
Add a hand-authored ## Reporting API section (README.md is .fernignore'd, so
the generator preserves it) covering GetMetadata, the Continue-wait async
contract, and Reporting.LoadAndWait + its options.
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.

2 participants