Files
galaxy/test/functional
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
..
2024-11-15 09:09:00 +01:00
2024-11-24 21:35:23 +00:00
2024-11-24 21:35:23 +00:00