Skip to content

The task run: script is meant to run embedded as part of the workflow definition #1180

Description

@fjtirado

I tried this:

Java SDK reference implementation was broken because of #1129

This happened:

Unfortunately this PR breaks SDK Java reference implementation for scripts.
The PR was assuming that a script implementation will consist on an external call to the os script command , which as the Java implemenation proof, is not necesarily true.
We should partially revert it.
We should remove stdin argument for script call, and revert back script arguments from list to map (since both JS and Python supports named arguments). Then we restore the deleted script example (that was a clear indication of breakign backward compatibilitty that should have prevented the merge) and remove the script example that was added.
We can keep new stdin argument for shell and container (it is optional and a nice addition).

I expected this:

No response

Is there a workaround?

No response

Anything else?

No response

Area(s)

No response

Community Notes

  • Please vote by adding a 👍 reaction to the issue to help us prioritize.
  • If you are interested to work on this issue, please leave a comment.name: Bug Report 🐞

Metadata

Metadata

Assignees

Labels

area: specChanges in the Specificationchange: fixSomething isn't working. Impacts in a minor version change.type: bug

Type

Projects

Status
Backlog

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions