Files
galaxy/test/functional/tools
Marius van den Beek f820d570be Fail job gracefully when output name exceeds 255 character DB limit
When discovered dataset designations are very long (e.g., taxonomic names),
the job output association name (__new_primary_file_{name}|{designation}__)
can exceed the VARCHAR(255) column limit, causing StringDataRightTruncation
which corrupts the SQLAlchemy session and triggers PendingRollbackError.

Add name length validation in Job.add_output_dataset and related methods
that raises ValueError before the DB INSERT. Catch the error in both the
normal and extended metadata code paths to fail the job with a clear error
message instead of crashing the transaction session.

Fixes https://github.com/galaxyproject/galaxy/issues/22045
2026-04-03 11:26:38 +02:00
..
2025-05-02 11:25:21 -04:00
2024-06-10 10:34:15 +02:00
2026-03-06 19:05:20 +01:00
2023-02-05 20:06:08 +01:00
2022-02-03 07:42:20 -05:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
2025-04-03 10:32:50 +02:00
2022-03-22 18:56:49 +01:00
2025-03-26 18:07:57 +01:00
2022-04-21 11:15:07 +02:00
2021-01-05 12:39:53 +00:00
2025-05-21 17:09:06 +01:00
2021-01-05 12:39:53 +00:00
2025-02-11 14:36:20 +01:00
2021-04-07 19:38:25 +02:00
2026-01-07 18:11:13 +01:00
2021-01-05 12:39:53 +00:00
2023-06-06 10:02:30 +02:00
2025-03-25 10:29:01 +01:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
2024-03-01 22:45:38 -05:00
2023-09-08 13:16:52 +02:00
2023-09-09 13:19:47 +02:00
2021-01-05 12:39:53 +00:00
2023-10-21 15:31:30 +02:00
2022-08-18 14:28:55 +02:00
...
2024-12-19 16:54:03 +01:00
2025-04-15 15:09:32 +02:00
2024-09-30 13:25:02 -04:00
2025-05-05 20:37:17 +02:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
2024-02-08 21:14:07 +01:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
…
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00

This directory contains tools only useful for testing and
demonstrating aspects of the tool syntax. Run the test driver script
'run_tests.sh' with the '-framework' as first argument to run through
these tests. Pass in an '-id' along with one of these tool ids to test
a single tool.

Some API tests use these tools to test various features of the API,
tool, and workflow subsystems. Pass the argument
'-with_framework_test_tools' to 'run_tests.sh' in addition to '-api'
to ensure these tools get loaded during the testing process.

Finally, to play around with these tools interactively - simply
replace the 'galaxy.ini' option 'tool_config_file' with:

tool_config_file = test/functional/tools/sample_tool_conf.xml