Skip to content

Conversation

@m4dcoder
Copy link
Collaborator

@m4dcoder m4dcoder commented Apr 6, 2020

Users can accidentally indent the action under the with statement. Fix the JSON schema for the with items task to not allow additional properties. Inspection of the workflow definition will throw a syntax exception. Fixes #184.

Users can accidentally indent the action under the with statement. Fix the JSON schema for the with items task to not allow additional properties. Inspection of the workflow definition will throw a syntax exception.
@m4dcoder m4dcoder requested a review from blag April 6, 2020 04:29
@codecov-io
Copy link

codecov-io commented Apr 6, 2020

Codecov Report

Merging #195 into master will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #195   +/-   ##
=======================================
  Coverage   94.02%   94.02%           
=======================================
  Files          41       41           
  Lines        2728     2728           
  Branches      540      540           
=======================================
  Hits         2565     2565           
  Misses        100      100           
  Partials       63       63           
Impacted Files Coverage Δ
orquesta/specs/native/v1/models.py 97.95% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 359a33f...0d672b0. Read the comment docs.

Normal task is allowed to leave action property empty to perform action less task transition. With items task should not leave the action property empty since it will just consume unnecessary system resources to iterate thru the items list.
Copy link
Contributor

@blag blag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@m4dcoder m4dcoder merged commit 419a4a9 into master Apr 7, 2020
@m4dcoder m4dcoder deleted the fix-with-items branch April 7, 2020 20:16
@m4dcoder m4dcoder restored the fix-with-items branch April 7, 2020 20:16
@m4dcoder m4dcoder deleted the fix-with-items branch April 7, 2020 20:16
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.

Workflow stuck in running state

4 participants