Commit Graph
1198 Commits
Author SHA1 Message Date
mvdbeek 03fb43a00d Merge branch 'release_24.2' into release_25.0 2025-06-16 19:34:41 +02:00
mvdbeek 6d0a0b53aa Link workflow invocation outputs upon importing invocation 2025-06-16 15:02:47 +02:00
mvdbeek d2597738cb Make to_cwl compatible with pulsar 2025-05-12 10:54:56 +02:00
mvdbeek 90b21f7212 YamlToolSource parser fixes 2025-05-12 10:54:24 +02:00
davelopez e699452006 Add missing download scheme configuration to Rucio object store template for tests 2025-05-08 12:49:01 +02:00
Yakubov, Sergey 5282940a32 fix liniting 2025-05-07 16:10:47 +02:00
Yakubov, Sergey 50a1d5b6a2 add examples, refactor templates 2025-05-07 16:10:47 +02:00
Marius van den Beek 79638b883a Merge pull request #19753 from bernt-matthias/env-fix-24.1
Fix setting env and tags on resubmission
2025-05-06 17:23:45 +02:00
Nicola Soranzo 1be32c1ae0 Move Singularity image cache cleaning to test tearDown 2025-04-30 10:46:56 +01:00
Nicola Soranzo d089171a3c Remove only the Docker images specific for the test
Also:
- Fix `_assert_container_in_cache_singularity()` to append `container_path`
  to `cache_directory` only for explicit resolvers.
  Also calculate `cache_dir_contents` only if `cache_directory` exists.
2025-04-30 01:09:11 +01:00
Matthias Bernt 0c186b227e fix test 2025-03-26 18:07:57 +01:00
mvdbeek 3c6b6c5971 Merge branch 'release_24.2' into dev 2025-03-26 09:51:08 +01:00
mvdbeek 3c12acb270 Assert column_types 2025-03-25 10:29:01 +01:00
mvdbeek de7b0ed7da Merge branch 'release_24.2' into dev 2025-03-21 19:09:05 +01:00
mvdbeek a726a956e5 Run in extended metadata mode again 2025-03-21 10:51:01 +01:00
mvdbeek 0bb228d134 Disable celery and extended metadata
Either of these options are not compatible with rucio. Maybe more than
one connection isn't permitted ?
2025-03-21 09:33:02 +01:00
John Chilton ff011fbe01 Handle directories with percents in export_remote.xml. 2025-03-20 16:25:09 -04:00
Yakubov, Sergey ae29750eec refactor rucio broker config 2025-03-20 15:29:16 -04:00
Yakubov, Sergey bd9f584163 create rucio.cfg from inside objectstore 2025-03-20 12:44:17 -04:00
Nicola Soranzo 4607d88509 Merge branch 'release_24.2' into dev 2025-03-17 12:00:29 +00:00
mvdbeek a19e4eb091 Lower pulsar transport_timeout param instead of extending wait 2025-03-17 10:21:43 +01:00
Nicola Soranzo 4421f43483 Store maxseconds on GalaxyTestDriver 2025-03-16 22:42:58 +01:00
mvdbeek ada691492a Extend tool test timeout for pulsar resubmission 2025-03-16 21:01:23 +01:00
mvdbeek ce03d9f7ca Merge remote-tracking branch 'upstream/release_24.2' into dev 2025-03-15 16:32:42 +01:00
mvdbeek 8622dfa237 Merge branch 'release_24.2' into dev 2025-03-14 09:32:27 +01:00
John Chilton 808d5f9448 Merge pull request #19807 from mvdbeek/use_materialized_datasets_in_pulsar
[24.2] Use materialized datasets in pulsar job runner
2025-03-13 13:48:48 -04:00
mvdbeek 31aeefd65f Use materialized datasets in pulsar 2025-03-13 17:28:28 +01:00
mvdbeek 858593a8ba Fix transfer of $_TOOL_DIRECTORY subdirectories
Goes together with https://github.com/galaxyproject/pulsar/pull/385
2025-03-13 16:19:10 +01:00
mvdbeek eb1709fcbb Merge branch 'release_24.2' into dev 2025-03-08 11:20:03 +01:00
Nicola Soranzo 49fa860647 Merge pull request #19706 from nsoranzo/type_annot_model
Use model classes from ``galaxy.model`` instead of ``app.model`` object - Part 1
2025-02-26 16:15:21 +00:00
mvdbeek 9636983d44 Fix uploads in pulsar embedded test case 2025-02-26 14:55:08 +01:00
Nicola Soranzo 9477c7773e Use model classes from `galaxy.model instead of app.model` object
for proper type annotation of query results.

Also:
- Drop unused code from `lib/tool_shed/webapp/controllers/user.py`
- Drop Galaxy model code from
  `lib/tool_shed/util/admin_util.py:Admin.purge_user()`
2025-02-26 12:41:40 +00:00
Nicola Soranzo caa4995999 Update rucio image URL 2025-02-25 19:20:47 +00:00
Nicola Soranzo edd8bccf4f Drop support for Python 3.8 2025-02-25 19:20:46 +00:00
Nicola Soranzo 0f1bfb6839 Type annotation improvements 2025-02-21 15:46:14 +00:00
Nicola Soranzo dd80698e4b Removed deprecated `current` attribute of scoped_session 2025-02-21 09:29:41 +00:00
Nicola Soranzo 7ce76af796 Format code with black 25.1.0 2025-02-16 18:07:51 +00:00
Nicola Soranzo 0aca5fd7e0 Merge branch 'release_24.2' into dev 2025-02-16 17:34:32 +00:00
Nicola Soranzo e3942053f4 Merge branch 'release_24.1' into release_24.2 2025-02-16 17:26:50 +00:00
Nicola Soranzo ca9bf294f4 Merge branch 'release_24.0' into release_24.1 2025-02-16 17:19:15 +00:00
davelopez 937645c187 Add integration tests for non-vault user preferences handling
There is a bug in the user preferences handling when the user preferences
contains fields defined as "secret" but the field is not stored in the
vault. This commit adds integration tests to cover this case.
2025-02-13 18:40:55 +01:00
John Davis 273a2e9ac2 Merge branch 'release_24.2' into dev 2025-02-11 12:47:41 -05:00
mvdbeek 7f6a243281 Merge branch 'release_24.1' into release_24.2 2025-02-11 17:07:08 +01:00
davelopez adef4f8f88 Add integration tests for user object store quota handling 2025-02-11 14:49:14 +01:00
mvdbeek 32ddf2ba86 Merge branch 'release_24.2' into dev 2025-01-31 17:06:52 +01:00
mvdbeek ec576b8eac Serialize message exceptions on execution error
This fixes handling of `ToolInputsNotOK` exceptions, which would fail
with
```
Message
Uncaught exception in exposed API method:
Stack Trace

Newest

TypeError: Object of type ToolInputsNotOKException is not JSON serializable
  File "galaxy/util/json.py", line 74, in safe_dumps
    dumped = json.dumps(obj, allow_nan=False, **kwargs)
  File "__init__.py", line 238, in dumps
    **kw).encode(obj)
  File "json/encoder.py", line 200, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "json/encoder.py", line 258, in iterencode
    return _iterencode(o, 0)
  File "json/encoder.py", line 180, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type ToolInputsNotOKException is not JSON serializable
  File "galaxy/web/framework/decorators.py", line 350, in decorator
    rval = format_return_as_json(rval, jsonp_callback, pretty=trans.debug)
  File "galaxy/web/framework/decorators.py", line 387, in format_return_as_json
    json = safe_dumps(rval, **dumps_kwargs)
  File "galaxy/util/json.py", line 77, in safe_dumps
    dumped = json.dumps(obj, allow_nan=False, **kwargs)
  File "__init__.py", line 238, in dumps
    **kw).encode(obj)
  File "json/encoder.py", line 200, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "json/encoder.py", line 258, in iterencode
    return _iterencode(o, 0)
  File "json/encoder.py", line 180, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '
```

This also required making the tool form error modal dependent on the
returned errors, instead of only popping up on non-200 status codes
or if all jobs failed.

Fixes https://github.com/galaxyproject/galaxy/issues/19482
2025-01-30 09:43:55 +01:00
John Davis 62155b9512 Remove transaction helper from test.integration 2025-01-23 11:39:24 -05:00
Nicola Soranzo aa49793ecf Make CompressedFile a context manager
to ensure that the archive is closed.
2025-01-18 14:40:30 +00:00
Nicola Soranzo bbed4a85f8 Merge branch 'release_24.2' into dev 2024-12-10 21:17:36 +00:00
Nicola Soranzo 0991d59754 Merge branch 'release_24.1' into release_24.2 2024-12-10 14:40:02 +00:00