Skip to content

new module structure#190

Open
raphael-goetz wants to merge 3 commits intomainfrom
#186-new-module-structure
Open

new module structure#190
raphael-goetz wants to merge 3 commits intomainfrom
#186-new-module-structure

Conversation

@raphael-goetz
Copy link
Copy Markdown
Member

Resolves: #186

Copilot AI review requested due to automatic review settings April 28, 2026 16:54
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 28, 2026

GitLab Pipeline Action

General information

Link to pipeline: https://gitlab.com/code0-tech/development/taurus/-/pipelines/2486110412

Status: Passed
Duration: 2 minutes

Job summaries

docs:preview

Documentation preview available at https://code0-tech.gitlab.io/-/development/telescopium/-/jobs/14127763595/artifacts/out/index.html

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates Taurus to newer tucana / code0-flow versions and adjusts the core/provider remote-runtime integration and flow compilation to match the updated protobuf types.

Changes:

  • Bump workspace dependencies: code0-flow 0.0.32 -> 0.0.33, tucana 0.0.68 -> 0.0.70.
  • Replace ExecutionRequest with ActionExecutionRequest throughout the remote execution interface and request building.
  • Switch remote response decoding to ActionExecutionResponse and update flow compiler/test code to the new SubFlow parameter variant (currently left unimplemented).

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
crates/taurus-provider/src/providers/remote/nats_remote_runtime.rs Switches NATS remote decode type to ActionExecutionResponse, but currently leaves execution handling unimplemented.
crates/taurus-core/src/runtime/remote/mod.rs Updates RemoteExecution to carry ActionExecutionRequest.
crates/taurus-core/src/runtime/engine/executor.rs Builds ActionExecutionRequest for remote invocations.
crates/taurus-core/src/runtime/engine/compiler.rs Updates parameter compilation for new SubFlow variant but currently panics via unimplemented!().
crates/taurus-core/src/runtime/engine.rs Updates test helpers for new parameter shape but currently panics via unimplemented!().
Cargo.toml Dependency bumps to pick up new module/proto structure.
Cargo.lock Lockfile updates for the dependency bumps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"Result of Remote Response was empty.",
)),
}
unimplemented!("Taurus needs to handle text executions (issue nr #185)")
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

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

Leaving unimplemented!() in this runtime path will panic any time a remote node executes. Please replace this with actual response handling (or, at minimum, return a structured RuntimeError with an appropriate stable code/category) so production flows don't crash.

Suggested change
unimplemented!("Taurus needs to handle text executions (issue nr #185)")
Err(RuntimeError::new(
"T-PROV-000003",
"RemoteRuntimeUnsupportedResponse",
"Remote runtime response handling is not implemented for this execution type.",
))

Copilot uses AI. Check for mistakes.
Comment thread crates/taurus-core/src/runtime/engine/compiler.rs
Comment on lines 192 to +195
value: Some(NodeValue {
value: Some(node_value::Value::NodeFunctionId(node_id)),
value: Some(node_value::Value::SubFlow(unimplemented!(
"Taurus needs to handle SubFlows (issue nr #184)"
))),
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

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

This test helper constructs a NodeParameter by executing unimplemented!(), which will panic immediately when the test builds its graph (before the engine even runs). Please construct a real node_value::Value::SubFlow representing a thunk/sub-flow (or refactor tests to the new parameter encoding) so the tests can execute.

Copilot uses AI. Check for mistakes.
Comment thread Cargo.toml
Comment on lines +45 to 47
let decode_result = ActionExecutionResponse::decode(message.payload);
let _execution_result = match decode_result {
Ok(r) => r,
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

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

execute_remote decodes an ActionExecutionResponse but then discards it and never produces a Result<Value, RuntimeError> based on the response. This currently makes all remote executions unusable; please map the decoded response to Ok(Value) / Err(RuntimeError) (including handling missing/failed results) instead of ignoring it.

Copilot uses AI. Check for mistakes.
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.

Taurus should include the modules properties

2 participants