Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: fix flake in TestWorkspaceAgentClientCoordinate_ResumeToken#14642

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
spikecurtis merged 1 commit intomainfromspike/fix-resume-token-flake
Sep 11, 2024

Conversation

spikecurtis
Copy link
Contributor

@spikecurtisspikecurtis commentedSep 11, 2024
edited
Loading

fixes#14365

I bet what's going on is that inconnectToCoordinatorAndFetchResumeToken() we callCoordinate(), send a message on theCoordinate client and then close it in rapid succession. We don't wait around for a response from the coordinator, so dRPC is likely aborting the callCoordinate() in the backend because the stream is closed before it even gets a chance.

Instead of using the Coordinator to record the peer ID assigned on the API call, we can wrap the resume token provider, since we call that APIand wait for a response. This also affords the opportunity to directly assert we get called with the right token.

@spikecurtisGraphite App
Copy link
ContributorAuthor

This stack of pull requests is managed by Graphite.Learn more about stacking.

Join@spikecurtis and the rest of your teammates onGraphiteGraphite

@spikecurtisspikecurtis marked this pull request as ready for reviewSeptember 11, 2024 11:47
@spikecurtisspikecurtisforce-pushed thespike/fix-resume-token-flake branch fromc2df472 to9893031CompareSeptember 11, 2024 11:57
@spikecurtisspikecurtis merged commit5bd19f8 intomainSep 11, 2024
27 checks passed
@spikecurtisspikecurtis deleted the spike/fix-resume-token-flake branchSeptember 11, 2024 12:32
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsSep 11, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@deansheatherdeansheatherdeansheather approved these changes

Assignees

@spikecurtisspikecurtis

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

test flake: TestWorkspaceAgentClientCoordinate_ResumeToken
2 participants
@spikecurtis@deansheather

[8]ページ先頭

©2009-2025 Movatter.jp