Skip to content

feat(backend, net::tcp): implement per-board TCP clients with reconnection, keep-alive and fault broadcast - #672

Open
pminmic wants to merge 16 commits into
new-backendfrom
backend/net-tcp
Open

pminmic wants to merge 16 commits into
new-backendfrom
backend/net-tcp

Conversation

@pminmic

@pminmic pminmic commented Nov 5, 2026 •

Copy link
Copy Markdown

Summary

  • Implement per-board TCP clients with independent reconnection supervisors and capped exponential backoff.
  • Add ADJ-based order routing, validation and bounded queues.
  • Handle incoming frame reassembly, packet decoding and lifecycle/error reporting.
  • Serialize orders, configurable keep-alive and prioritized fault requests through one writer per connection.
  • Implement concurrent fault broadcasts with bounded deadlines and per-board write confirmation.
  • Document transport guarantees and provide ignored manual probes.

Validation

Automated tests and local loopback checks pass, but end-to-end validation against board firmware is still pending.

Please review propagate_fault() carefully, particularly whether its behavior matches the firmware's expectations. Its current success result confirms only the TCP write, not firmware receipt or execution.

Pending

  • Hash exchange and validation with boards.

@pminmic pminmic changed the title Backend/net tcp feat(backend, net::tcp): implement per-board TCP clients with reconnection, keep-alive and fault broadcast Nov 10, 2026
@pminmic pminmic linked an issue Nov 11, 2026 that may be closed by this pull request
@JavierRibaldelRio
JavierRibaldelRio marked this pull request as ready for review November 14, 2026 22:50

This branch has not been deployed

No deployments
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.

TCP Module

2 participants