Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix schema of with items task to not allow additional properties #195

Merged
merged 2 commits into from
Apr 7, 2020

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

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
3 participants