Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate Presence.get and REST.request to new paginated results #301

Merged
merged 8 commits into from
May 13, 2021

Conversation

tcard
Copy link
Contributor

@tcard tcard commented Apr 1, 2021

This finishes implementing the paginated result design, which are the last major API fixes outstanding.

tcard added 5 commits April 1, 2021 09:16
We started doing this and then stopped.
Jus extract the items for them, while checking that each page is as long
as we expect it to be. This avoids the need for Equal, and will make it
easy to sort the result client-side to get consistent results from
paginated queries whose order is undefined.
We could reuse the existing PresenceHistoryRequest, which has been
renamed to just PresenceRequest.
@tcard tcard requested review from lmars and sacOO7 April 1, 2021 10:09
@tcard tcard self-assigned this Apr 1, 2021
tcard added 3 commits May 7, 2021 13:38
Calls to doWithHandle can be concurrent, so their write accesses to
successFallbackHost were racy.
We were sharing the PresenceFixtures slice between goroutines, which
is written at when unmarshaling POST /app.
@tcard
Copy link
Contributor Author

tcard commented May 13, 2021

Opened #309 and #310 to deal with the failing tests, which are unrelated to this PR.

@tcard tcard merged commit e226939 into integration/1.2 May 13, 2021
@tcard tcard deleted the feature/presence-get-request branch May 13, 2021 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants