I was able to get around that error by making some other irrelevant changes to the code (which assumedly had Flyte generate a new version), but now my workflow is failing on registration (again, when I use the non-experimental
map_task
it registers just fine:
> pyflyte register -p flyte-[redacted] -d development common
...
Successfully serialized 5 flyte objects
[β] Registration common.task.download_file type TASK successful with version L78nnSc8FhZDvHgn0jiQEQ==
[β] Registration common.task.list_files type TASK successful with version L78nnSc8FhZDvHgn0jiQEQ==
[β] Registration common.task.map_download_file_f543a5f02bd6f3ed1ad99b14a311e9d9-arraynode type TASK successful with version L78nnSc8FhZDvHgn0jiQEQ==
[ ] Registration common.workflow.ingest type WORKFLOW NoneFailed with Exception Code: SYSTEM:Unknown
RPC Failed, with Status: StatusCode.INTERNAL
details: failed to compile workflow for [resource_type:WORKFLOW project:"flyte-[redacted]" domain:"development" name:"common.workflow.ingest" version:"L78nnSc8FhZDvHgn0jiQEQ==" ] with err failed to compile workflow with err Collected Errors: 3
Error 0: Code: ParameterNotBound, Node Id: end-node, Description: Parameter not bound [o0].
Error 1: Code: ValueRequired, Node Id: n1, Description: Value required [Target].
Error 2: Code: VariableNameNotFound, Node Id: n1, Description: Variable [o0] not found on node [n1].
Debug string UNKNOWN:Error received from peer ipv4:3.212.214.154:443 {grpc_message:"failed to compile workflow for [resource_type:WORKFLOW project:\"flyte-[redacted]\" domain:\"development\" name:\"common.workflow.ingest\" version:\"L78nnSc8FhZDvHgn0jiQEQ==\" ] with err failed to compile workflow with err Collected Errors: 3\n\tError 0: Code: ParameterNotBound, Node Id: end-node, Description: Parameter not bound [o0].\n\tError 1: Code: ValueRequired, Node Id: n1, Description: Value required [Target].\n\tError 2: Code: VariableNameNotFound, Node Id: n1, Description: Variable [o0] not found on node [n1].\n", grpc_status:13, created_time:"2023-09-18T10:56:21.191069-07:00"}
The
ingest()
workflow that it is failing on calls
map_task(download_file)