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
{{ message }}
Repository navigation
feat: add support parameters on success failure actions - #3160
Added support for the Arazzo 1.1.0 parameters field of success and failure actions to the respect command.
When an action references a workflow with workflowId, its parameters are passed to that workflow as inputs.
Reusable action parameters do not honor valid falsy value overrides. This newly resolves each reusable parameter through resolveReusableComponentItem, but resolve-reusable-object-reference.ts:37 applies an override only when valueOverride is truthy; { reference: ..., value: 0 } and value: false therefore pass the component's original value to the workflow. Update that resolver to distinguish an omitted value from a falsy value and cover both scalar cases.
Reusable action parameters with a valid falsy override (value: 0, false, or '') lose that override here. resolveReusableObjectReference only applies overrides when valueOverride is truthy, so the component's original value is passed to the target workflow instead. Check for presence of the value field rather than truthiness, and cover a falsy override.
The reason will be displayed to describe this comment to others. Learn more.
Copilot review overview
🟡 Changes recommended
Parameterized retries fail when retryLimit is omitted, duplicate resolved inputs are silently overwritten, and the feature documentation is incomplete.
? 'The parameter `reference` must be unique amongst listed parameters.'
: 'The parameter `name` must be unique amongst listed parameters.',
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What/Why/How?
Added support for the Arazzo 1.1.0
parametersfield of success and failure actions to therespectcommand.When an action references a workflow with
workflowId, its parameters are passed to that workflow as inputs.Reference
Closes: #2735
Testing
Screenshots (optional)
Check yourself
Security