mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-08-30 16:58:03 +08:00
7de2d1e329
--buffer-size="$GALAXY_MEMORY_MB_PER_SLOT"M is a no-op on the default deployment. MEMORY_STATEMENT_TEMPLATE.sh explicitly unsets the variable when it can't derive a positive value, so on the local runner it's absent and GNU sort accepts --buffer-size=M silently (exit 0, no stderr, no cap). Emit the flag only when there's a value rather than defaulting to an invented number, which would be worse than no cap on a big-memory node. GALAXY_MEMORY_MB rather than the per-slot variant: the two sorts now run sequentially, one process at a time with the whole job's memory available, so a per-slot budget combined with --parallel=$GALAXY_SLOTS under-budgets by a factor of GALAXY_SLOTS. Also register comp1 1.0.2 -> 1.0.3 in WORKFLOW_SAFE_TOOL_VERSION_UPDATES. The bump touches only <requirements> and <command>; the inputs are unchanged, so the update is workflow-safe. Without the entry _stock_tool_source_for returns None for workflows pinned to 1.0.2. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>