Make pipeline init interactive with user prompts instead of TODO placeholders#768
Merged
Make pipeline init interactive with user prompts instead of TODO placeholders#768
Conversation
Co-authored-by: zeiler <2138258+zeiler@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update the clarifai pipline init to ask the user for user_id and app_id
Make pipeline init interactive with user prompts instead of TODO placeholders
Aug 28, 2025
zeiler
approved these changes
Sep 9, 2025
| - Update the pipeline `id` | ||
| - Modify the Argo orchestration spec as needed | ||
|
|
||
| 2. **Configure pipeline steps**: For each step directory (stepA, stepB): |
Member
There was a problem hiding this comment.
this number 2 is still valid, the user has to update the logic of each step in it's {step_dir}/1/pipeline_step.py
| - Modify the Argo orchestration spec as needed | ||
|
|
||
| 2. **Configure pipeline steps**: For each step directory (stepA, stepB): | ||
| - Edit `config.yaml` and fill in the TODO fields |
Member
There was a problem hiding this comment.
the user still has to enter the compute_info they want each step to consume into the config.yaml
Minimum allowed line rate is |
ackizilkale
approved these changes
Sep 9, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
clarifai pipeline initcommand previously created pipeline structures with placeholder values and TODO comments that required manual editing across multiple nested files. This made the initialization process tedious and error-prone.Changes Made
This PR transforms the pipeline initialization into an interactive experience that prompts users for all required information upfront:
Key Improvements
user_id,app_id,pipeline_id, number of steps, and step names during initializationBefore vs After
Before: Generated config.yaml with placeholders
After: Generated config.yaml with actual values
This change significantly improves the developer experience by providing a streamlined initialization workflow that's ready to use immediately without manual configuration file editing.
Fixes #767.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.