Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
commonware-mcp | d27bb8d | Mar 10 2026, 07:04 PM |
Deploying monorepo with
|
| Latest commit: |
d27bb8d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://466b8a90.monorepo-eu0.pages.dev |
| Branch Preview URL: | https://cl-actor.monorepo-eu0.pages.dev |
|
For the core control loop service, we effectively want to multiplex over several sources, mapping to the same event message type. These sources can be of several types:
The abstraction that we currently have is close, but it has some large problems:
Exploring some ways around this. An idea came to mind which is a bit less "nice", but simple to reason about and sidesteps the issue of dealing with this in a generic context (taken from the v1 but adapted to be more useful.) We can add a function to fn auxiliary(
&mut self,
context: &mut E,
init: &mut Self::Init
) -> impl Future<Output = Option<Self::Ingress>> + Send;that function could then be implemented by end-users with a |
ed9a47a to
f114bce
Compare
There was a problem hiding this comment.
I wonder if it would make sense to have another ingress type for synchronous read-only requests, maybe peek? E.g. in the counter example you could use an AtomicU64 for the state, in which case you can service multiple synchronous read-requests (or anything behind a RwLock that isn't inherently asynchronous). I'm thinking just as general purpose functionality, maybe we don't have enough usage to justify this pattern.
fa19f3c to
a3f3214
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Codecov Report❌ Patch coverage is @@ Coverage Diff @@
## main #3077 +/- ##
=======================================
Coverage ? 95.38%
=======================================
Files ? 417
Lines ? 144684
Branches ? 3422
=======================================
Hits ? 138004
Misses ? 5553
Partials ? 1127
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Overview
Introduces an SDK for writing actor services with
commonware-runtime.related #1110