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(start): validate endpoint parameters (#689) #689

Merged
merged 3 commits into from
Jul 3, 2024

Conversation

mdonadoni
Copy link
Member

mdonadoni added a commit to mdonadoni/reana-server that referenced this pull request Jun 25, 2024
Copy link

codecov bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.18%. Comparing base (fbf6ba1) to head (2199256).
Report is 1 commits behind head on maint-0.9.

Current head 2199256 differs from pull request most recent head 90fb451

Please upload reports for the commit 90fb451 to get more accurate results.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##           maint-0.9     #689      +/-   ##
=============================================
+ Coverage      59.46%   60.18%   +0.72%     
=============================================
  Files             32       32              
  Lines           3298     3320      +22     
=============================================
+ Hits            1961     1998      +37     
+ Misses          1337     1322      -15     
Files Coverage Δ
reana_server/rest/workflows.py 53.83% <100.00%> (+0.28%) ⬆️

... and 3 files with indirect coverage changes

mdonadoni added a commit to mdonadoni/reana-server that referenced this pull request Jun 26, 2024
@mdonadoni mdonadoni marked this pull request as ready for review June 26, 2024 10:21
mdonadoni added a commit to mdonadoni/reana-server that referenced this pull request Jul 2, 2024
@mdonadoni mdonadoni changed the base branch from master to maint-0.9 July 2, 2024 08:01
mdonadoni added a commit to mdonadoni/reana-server that referenced this pull request Jul 2, 2024
mdonadoni added a commit to mdonadoni/reana-server that referenced this pull request Jul 2, 2024
@@ -3198,15 +3198,19 @@
"schema": {
"properties": {
"input_parameters": {
"description": "Optional. Additional input parameters that override the ones in the workflow specification.",
Copy link
Member

Choose a reason for hiding this comment

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

Optional. Additional input parameters that override the ones from the workflow specification.

"type": "object"
},
"operational_options": {
"description": "Optional. Operational options for workflow execution.",
Copy link
Member

Choose a reason for hiding this comment

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

Optional. Additional operational options for workflow execution.

type: object
input_parameters:
description: >-
Copy link
Member

Choose a reason for hiding this comment

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

See description verbiage comments above.

@@ -56,15 +56,25 @@ check_commitlint () {
npx commitlint --from="$from" --to="$to"
found=0
while IFS= read -r line; do
if echo "$line" | grep -qP "\(\#$pr\)$"; then
commit_hash=$(echo "$line" | cut -d ' ' -f 1)
Copy link
Member

@tiborsimko tiborsimko Jul 3, 2024

Choose a reason for hiding this comment

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

Instead of the commit message saying in a negatively-worded tense:

ci(commitlint): do not check merge commit's ancestors 

What about putting a positively-worded message:

ci(commitlint): improve checking of merge commits

As we did in several other PRs such as merge-0.9-to-master ones?

@mdonadoni mdonadoni merged commit 69f45fc into reanahub:maint-0.9 Jul 3, 2024
12 checks passed
@mdonadoni mdonadoni deleted the parameters-start-workflow branch July 3, 2024 13:34
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.

reana-client download fails for workflows with files as None is not of type 'object'
2 participants