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.0] Optimize/fix sqlite hid update statement #19106

Merged

Conversation

mvdbeek
Copy link
Member

@mvdbeek mvdbeek commented Nov 5, 2024

./run_tests.sh --skip-common-startup -api lib/galaxy_test/api -- -s -k cache would fail on sqlite with database locked.

Not using a separate connection means that we expire loaded attributes in the sqlite case, but I don't think we need to be concerned about performance if you're using sqlite.

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:

run ./run_tests.sh --skip-common-startup -api lib/galaxy_test/api -- -s -k cache and see that it doesn't fail

License

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

@mvdbeek mvdbeek added kind/bug area/database Galaxy's database or data access layer labels Nov 5, 2024
@github-actions github-actions bot added this to the 24.1 milestone Nov 5, 2024
@mvdbeek
Copy link
Member Author

mvdbeek commented Nov 5, 2024

Those failures seem unrelated

`./run_tests.sh --skip-common-startup -api lib/galaxy_test/api -- -s -k
cache` would fail on sqlite with database locked.

Not using a separate connection means that we expire loaded attributes
in the sqlite case, but I don't think we need to be concerned about
performance if you're using sqlite.
@nsoranzo nsoranzo merged commit 46c1dcd into galaxyproject:release_24.0 Nov 5, 2024
43 of 49 checks passed
@nsoranzo nsoranzo deleted the sqlite_fix_workflow_test branch November 5, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/database Galaxy's database or data access layer kind/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants