docs: comprehensive durable execution documentation#3335
Open
promptless-for-oss wants to merge 1 commit intohatchet-dev:mainfrom
Open
docs: comprehensive durable execution documentation#3335promptless-for-oss wants to merge 1 commit intohatchet-dev:mainfrom
promptless-for-oss wants to merge 1 commit intohatchet-dev:mainfrom
Conversation
Adds documentation for durable execution features including: - Eviction policies (TTL, capacity-based, priority) in task-eviction.mdx and SDK references - Server-initiated eviction and stale invocation detection - NonDeterminismError handling with SDK-specific documentation - Determinism requirements and best practices for durable tasks - Reset/replay durable tasks from specific checkpoints - Slot types (regular vs durable) and their role in preventing deadlocks - DurableContext methods: sleepFor, sleepUntil, waitForEvent, waitFor, now() - aio_wait_for_event with payload_validator support (Python) - SleepResult return type documentation Also fixes broken links from the docs refactor (/v1/durable-workflows → /v1/durable-workflows-overview). Subsumes suggestions: document-eviction-policy, document-memo-durable-context, document-nondeterminism-error, document-reset-durable-task, document-slot-types-architecture, document-server-initiated-eviction, document-aio-wait-for-event-method, document-duration-milliseconds-and-nondeterminism-errors, document-durable-otel-spans, document-durable-bulk-spawn, fix-broken-links-after-docs-refactor, document-durable-execution-features, document-typescript-durable-context-methods
|
@promptless-for-oss is attempting to deploy a commit to the Hatchet Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Open this suggestion in Promptless to view citations and reasoning process
Summary
Adds comprehensive documentation for Hatchet's durable execution features, covering eviction policies, determinism requirements, DurableContext methods, and more.
Conceptual docs
task-eviction.mdxNonDeterminismError, how to handle it, and best practicesreset_durable_task/aio_reset_durable_taskfor programmatic replayworkers.mdxSDK reference docs
DurableContext—aio_wait_for,aio_sleep_for(with correctDurationparam type andSleepResultreturn),aio_wait_for_eventwithpayload_validatorsupportDurableContext—sleepFor,sleepUntil,waitForEvent,waitFor,now(),SleepResulttypeEvictionPolicyclass reference with correct import path (hatchet_sdk.runnables.eviction)reset_durable_task— Addedbranch_idparameter, corrected return type toV1BranchDurableTaskResponseNonDeterminismError— Properties and handling guidance for both SDKsFixes
/v1/durable-workflowslinks →/v1/durable-workflows-overviewNonDeterminismErrorimport path in TypeScript (@hatchet-dev/typescript-sdk/v1)Generated by Promptless