Repository navigation
Describe query handler replay time and non-monotonic boundaries - #384
Merged
Merged
Conversation
A query handler reads the time of the queried history's final supported scalar boundary; only other prefixes are unavailable. Inline and local operations stay unavailable until Core defines a persisted time, and the clock is not guaranteed monotonic. Refs durable-workflow/.github#215 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review of #384: inline steps are unavailable because the first run produces their value before history records a time, not because no row is recorded. Signal and update deliveries, condition waits and search-attribute upserts also raise. A redrive query whose history ends at its start reads the redrive start, and values come from the carrier or the consumed boundary. Refs durable-workflow/.github#215 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Member
Author
|
Independent review: PASS at Round 1 (blocking):
Both are fixed, plus the redrive start-event query edge case and the "carrier or consumed boundary, not a running maximum" wording. Every claim matches main and its tests. CI: 21 pass, 4 intended skips. 🤖 Generated with Claude Code |
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.



Doc-only correction for durable-workflow/.github#215. The website review (durable-workflow.github.io#619) found that
docs/sdk-reference.mdcalled query handler reads unavailable. In fact a query handler reads the time of the queried history's final supported scalar boundary (BusinessReplayClock.snapshot(), covered bytest_supported_query_prefix_is_immutable_and_unknown_final_prefix_is_unavailable). Only other prefixes, including grouped boundaries, are unavailable.This PR also:
No code changes.
🤖 Generated with Claude Code