Skip to content

Conversation

@ItielOlenick
Copy link

Fixes #11610

Motivation

Workflows with parameterized global artifact names (e.g., globalName: output-result-{{inputs.parameters.variable}}) fail validation in exit handlers after v3.4.6 with
errors like "failed to resolve {{workflow.outputs.artifacts.output-result-car}}". This worked correctly in v3.4.5 and earlier.

Modifications

  • Added pre-scan in exit handler validation to detect parameterized global artifacts
  • Enable anyWorkflowOutputArtifactMagicValue when parameterized global artifacts exist
  • Added comprehensive unit tests covering the regression scenario

Verification

  • Unit tests reproduce the exact failure and verify the fix
  • Existing validation tests continue to pass
  • Runtime artifact resolution remains unchanged

Documentation

No documentation changes needed - this restores existing functionality that was inadvertently broken.

@ItielOlenick ItielOlenick force-pushed the fix-parameterized-global-artifacts-resolution-in-exit-handler branch from afd1f36 to 6e27ca6 Compare October 26, 2025 21:32
@ItielOlenick ItielOlenick changed the title fix parameterized global artifacts resolution in exit handler fix: Fixes parameterized global artifacts resolution in exit handlers. Fixes #11610 Oct 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v3.4.6+ Cannot access output global artifacts in exit handler after upgrade

1 participant