feat(agents-server): port pull-wake to routing refactor#4308
Merged
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #4308 +/- ##
===========================================
+ Coverage 49.51% 60.75% +11.24%
===========================================
Files 230 284 +54
Lines 16524 26633 +10109
Branches 4872 7010 +2138
===========================================
+ Hits 8182 16182 +8000
- Misses 8333 10437 +2104
- Partials 9 14 +5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
be04d7d to
7943cfc
Compare
1fb27b1 to
39b4957
Compare
7943cfc to
2d05944
Compare
30f7c14 to
ad615e8
Compare
bd8d8a8 to
f012030
Compare
ad615e8 to
a5b82e0
Compare
f012030 to
8e8f2b1
Compare
a5b82e0 to
f2ae84e
Compare
Base automatically changed from
codex/agents-server-routing-refactor-squashed
to
main
May 12, 2026 14:04
3524a29 to
b47cd90
Compare
KyleAMathews
approved these changes
May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
v1/stream-meta/subscriptions/*pull-wake API instead of restoring donor/consumersminting or monolithic server routing.Work Done
/_electric/runnersroutes for registration, listing, heartbeat offset persistence, enable/disable, and claim handling with authenticated owner checks.StreamClientand the Durable Streams router to map subscriptionwake_stream, patterns, explicit streams, claim responses, ack requests, release requests, and response stream paths through the adapter.ELECTRIC_DESKTOP_USER_DATA_DIRand env-selected desktop server startup for multi-desktop local testing.startscript respect externally supplied dev env vars.Verification
pnpm -C packages/agents-runtime buildpnpm --filter @electric-ax/agents-server typecheckpnpm --filter @electric-ax/agents-desktop typecheckcd packages/agents-server && pnpm exec vitest run test/dev-asserted-auth.test.ts test/dispatch-policy-schema.test.ts test/entrypoint.test.ts test/horton-pull-wake-e2e.test.ts --reporter=dotStack
feat(agents-server): refactor routing for tenant library mode).