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

Add initial support for operating with workflows #23

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

tuommaki
Copy link
Contributor

Workflows are the main objects that provide the platform computation functionality. Workflow tasks convert on-chain into individual tasks, but the overall coordination of execution happens by the rules described in the workflow.

This change adds basic CRUD support for workflows.

Workflows are the main objects that provide the platform computation
functionality. Workflow tasks convert on-chain into individual tasks,
but the overall coordination of execution happens by the rules described
in the workflow.

This change adds basic CRUD support for workflows.
@tuommaki tuommaki self-assigned this Nov 15, 2024
@@ -1,6 +1,6 @@
use anyhow::{Context, Result};
use log::debug;
use gevulot_rs::runtime_config::{self, RuntimeConfig};
use mia_installer::runtime_config::{self, RuntimeConfig};
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This fixes the build now that gevulot-rs is changing.

if let Some(pin_cid) = _sub_m.get_one::<String>("cid") {
let mut client = connect_to_gevulot(_sub_m).await?;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Instantiate client only after the CLI argument has been validated 🙂

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.

1 participant