-
Notifications
You must be signed in to change notification settings - Fork 49
feat: Merge butterflow into codemod #1535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* refactor: change `commands` -> `run`, and only accept a single string * feat: support step-level outputs This will be read by the containing task to produce task outputs. * feat: task-level outputs * refactor: move to one global state
This must be done now that we update the state using the diffing method, rather than just keeping a mutable reference to it.
- Replaced separate `run` and `uses` fields in the Step struct with a single `action` field of type StepAction. - Updated workflow validation and execution logic to accommodate the new StepAction enum. - Adjusted tests to reflect changes in step definitions and ensure compatibility with the new action structure.
Steps should only have one unit of work to keep things simple
**Problem:** When running a matrix task, child tasks are executed and run as normal, but the master task also attempts to run and will produce variable resolution errors (since it is not really meant to be run, just to track its children). **Solution:** Introduce a new `is_master` field to track whether a task is a master task, and read it to determine whether or not the task should be run
ID is only really needed to select step-level outputs (which we no longer have). Description isn't a big deal, but names shouldn't be complex enough that they warrant a separate, longer description than the one `name` provides.
feat: Generate TypeScript types with ts-rs
feat: Scheduler WASM
refactor: Separate scheduler from core
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
|
commit: |
74350be
to
1a39859
Compare
1a39859
to
9fac1cb
Compare
This PR merges the private butterflow into codemod repo.