Skip to content

Commit

Permalink
merge: #2952
Browse files Browse the repository at this point in the history
2952: feat(sdf): sync crdt across sdf instances with nats r=paulocsanz a=paulocsanz



Co-authored-by: Paulo Cabral <[email protected]>
  • Loading branch information
si-bors-ng[bot] and paulocsanz authored Nov 14, 2023
2 parents 1446f1e + e9099bd commit 3c5929e
Show file tree
Hide file tree
Showing 9 changed files with 508 additions and 588 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

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

6 changes: 6 additions & 0 deletions lib/sdf-server/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ rust_library(
"//third-party/rust:convert_case",
"//third-party/rust:derive_builder",
"//third-party/rust:futures",
"//third-party/rust:futures-lite",
"//third-party/rust:hyper",
"//third-party/rust:names",
"//third-party/rust:nix",
Expand Down Expand Up @@ -60,6 +61,7 @@ rust_test(
"//lib/dal-test:dal-test",
"//lib/dal:dal",
"//lib/si-posthog-rs:si-posthog",
"//lib/si-data-nats:si-data-nats",
"//lib/si-std:si-std",
"//lib/telemetry-rs:telemetry",
"//third-party/rust:axum",
Expand All @@ -70,7 +72,11 @@ rust_test(
"//third-party/rust:serde_json",
"//third-party/rust:serde_url_params",
"//third-party/rust:tokio",
"//third-party/rust:tokio-tungstenite",
"//third-party/rust:y-sync",
"//third-party/rust:yrs",
"//third-party/rust:tower",
"//third-party/rust:futures",
":sdf-server",
],
crate_root = "tests/api.rs",
Expand Down
1 change: 1 addition & 0 deletions lib/sdf-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ once_cell = { workspace = true }
dal = { path = "../../lib/dal" }
derive_builder = { workspace = true }
futures = { workspace = true }
futures-lite = { workspace = true }
hyper = { workspace = true }
names = { workspace = true }
nix = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion lib/sdf-server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
clippy::module_name_repetitions
)]

mod server;
pub mod server;
pub use server::{
build_service, build_service_for_tests, detect_and_configure_development,
job_processor::JobProcessorClientCloser, job_processor::JobProcessorConnector, service, Config,
Expand Down
2 changes: 1 addition & 1 deletion lib/sdf-server/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub(crate) mod job_processor;
mod routes;
mod server;
pub mod service;
mod state;
pub mod state;
pub mod tracking;
mod uds;

Expand Down
Loading

0 comments on commit 3c5929e

Please sign in to comment.