Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(replay-recorder-v4): build the recorder image in ci (#117978)

Nicholas Waltz5a3c7780b327
diff --git a/.github/rust-images.yml b/.github/rust-images.yml
index 5bc5f67a4f44..118018702a3b 100644
--- a/.github/rust-images.yml
+++ b/.github/rust-images.yml
@@ -154,8 +154,7 @@
dockerfile: ./rust/Dockerfile
project: lvsrh6c64c
-# Records the v4 AI research replay dataset (products/ai_training/docs/replay-data.md). CI builds the image, but it
-# has no entry in the deploy matrix of rust-docker-build.yml until the recorder ships.
+# Records the v4 AI research replay dataset (products/ai_training/docs/replay-data.md).
- image: replay-recorder-v4
dockerfile: ./rust/Dockerfile
project: vznmbshh6q
diff --git a/.github/workflows/ci-rust.yml b/.github/workflows/ci-rust.yml
index 7a171817eeaa..bff89b5f3da7 100644
--- a/.github/workflows/ci-rust.yml
+++ b/.github/workflows/ci-rust.yml
@@ -219,6 +219,8 @@ jobs:
"property-defs-rs": 74,
"property-vals-rs": 70,
"replay-anonymizer-node": 5,
+ "replay-core-v4": 10,
+ "replay-recorder-v4": 15,
"serve-metrics": 5,
"usage-ingestion": 70,
"usage-ingestion-proto": 5,
diff --git a/.github/workflows/rust-docker-build.yml b/.github/workflows/rust-docker-build.yml
index bbb7ffc9c0a4..e1d5ad0ccfd0 100644
--- a/.github/workflows/rust-docker-build.yml
+++ b/.github/workflows/rust-docker-build.yml
@@ -122,6 +122,9 @@ jobs:
- release: property-vals-rs
digest_key: property-vals-rs
values_key: image
+ - release: replay-recorder-v4
+ digest_key: replay-recorder-v4
+ values_key: image
- release: feature-flags
digest_key: feature-flags
values_key: image
diff --git a/rust/ai-research/replay-recorder-v4/src/config.rs b/rust/ai-research/replay-recorder-v4/src/config.rs
index b90da5183cf8..45c685b89633 100644
--- a/rust/ai-research/replay-recorder-v4/src/config.rs
+++ b/rust/ai-research/replay-recorder-v4/src/config.rs
@@ -43,8 +43,7 @@ pub struct Config {
)]
pub event_restrictions_refresh_secs: u64,
- /// The session recording Redis. v4's new-session rate limiter keeps its seen and blocked sessions there, under its
- /// own keys.
+ /// v4's own Redis. The new-session rate limiter keeps its seen and blocked sessions there.
#[envconfig(from = "AI_RESEARCH_V4_REDIS_URL")]
pub redis_url: String,