Skip to content

implemented taurus emitter pattern#211

Merged
raphael-goetz merged 2 commits intomainfrom
#210-new-emiter-sys
Apr 23, 2026
Merged

implemented taurus emitter pattern#211
raphael-goetz merged 2 commits intomainfrom
#210-new-emiter-sys

Conversation

@raphael-goetz
Copy link
Copy Markdown
Member

Resolves: #210

Copilot AI review requested due to automatic review settings April 23, 2026 17:01
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 23, 2026

GitLab Pipeline Action

General information

Link to pipeline: https://gitlab.com/code0-tech/development/draco/-/pipelines/2475280200

Status: Passed
Duration: 2 minutes

Job summaries

docs:preview

Documentation preview available at https://code0-tech.gitlab.io/-/development/telescopium/-/jobs/14064113968/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

Implements the Taurus “emitter” execution pattern by moving flow execution from a NATS request/response to a publish + per-execution emitter subscription, and updates the REST adapter to map emitter outcomes to HTTP responses.

Changes:

  • Add FlowExecutionResult and execute_flow_with_emitter() to drive execution via runtime.emitter.<execution_id> events.
  • Update REST adapter execution handling to return on first ongoing event, treat failed/transport errors as 500s, and map finished (without ongoing) to an empty HTTP response.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
crates/base/src/store.rs Introduces emitter-based flow execution, event decoding, and new execution result enum.
adapter/rest/src/main.rs Switches REST execution path to use emitter results and adjusts HTTP response mapping.

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

Comment thread adapter/rest/src/main.rs Outdated
Comment thread crates/base/src/store.rs
Comment thread crates/base/src/store.rs
Comment thread crates/base/src/store.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
@raphael-goetz raphael-goetz merged commit dbadeca into main Apr 23, 2026
5 checks passed
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.

Handle new Emitter System of Taurus

2 participants