Repository navigation
[docs] Catch up docs with recently shipped SDK changes - #4668
Conversation
🦋 Changeset detectedLatest commit: 5f307b0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Sim WorldSimulated world deterministic testing for races. Traces 🟠 world-sim scenario book — 1 fail of 42 total
Full trace: |
| ``` | ||
|
|
||
| `experimental_minRetention` accepts the same values as [`sleep()`](/docs/api-reference/workflow/sleep): a duration string such as `"30d"`, a number of milliseconds, or an absolute `Date`. Durations start when `createHook()` runs. | ||
| `experimental_minRetention` accepts the same values as [`sleep()`](/docs/api-reference/workflow/sleep): a duration string such as `"30d"`, a number of milliseconds, or an absolute `Date`. Durations start when `createHook()` runs. Like `sleep()`, `createHook()` throws if the value is an Invalid Date or ends past the latest time a `Date` can represent. |
There was a problem hiding this comment.
unnecessary (too verbose)
| } | ||
| ``` | ||
|
|
||
| The `RetryableError` constructor throws if `retryAfter` is an Invalid Date or a duration that ends past the latest time a `Date` can represent. |
There was a problem hiding this comment.
too verbose and unnecessary
| } | ||
| ``` | ||
|
|
||
| `sleep()` throws if it receives an Invalid Date, such as `new Date("not a date")`, or a duration that ends past the latest time a `Date` can represent. |
There was a problem hiding this comment.
too verbose and unnecessary
Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Pranay Prakash <1797812+pranaygp@users.noreply.github.com>
Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Pranay Prakash <1797812+pranaygp@users.noreply.github.com>
0471eac to
5f307b0
Compare
|
No backport to This commit documents newly shipped 5.x SDK behavior (Node.js-gated zstd codec, To override, re-run the Backport to stable workflow manually via |
Catches the docs up with SDK changes that landed on Oct 5 without (complete) docs updates.
WORKFLOW_COMPRESSION_CODECreleaseLock()/close()callout in StreamingWORKFLOW_STREAMS_TRANSPORTon the Vercel World page, including the "hold the lock for a burst" tip from theworld-vercelREADMEI reviewed the other Oct 5 PRs and they need no further docs: NestJS (#4604) shipped its own docs, the
@vercel/queuebump (#4648) andworld-localhook fix (#4636) aren't user-facing in the docs, and #4632/#4618 are docs PRs. The Workflows pages invercel/frontwere also checked and need no changes for these.Docs Preview
WORKFLOW_STREAMS_TRANSPORT🤖 Generated with Claude Code