Skip to content
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

Oneof Outputs for Graceful Handling of Disabled Steps #207

Merged
merged 11 commits into from
Sep 12, 2024

Conversation

jaredoconnell
Copy link
Contributor

Changes introduced with this PR

This Pull Request adds a way to output a Oneof type. This allows OR logic for outputs and step inputs, allowing you allow multiple cases without creating multiple outputs or steps.

For examples of usage, see workflow_test.go


By contributing to this repository, I agree to the contribution guidelines.

Copy link

@dbutenhof dbutenhof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll read through this again for more depth, but I've been working on extracting Crucible data all day and I want to submit the comments I've managed to generate today before I forget.

I haven't spotted any major problems, but I think some sections could use a bit of cleanup.

workflow/executor.go Show resolved Hide resolved
workflow/executor.go Outdated Show resolved Hide resolved
workflow/workflow.go Outdated Show resolved Hide resolved
internal/infer/infer.go Show resolved Hide resolved
@jaredoconnell jaredoconnell enabled auto-merge (squash) September 12, 2024 22:30
@jaredoconnell jaredoconnell merged commit 213a0df into main Sep 12, 2024
4 checks passed
@jaredoconnell jaredoconnell deleted the oneof_outputs branch September 12, 2024 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants