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 shared caches with extended metadata collection. #18520

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

jmchilton
Copy link
Member

My guess is this should fix #18500? @sanjaysrikakulam any chance you can test if this improves the situation.

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.

@jmchilton jmchilton changed the base branch from dev to release_24.1 July 9, 2024 14:43
@sanjaysrikakulam
Copy link
Contributor

Sure! I will deploy the patch and update you.

@sanjaysrikakulam
Copy link
Contributor

The patch works. I ran upload jobs and a tool on the uploaded data with no errors.

@sanjaysrikakulam
Copy link
Contributor

Thank you! :)

@bgruening
Copy link
Member

The failing tests are looking relevant :(

@bgruening
Copy link
Member

bgruening commented Jul 11, 2024

Ok, this does not make sense for me, it actually works for @sanjaysrikakulam on the test server but fails here with the same error that we have seen previously here in this PR.

- Generated html report: file:///home/runner/work/galaxy/galaxy/galaxy%20root/run_unit_tests.html -
=========================== short test summary info ============================
FAILED test/unit/app/tools/test_metadata.py::TestMetadata::test_simple_output_directory - AttributeError: object_store_cache_size
FAILED test/unit/app/tools/test_metadata.py::TestMetadata::test_simple_output_extended - AttributeError: object_store_cache_size
FAILED test/unit/app/tools/test_metadata.py::TestMetadata::test_primary_dataset_output_extension_directory - AttributeError: object_store_cache_size
FAILED test/unit/app/tools/test_metadata.py::TestMetadata::test_primary_dataset_output_metadata_override_directory - AttributeError: object_store_cache_size
FAILED test/unit/app/tools/test_metadata.py::TestMetadata::test_primary_dataset_output_metadata_override_extended - AttributeError: object_store_cache_size
FAILED test/unit/app/tools/test_metadata.py::TestMetadata::test_list_discovery_extended - AttributeError: object_store_cache_size

@jmchilton
Copy link
Member Author

Sorry - got distracted with workflow stuff. I think I've fixed the test. The only problem was with the test mocks not matching the real configuration object.

@jmchilton jmchilton marked this pull request as ready for review July 17, 2024 14:27
@github-actions github-actions bot added this to the 24.1 milestone Jul 17, 2024
@mvdbeek mvdbeek merged commit 76f0690 into galaxyproject:release_24.1 Jul 17, 2024
44 of 50 checks passed
@mvdbeek mvdbeek changed the title Fix shared caches with extended metadata collection. [24.1] Fix shared caches with extended metadata collection. Jul 17, 2024
Copy link

This PR was merged without a "kind/" label, please correct.

@nsoranzo nsoranzo deleted the fix_cache_size branch July 17, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants