Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
381 changes: 328 additions & 53 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,8 @@ junit-report = "0.8.3"
k8s-controller = "0.10.0"
k8s-openapi = { version = "0.27.0", features = ["schemars", "v1_32"] }
kube = { version = "3.1.0", default-features = false, features = ["client", "derive", "openssl-tls", "runtime", "ws"] }
launchdarkly-server-sdk = { version = "2.6.2", default-features = false }
launchdarkly-server-sdk = { version = "3.1.1", default-features = false, features = ["hyper-rustls-native-roots", "crypto-aws-lc-rs"] }
launchdarkly-sdk-transport = "0.1"
lgalloc = "0.6.0"
libc = "0.2.186"
lru = "0.16.3"
Expand Down Expand Up @@ -637,9 +638,6 @@ postgres_array = { git = "https://github.com/MaterializeInc/rust-postgres-array"
# Waiting on https://github.com/MaterializeInc/serde-value/pull/35.
serde-value = { git = "https://github.com/MaterializeInc/serde-value.git" }

# Waiting for resolution of https://github.com/launchdarkly/rust-server-sdk/issues/116
launchdarkly-server-sdk = { git = "https://github.com/MaterializeInc/rust-server-sdk", rev = "3e0a0b98b09a2970f292577a07e1c9382b65b5da" }

# Waiting on https://github.com/edenhill/librdkafka/pull/4051.
rdkafka = { git = "https://github.com/MaterializeInc/rust-rdkafka.git" }
rdkafka-sys = { git = "https://github.com/MaterializeInc/rust-rdkafka.git" }
Expand Down
11 changes: 11 additions & 0 deletions ci/nightly/pipeline.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1461,6 +1461,17 @@ steps:
- ./ci/plugins/mzcompose:
composition: launchdarkly-flag-consistency

- id: launchdarkly-reconnect
label: "LaunchDarkly reconnect"
depends_on: build-aarch64
timeout_in_minutes: 30
agents:
# Uses a mock LaunchDarkly server; needs no real credentials.
queue: hetzner-aarch64-4cpu-8gb
plugins:
- ./ci/plugins/mzcompose:
composition: launchdarkly-reconnect

- group: E2E
key: e2e
steps:
Expand Down
10 changes: 10 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,15 @@ skip = [
{ name = "hashlink", version = "0.9.1" },
# held back by owo-colors 4.3 (mz-deploy terminal styling)
{ name = "supports-color", version = "2.1.0" },

# Pulled by launchdarkly-server-sdk 3.x via launchdarkly-sdk-transport /
# eventsource-client (proxy/timeout/rustls stack and the SDK's RNG path).
# NB: tower 0.4.13 is already skipped above (mz-deploy).
{ name = "rustls-native-certs", version = "0.7.3" },
{ name = "rand", version = "0.10.1" },
{ name = "rand_core", version = "0.10.1" },
{ name = "getrandom", version = "0.4.2" },
{ name = "cpufeatures", version = "0.3.0" },
]

[[bans.deny]]
Expand Down Expand Up @@ -206,6 +215,7 @@ wrappers = [
"globset",
"launchdarkly-server-sdk",
"launchdarkly-server-sdk-evaluation",
"launchdarkly-sdk-transport",
"native-tls",
"opendal",
"os_info",
Expand Down
2 changes: 1 addition & 1 deletion src/adapter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ hex.workspace = true
humantime.workspace = true
imbl.workspace = true
http.workspace = true
hyper-tls = "0.5.0"
ipnet.workspace = true
itertools.workspace = true
launchdarkly-server-sdk.workspace = true
launchdarkly-sdk-transport.workspace = true
maplit.workspace = true
mz-adapter-types = { path = "../adapter-types" }
mz-audit-log = { path = "../audit-log" }
Expand Down
5 changes: 5 additions & 0 deletions src/adapter/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ pub enum SystemParameterSyncClientConfig {
LaunchDarkly {
/// The LaunchDarkly SDK key
sdk_key: String,
/// Overrides the LaunchDarkly streaming, polling, and events endpoints
/// with a single base URL (as for a relay proxy). `None` uses
/// LaunchDarkly's default endpoints. Primarily for pointing the SDK at
/// a mock server in tests.
base_uri: Option<String>,
/// Function to return the current time.
now_fn: NowFn,
},
Expand Down
Loading
Loading