You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BREAKING CHANGE: Improve eval output hash with semantic names instead of raw commands (#6346) [ci fast]
This commit fixes issue #5470 by implementing a more robust approach to
including eval output commands in task hash calculation. Instead of using
raw command strings directly, we now use semantic parameter names paired
with command values, creating a symmetric pattern with input parameter hashing.
Key improvements over the reverted approach (b0fe0a9):
- Uses semantic names (nxf_out_eval_*) instead of raw bash commands for better readability
- Maintains deterministic ordering through sorting for cache consistency
- Follows the same name+value pattern as input parameters for symmetry
- Separates hash computation logic into testable computeEvalOutputsContent() method
- Provides comprehensive comments explaining the rationale
BREAKING CHANGE: This change will invalidate existing task cache entries
that use output eval parameters, requiring re-execution of those tasks.
The cache invalidation is intentional and necessary to ensure proper
cache behavior when eval output definitions change.
Fixes#5470
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments