Open
Description
The server uses underscores (_
) as a delimiter for storing Parent and Child WfRunIds, like so: parent-id_child-id
. This means that underscores should be treated as a special character and users should not be able to use them in their custom WfRunIds
or we risk confusing the server.
Bug
If a user does execute a single WfRun
with an underscore in the WfRunId
, the server interprets the WfRun
as being a child workflow run tied back to a parent workflow run.
Steps to Reproduce
- Register a WfSpec with the server
- Make a
RunWf
request for that WfSpec, with theWfRunId
set toyoda_grogu
- Search for the existing WfRuns under that WfSpec
- The search should reveal that a workflow
grogu
was created, and that the workflow has a parent workflow ofyoda
This is a problem for multiple reasons. Firstly, Yoda is not Grogu's parent. Secondly, the server now thinks that there should be a WfRun named yoda
somewhere, even though it does not exist.
Metadata
Assignees
Labels
No labels
Activity