Skip to content

Refactor service ingress from HTTP transport - #1120

Merged
edwin-zvs merged 1 commit into
mainfrom
refactor-service-channel-router
Aug 1, 2026
Merged

Refactor service ingress from HTTP transport#1120
edwin-zvs merged 1 commit into
mainfrom
refactor-service-channel-router

Conversation

@edwin-zvs

@edwin-zvs edwin-zvs commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • extract session routing, ownership, deduplication, result reconstruction, and approval handling into a transport-neutral service ingress module
  • isolate loopback listener cancellation, per-request bearer authentication, pause checks, HTTP parsing, and JSON responses in an HTTP channel adapter
  • preserve live definition reloads, channel rebind/drain behavior, existing persistence and routing, and v1 wire shapes
  • add compatibility tests for result and approval JSON

Testing

  • cargo test -p construct-daemon (505 passed)
  • cargo build
  • rustfmt --check --edition 2021 crates/daemon/src/service/http.rs crates/daemon/src/service/ingress.rs
  • git diff --check

Review artifacts

No screenshot or recording: this is an internal, behavior-preserving daemon refactor.

@edwin-zvs
edwin-zvs force-pushed the refactor-service-channel-router branch from be01253 to 98219a4 Compare August 1, 2026 21:07
@edwin-zvs
edwin-zvs merged commit def181f into main Aug 1, 2026
1 check passed
@edwin-zvs
edwin-zvs deleted the refactor-service-channel-router branch August 1, 2026 21:13
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