Clarify the provider client stream and availability contract #60
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem and evidence
HostResourceClientdeclaresavailabilityandopenatcrates/host-resource-client/src/lib.rs:170-182, but the remote implementation returnsUnsupportedatcrates/server/src/provider_tunnel.rs:391and:478. Current container Logs/Exec work through the existing typed WebSocket OPEN path, so these unsupported trait methods do not mean that the working channel path is broken.Recommendation
Make the port boundary explicit: either remove/defer methods that are not routed by this adapter, or document and test the transport-specific path that owns stream OPEN and availability. Keep RPC command/reply separate from the existing credit-controlled channel protocol unless a scheduled provider needs a different port.
Payoff and estimate
Prevents callers and reviews from mistaking an intentionally separate stream path for missing remote parity. Estimate: 0.5–1 engineering day.
Priority: Now (≤1 day).
2026-10-04 owner decisions: Matches the single custom WebSocket tunnel and one shared event route. This clarification must not introduce a second stream transport. Related: #49.
Report: arch-review report
Source: arch-review 2026-10-04