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

[24.1] Fix infinite rapid polling in useKeyedCache #18756

Conversation

mvdbeek
Copy link
Member

@mvdbeek mvdbeek commented Sep 1, 2024

Fixes https://sentry.galaxyproject.org/share/issue/e68b539766464e76a627c80333430c82/, which caused 250K events in less than 2 days.

To reproduce try editing a collection you don't own via <galaxy_url>/collection/<hdca_id>/edit.

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

@github-actions github-actions bot added this to the 24.1 milestone Sep 1, 2024
@mvdbeek mvdbeek force-pushed the fix_infinite_polling_useKeyedCache branch 2 times, most recently from ca81c91 to d2bedc8 Compare September 1, 2024 10:34
@mvdbeek
Copy link
Member Author

mvdbeek commented Sep 2, 2024

Those testing errors do look real ...

We were previously not showing error message at all if the user didn't
have permissions to edit a collection (or fetching a collection has
failed for another reason).
@mvdbeek mvdbeek force-pushed the fix_infinite_polling_useKeyedCache branch from d2bedc8 to 59607f1 Compare September 2, 2024 11:37
@mvdbeek mvdbeek changed the base branch from release_24.0 to release_24.1 September 2, 2024 11:37
@mvdbeek mvdbeek changed the title [24.0] Fix infinite rapid polling in useKeyedCache [24.`] Fix infinite rapid polling in useKeyedCache Sep 2, 2024
@mvdbeek mvdbeek changed the title [24.`] Fix infinite rapid polling in useKeyedCache [24.1] Fix infinite rapid polling in useKeyedCache Sep 2, 2024
@mvdbeek mvdbeek merged commit 478e989 into galaxyproject:release_24.1 Sep 2, 2024
54 of 57 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants