galaxyproject / galaxyproject/galaxy

API Workflow Invocation replacement_params only accepts strings

Open
#7,654 1 comment 0 reactions 0 assignees View on GitHub
area/API area/workflows kind/bug
Dominant language
Python
Stars
1.9k
Forks
1.2k
Avg merge
2d 16h
Merged PRs (30d)
169

Description

POST /api/workflows/{encoded_workflow_id}/invocations

```
{
...
replacement_params: { "foo" : 2 }
}
```

quietly fails to do the replacement.

The following instead works:

```
{
...
replacement_params: { "foo" : "2" }
}
```

Contributor guide

Open the contributing guide

Research direction

Start by tracing the POST /api/workflows/{encoded_workflow_id}/invocations endpoint and how it handles replacement_params. Reproduce the difference between numeric and string values, then add coverage for numeric replacement_params and confirm both forms perform the replacement.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.