You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pipeline: data_input / data_output are validated but silently ignored; stages get no inputs and their outputs are lost #911
A pipeline stage's data_input and data_output are accepted and validated (pkg/pipeline/pipeline.go, Stage.Validate), and every file under examples/pipelines/ uses them, but nothing acts on them. The stage instances' user data, written by lambda/pipeline-orchestrator/main.gogeneratePipelineUserData, has only placeholders:
# TODO: Implement S3 input download based on data_input config
...
# TODO: Implement S3 output upload based on data_output config
No other code on the live path reads DataInput or DataOutput. The only code that implements the handoff, pkg/pipeline/data_handoff.go, is reached only through spored run-pipeline-stage, which nothing runs (#910).
Effect: in a pipeline like examples/pipelines/ml-training.json, train declares data_input: {source_stage: preprocess, dest_path: /data/input}. It starts with an empty /data/input, and every stage's declared outputs are thrown away when its instance terminates. Nothing warns the user. The pipeline can still report COMPLETED.
Found by reading the code; not reproduced against AWS.
Suggested: implement the handoff (#910 option 2), or reject data_input/data_output at spawn pipeline validate/launch until it exists, so the gap is visible.
Activity
Run the spored stage runner in pipeline stages, so data_input/data_ou…
Run the spored stage runner in pipeline stages, so data_input/data_ou…
Run the spored stage runner in pipeline stages, so data_input/data_ou…