Repository navigation
ci: diagnose mutation stats flake (do not merge) - #390
Closed
subnetmarco wants to merge 19 commits into
Closed
subnetmarco wants to merge 19 commits into
subnetmarco wants to merge 19 commits into
Conversation
Regenerates the internal client from the Hosting spec with the durable approval request, list, get, stats, approve, and deny operations, and requires the operations the SDK calls. Co-authored-by: Cursor <cursoragent@cursor.com>
DurableContext.wait_for_approval registers an approval with Volcano from the runtime's callback submitter and suspends until a person decides. A denial or a timeout returns an ApprovalDecision rather than raising. @durable reads the execution reference from the invocation and passes it to child, map, and parallel contexts. client.durable.approvals lists, reads, summarizes, approves, and denies approvals. HTTP 403 now raises PermissionDeniedError, a subclass of AuthenticationError. Co-authored-by: Cursor <cursoragent@cursor.com>
Retry registration on network errors, timeouts, 404, 429, any 5xx, and 409 approval_not_ready, on the JS SDK's delay schedule within one 30-second deadline that also caps each attempt's timeout. A 409 approval_closed now counts as registered, so an approval whose timeout passed first resumes with the expired decision instead of failing the execution. Refuse text that cannot be encoded as JSON and approvals over 64 KiB (with room for the longest callback id) before the callback opens, and send the exact bytes that were measured. Out-of-range approval timeouts raise TypeError, as ctx.wait does. Correct the guide: approvals have no name filter, and a refusal reaches the handler as the runtime's CallbackSubmitterError. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…eniently Co-authored-by: Cursor <cursoragent@cursor.com>
…from its context Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…avaScript SDK does Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Names are the runtime's operation name, so they hold to printable ASCII and 237 characters. NUL is refused before the callback opens, details are copied when checked, and a stalled host lookup no longer outlasts its attempt. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com> # Conflicts: # openapi/openapi.yaml
… wins Co-authored-by: Cursor <cursoragent@cursor.com>
…merge) Co-authored-by: Cursor <cursoragent@cursor.com>
Member
Author
|
Found it: the cancelled-unsubscribe realtime tests time out in ControlledCentrifugeFactory.command (0.2 s). Fixed on #389. |
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.
Temporary diagnostic on top of #389: when mutmut cannot collect stats, rerun the stats-mode suite with failure output. Will be closed once the flaky test is identified.
Made with Cursor