Skip to content

fix logs polling bug #2298

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

Merged

Conversation

jsladerman
Copy link
Contributor

it's not exactly clear what triggers this bug, but it seems like it likely stems from a race condition when "live" is rapidly toggled while the search query is changing (this is expected behavior because changing query filters in most cases will return the scroll to the top, and then the user might immediately scroll down, but "stopPolling" might not necessarily get triggered)

this change simplifies the logic a bit and makes it more declarative

also bumps apollo client minor vsn

@jsladerman jsladerman requested a review from a team May 28, 2025 05:44
@jsladerman jsladerman added bug-fix This pull request fixes a bug frontend Changes related to the frontend labels May 28, 2025
Copy link

linear bot commented May 28, 2025

@michaeljguarino michaeljguarino merged commit 013542c into master May 28, 2025
12 checks passed
@michaeljguarino michaeljguarino deleted the jake/prod-3594-log-view-still-polls-during-scrolls branch May 28, 2025 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix This pull request fixes a bug frontend Changes related to the frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants