Repository navigation
Conversation
…, and test determinism
This branch has not been deployed
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.
Closes #121.
Changes
onPollhook for validated non-terminal snapshots. Check the deadline and cancellation before invoking the hook and while waiting for it.invalid-responseeven at the deadline. Distinguish caller aborts, request timeouts, and immediate transport failures.Verification
On Linux at
8a6a630, run:All 112 tests passed, including the polling callback, abort-ordering, pagination, and malformed-body regressions. Generation produced no tracked changes.
Proofline review
I ran Proofline on fork PR #1. Feedback led to preserving the first transport abort cause, bounding async callbacks, protecting the retained review from callback mutation, and improving cancellation tests. Run 9 reviewed
8a6a630and lists 19 warnings, including carried-over findings. The callback validates the required top-level envelope and action flags, with deeper validation of nested metadata left as follow-up. Requests with a signal use the direct transport for generated methods that do not accept one. Calls without a signal still use the generated methods. The clone-deadline test could more directly assert the callback invocation count.