Merge branch 'main' into flutter/f4-chat

This commit is contained in:
2026-10-21 13:37:09 +01:00
8 changed files with 685 additions and 5 deletions
+21
View File
@@ -0,0 +1,21 @@
# F1 transport
`PipelinesClient` implements the shared `ApiGateway` contract using one
`web_socket_channel` connection, correlated JSON replies, timeout handling,
unsolicited envelope broadcast, and reconnect with capped exponential backoff.
The URL helper validates ws/wss endpoints and resolves artifact URLs.
Manager integration import: `package:pipelines_app/core/transport/pipelines_client.dart`;
endpoint helper: `package:pipelines_app/core/transport/server_url.dart`.
The client accepts an injected `ChannelFactory` for deterministic tests. No live
server was used. Browser and mobile target verification should be reported
separately from these unit tests.
## Manager verification
Expanded to 12 focused tests, including serialized requests, queue recovery
after protocol errors/timeouts, late replies, replacement of queued requests,
send-only subscriptions, concurrent connects, reconnect and disposal. Corrected
generation races and socket cleanup; URI construction now retains bracketed
IPv6 hosts and encoded artifact query strings. Analyze passes after formatting.
These are unit checks, not browser/live-server acceptance or mobile verification.