Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
1b388e5
feat(backend, net::tcp): add TCP handles and in-memory framing
pminmic Oct 24, 2026
64dd0bc
feat(backend, net::tcp): TCP connection with single board
pminmic Oct 24, 2026
1ae8c5c
feat(backend, net::tcp): reusable reader using tcp::framing and repor…
pminmic Nov 4, 2026
de39ade
test(backend, net::tcp): manual test to test recieved packets
pminmic Nov 4, 2026
8eadd92
feat(backend, net::tcp): write in the intern tcp buffer and add some …
pminmic Nov 5, 2026
4819713
feat(backend, net::tcp): add configurable TCP keep-alive to session w…
pminmic Nov 5, 2026
2585e81
Merge branch 'new-backend' into backend/net-tcp
pminmic Nov 5, 2026
290d558
feat(backend, net::tcp): selection of the reader/writer for each acti…
pminmic Nov 6, 2026
4da970b
feat(backend, net::tcp): add reconnection supervisor with exponential…
pminmic Nov 9, 2026
194ba14
feat(backend, net::tcp): spawn per-board supervisors
pminmic Nov 9, 2026
f41e562
feat(backend, net::tcp): add prioritized fault boradcast with per-boa…
pminmic Nov 10, 2026
911e39c
tests(backend, net::tcp): add manual test for spawn conections per-bo…
pminmic Nov 10, 2026
d94304c
docs(backend, net::tcp): update README
pminmic Nov 10, 2026
888f4c2
refactor(backend, net::tcp): restrict public API to transport entry p…
pminmic Nov 10, 2026
cfcda70
refactor(backend, tcp): separate tests from tcp.rs file
pminmic Nov 18, 2026
d387cf5
fix(backend, tcp): fixing after pr review (separate tcp tests, change…
pminmic Nov 20, 2026
1ed490b
Merge branch 'new-backend' into backend/net-tcp
pminmic Nov 20, 2026
c21aa0d
fix(backend, tcp): merge conflicts
pminmic Nov 20, 2026
be56190
fix(backend, tcp): delete queue, add comments, implement tracing, sep…
pminmic Nov 23, 2026
6ae40c5
docs(backend, tcp): well separated docs
pminmic Nov 23, 2026
a9168d8
Merge branch 'new-backend' into backend/net-tcp
pminmic Nov 30, 2026
10e3863
Merge branch 'backend/net' into backend/net-tcp
pminmic Dec 1, 2026
acb08f1
fix(backend, tcp): merge conflicts incidents
pminmic Dec 1, 2026
d72be5d
feat(backend, tcp): integrate TCP board clients with event
pminmic Dec 1, 2026
36d14ce
docs(backend, tcp): update readme
pminmic Dec 2, 2026
b6d8b08
feat(backend, tcp): comprobation of use in main
pminmic Dec 2, 2026
3eda9c4
Merge branch 'new-backend' into backend/net-tcp
JavierRibaldelRio Dec 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 27 additions & 27 deletions backend/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions backend/crates/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ rlimit = { version = "0.11.0", optional = true }
[dev-dependencies]
tempfile = "3.27"

# Virtual time makes the writer's per-frame deadlines deterministic in tests.
tokio = { workspace = true, features = ["test-util"] }

# `workspace = true` can't be combined with extra lints in the same table,
# so the workspace list is repeated here with `missing_docs` added: this is
# the crate meant to be reused by other projects, so its public API must be
Expand Down
9 changes: 5 additions & 4 deletions backend/crates/core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ pub mod hello_world;
#[cfg(feature = "git")]
pub mod git;

/// NTP server
#[cfg(feature = "ntp")]
pub mod ntp;

/// Basic domain types: identifiers, values, measurements, protections,
/// packets and boards.
pub mod model;
/// NTP server
#[cfg(feature = "ntp")]
pub mod ntp;

/// Parses an ADJ (Architecture Description JSON) directory into
/// [`model::PodData`], plus backend-session metadata not modeled as
Expand All @@ -33,11 +32,13 @@ pub mod net;

// Utils module
pub(crate) mod utils;

/// Everything a recording needs on disk: writing CSV, text and JSON
/// files without knowing what is in them ([`logger::CsvFile`]), moving
/// those files around ([`logger::files`], feature `files`) and the
/// snapshot of the machine that produced them ([`logger::host`],
/// feature `host`). The policy — which files a recording has, what goes
/// in each row — belongs to whoever calls this.

#[cfg(feature = "logger")]
pub mod logger;
2 changes: 1 addition & 1 deletion backend/crates/core/src/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
//! one shared socket for UDP, so nothing needs telling apart beyond it.
//!
//! Addresses are for the operator, not for the domain types: they show
//! up interpolated in each submodule's error messages (`tcp::Error`,
//! up interpolated in each submodule's error messages (`tcp::TcpError`,
//! `udp::UdpError`), which is where somebody actually reads them.

mod error;
Expand Down
Loading
Loading