Add generic service channel publication - #1125
Merged
Merged
Conversation
Contributor
Author
|
Gateway implementation: https://github.com/zarvis-ai/construct-service/pull/12. The first-party backend now advertises HTTP-over-TCP only, matching the deployed edge; the generic publication boundary still models future WebSocket and opaque transports. |
edwin-zvs
marked this pull request as ready for review
August 1, 2026 22:16
edwin-zvs
force-pushed
the
generic-channel-publication
branch
2 times, most recently
from
August 1, 2026 22:36
16c0aa1 to
3fdb91b
Compare
edwin-zvs
force-pushed
the
generic-channel-publication
branch
from
August 1, 2026 23:46
3fdb91b to
a80d76f
Compare
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
The boundary is intentionally not HTTP-shaped: HTTP and WebSocket profiles return URLs with canonical paths, opaque TCP profiles return host/port endpoints, and UDP or outbound channels can opt in or out according to provider capabilities.
Gateway rollout dependency
The client/daemon implementation is complete, but production use requires matching gateway support for:
POST https://tunnel.zarvis.ai/api/v1/channel-publicationsauthorization: "channel"Authorizationheader and request body end to endThe existing remote-control tunnel remains a separate route and lifecycle. This PR is draft until that gateway contract is deployed.
Verification
cargo check --workspacecargo test -p construct-daemon --lib(518 passed)cargo build --workspace --binscolor::tests::truecolor_backend_still_emits_rgbtest, which also fails in isolation on this terminal backend and is unrelated to this diffNo recording is attached because the production gateway endpoint needed to reach the Ready state is not deployed.