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(flox): drop unused installs (#121235)

Raúl Negrón-Oteroe82fd2eed562
diff --git a/.flox/env/manifest.lock b/.flox/env/manifest.lock
index 5777371176d5..a4528ee7f49d 100644
--- a/.flox/env/manifest.lock
+++ b/.flox/env/manifest.lock
@@ -58,12 +58,6 @@
"pkg-group": "ffmpeg",
"version": "5.1.4"
},
- "freetds": {
- "pkg-path": "freetds"
- },
- "git-lfs": {
- "pkg-path": "git-lfs"
- },
"go": {
"pkg-path": "go",
"pkg-group": "go",
@@ -80,10 +74,6 @@
"aarch64-darwin"
]
},
- "libpthread-stubs": {
- "pkg-path": "libpthread-stubs",
- "pkg-group": "emscripten"
- },
"lld": {
"pkg-path": "lld",
"systems": [
@@ -175,10 +165,6 @@
"watchman": {
"pkg-path": "watchman"
},
- "xmlsec": {
- "pkg-path": "xmlsec",
- "version": "1.3.7"
- },
"zstd": {
"pkg-path": "zstd",
"pkg-group": "nodejs"
@@ -483,93 +469,6 @@
"group": "emscripten",
"priority": 5
},
- {
- "attr_path": "libpthread-stubs",
- "broken": false,
- "derivation": "/nix/store/f5zc6f6n36rjc7b2ycq6ww0dnz3v2y31-libpthread-stubs-0.5.drv",
- "description": "Provides a pkg-config file `pthread-stubs.pc` containing the Cflags/Libs flags applicable to programs/libraries that use only lightweight pthread API",
- "install_id": "libpthread-stubs",
- "license": "X11",
- "locked_url": "https://github.com/flox/nixpkgs?rev=a82ccc39b39b621151d6732718e3e250109076fa",
- "name": "libpthread-stubs-0.5",
- "pname": "libpthread-stubs",
- "rev": "a82ccc39b39b621151d6732718e3e250109076fa",
- "rev_count": 945868,
- "rev_date": "2026-02-13T18:55:12Z",
- "scrape_date": "2026-02-15T04:39:20.213009Z",
- "stabilities": [
- "unstable"
- ],
- "unfree": false,
- "version": "0.5",
- "outputs_to_install": [
- "out"
- ],
- "outputs": {
- "out": "/nix/store/6blf9br7c1nf3r7g5nl8z9swl52i8zmi-libpthread-stubs-0.5"
- },
- "system": "aarch64-darwin",
- "group": "emscripten",
- "priority": 5
- },
- {
- "attr_path": "libpthread-stubs",
- "broken": false,
- "derivation": "/nix/store/fcd3x2xg6azkm1gj4gp9j47kymj3scdz-libpthread-stubs-0.5.drv",
- "description": "Provides a pkg-config file `pthread-stubs.pc` containing the Cflags/Libs flags applicable to programs/libraries that use only lightweight pthread API",
- "install_id": "libpthread-stubs",
- "license": "X11",
- "locked_url": "https://github.com/flox/nixpkgs?rev=a82ccc39b39b621151d6732718e3e250109076fa",
- "name": "libpthread-stubs-0.5",
- "pname": "libpthread-stubs",
- "rev": "a82ccc39b39b621151d6732718e3e250109076fa",
- "rev_count": 945868,
- "rev_date": "2026-02-13T18:55:12Z",
- "scrape_date": "2026-02-15T05:12:02.049089Z",
- "stabilities": [
- "unstable"
- ],
- "unfree": false,
- "version": "0.5",
- "outputs_to_install": [
- "out"
- ],
- "outputs": {
- "out": "/nix/store/3prz7w3vy1ajaj8idvk9wq5z571h0jw9-libpthread-stubs-0.5"
- },
- "system": "aarch64-linux",
- "group": "emscripten",
- "priority": 5
- },
- {
- "attr_path": "libpthread-stubs",
- "broken": false,
- "derivation": "/nix/store/58fbzcz50mv1q1q8lgi60znam396j7rl-libpthread-stubs-0.5.drv",
- "description": "Provides a pkg-config file `pthread-stubs.pc` containing the Cflags/Libs flags applicable to programs/libraries that use only lightweight pthread API",
- "install_id": "libpthread-stubs",
- "license": "X11",
- "locked_url": "https://github.com/flox/nixpkgs?rev=a82ccc39b39b621151d6732718e3e250109076fa",
- "name": "libpthread-stubs-0.5",
- "pname": "libpthread-stubs",
- "rev": "a82ccc39b39b621151d6732718e3e250109076fa",
- "rev_count": 945868,
- "rev_date": "2026-02-13T18:55:12Z",
- "scrape_date": "2026-02-15T06:21:33.174133Z",
- "stabilities": [
- "unstable"
- ],
- "unfree": false,
- "version": "0.5",
- "outputs_to_install": [
- "out"
- ],
- "outputs": {
- "out": "/nix/store/vyp4zj8z2mccqh7dqrsic0i577ghik79-libpthread-stubs-0.5"
- },
- "system": "x86_64-linux",
- "group": "emscripten",
- "priority": 5
- },
{
"attr_path": "ffmpeg_5",
"broken": false,
@@ -2176,186 +2075,6 @@
"group": "toplevel",
"priority": 5
},
- {
- "attr_path": "freetds",
- "broken": false,
- "derivation": "/nix/store/lxvd3h61g3q781rnppjd0cpgvdk78cx3-freetds-1.4.26.drv",
- "description": "Libraries to natively talk to Microsoft SQL Server and Sybase databases",
- "install_id": "freetds",
- "license": "LGPL-2.0",
- "locked_url": "https://github.com/flox/nixpkgs?rev=2631b0b7abcea6e640ce31cd78ea58910d31e650",
- "name": "freetds-1.4.26",
- "pname": "freetds",
- "rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650",
- "rev_count": 782401,
- "rev_date": "2025-04-12T13:19:24Z",
- "scrape_date": "2025-04-14T01:11:24.988171Z",
- "stabilities": [
- "staging",
- "unstable"
- ],
- "unfree": false,
- "version": "1.4.26",
- "outputs_to_install": [
- "out"
- ],
- "outputs": {
- "out": "/nix/store/bsd8cp4zr23m5p2z3bhfcynkks3n402j-freetds-1.4.26"
- },
- "system": "aarch64-darwin",
- "group": "toplevel",
- "priority": 5
- },
- {
- "attr_path": "freetds",
- "broken": false,
- "derivation": "/nix/store/hkvxpkjhrg9bh7yyngvwhzn7sx4r734v-freetds-1.4.26.drv",
- "description": "Libraries to natively talk to Microsoft SQL Server and Sybase databases",
- "install_id": "freetds",
- "license": "LGPL-2.0",
- "locked_url": "https://github.com/flox/nixpkgs?rev=2631b0b7abcea6e640ce31cd78ea58910d31e650",
- "name": "freetds-1.4.26",
- "pname": "freetds",
- "rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650",
- "rev_count": 782401,
- "rev_date": "2025-04-12T13:19:24Z",
- "scrape_date": "2025-04-14T01:28:03.733799Z",
- "stabilities": [
- "staging",
- "unstable"
- ],
- "unfree": false,
- "version": "1.4.26",
- "outputs_to_install": [
- "out"
- ],
- "outputs": {
- "out": "/nix/store/cz80mps4fccn86lq0i6dva2x6s6ipbnd-freetds-1.4.26"
- },
- "system": "aarch64-linux",
- "group": "toplevel",
- "priority": 5
- },
- {
- "attr_path": "freetds",
- "broken": false,
- "derivation": "/nix/store/0s88nj1c8lyks5zvdggdl96ar5pbr7ry-freetds-1.4.26.drv",
- "description": "Libraries to natively talk to Microsoft SQL Server and Sybase databases",
- "install_id": "freetds",
- "license": "LGPL-2.0",
- "locked_url": "https://github.com/flox/nixpkgs?rev=2631b0b7abcea6e640ce31cd78ea58910d31e650",
- "name": "freetds-1.4.26",
- "pname": "freetds",
- "rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650",
- "rev_count": 782401,
- "rev_date": "2025-04-12T13:19:24Z",
- "scrape_date": "2025-04-14T02:01:52.665138Z",
- "stabilities": [
- "staging",
- "unstable"
- ],
- "unfree": false,
- "version": "1.4.26",
- "outputs_to_install": [
- "out"
- ],
- "outputs": {
- "out": "/nix/store/z688jxya32ixam8y8kz82sw7zgamf92p-freetds-1.4.26"
- },
- "system": "x86_64-linux",
- "group": "toplevel",
- "priority": 5
- },
- {
- "attr_path": "git-lfs",
- "broken": false,
- "derivation": "/nix/store/gbk2jdr23zh3ixh58b38yvawrsbnvk6s-git-lfs-3.6.1.drv",
- "description": "Git extension for versioning large files",
- "install_id": "git-lfs",
- "license": "MIT",
- "locked_url": "https://github.com/flox/nixpkgs?rev=2631b0b7abcea6e640ce31cd78ea58910d31e650",
- "name": "git-lfs-3.6.1",
- "pname": "git-lfs",
- "rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650",
- "rev_count": 782401,
- "rev_date": "2025-04-12T13:19:24Z",
- "scrape_date": "2025-04-14T01:11:25.097187Z",
- "stabilities": [
- "staging",
- "unstable"
- ],
- "unfree": false,
- "version": "3.6.1",
- "outputs_to_install": [
- "out"
- ],
- "outputs": {
- "out": "/nix/store/iv00ymrzmk8q8f67iq2065x9njh256hi-git-lfs-3.6.1"
- },
- "system": "aarch64-darwin",
- "group": "toplevel",
- "priority": 5
- },
- {
- "attr_path": "git-lfs",
- "broken": false,
- "derivation": "/nix/store/k043pn9psli4bc2rn2jllz2vg3g17r1h-git-lfs-3.6.1.drv",
- "description": "Git extension for versioning large files",
- "install_id": "git-lfs",
- "license": "MIT",
- "locked_url": "https://github.com/flox/nixpkgs?rev=2631b0b7abcea6e640ce31cd78ea58910d31e650",
- "name": "git-lfs-3.6.1",
- "pname": "git-lfs",
- "rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650",
- "rev_count": 782401,
- "rev_date": "2025-04-12T13:19:24Z",
- "scrape_date": "2025-04-14T01:28:03.909404Z",
- "stabilities": [
- "staging",
- "unstable"
- ],
- "unfree": false,
- "version": "3.6.1",
- "outputs_to_install": [
- "out"
- ],
- "outputs": {
- "out": "/nix/store/g1sr0palcw94jd93dq72ch6crg0m7mpf-git-lfs-3.6.1"
- },
- "system": "aarch64-linux",
- "group": "toplevel",
- "priority": 5
- },
- {
- "attr_path": "git-lfs",
- "broken": false,
- "derivation": "/nix/store/ar4rpnizr6xicpdbz9xnq21fnzn47pnz-git-lfs-3.6.1.drv",
- "description": "Git extension for versioning large files",
- "install_id": "git-lfs",
- "license": "MIT",
- "locked_url": "https://github.com/flox/nixpkgs?rev=2631b0b7abcea6e640ce31cd78ea58910d31e650",
- "name": "git-lfs-3.6.1",
- "pname": "git-lfs",
- "rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650",
- "rev_count": 782401,
- "rev_date": "2025-04-12T13:19:24Z",
- "scrape_date": "2025-04-14T02:01:52.858167Z",
- "stabilities": [
- "staging",
- "unstable"
- ],
- "unfree": false,
- "version": "3.6.1",
- "outputs_to_install": [
- "out"
- ],
- "outputs": {
- "out": "/nix/store/fxkw93ljlxz5zy9jsn65wyjmlgchxiar-git-lfs-3.6.1"
- },
- "system": "x86_64-linux",
- "group": "toplevel",
- "priority": 5
- },
{
"attr_path": "lld",
"broken": false,
@@ -3419,99 +3138,6 @@
"group": "toplevel",
"priority": 5
},
- {
- "attr_path": "xmlsec",
- "broken": false,
- "derivation": "/nix/store/816nl2i420vmi4ip57l74qdvzg68h643-xmlsec-1.3.7.drv",
- "description": "XML Security Library in C based on libxml2",
- "install_id": "xmlsec",
- "license": "MIT",
- "locked_url": "https://github.com/flox/nixpkgs?rev=2631b0b7abcea6e640ce31cd78ea58910d31e650",
- "name": "xmlsec-1.3.7",
- "pname": "xmlsec",
- "rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650",
- "rev_count": 782401,
- "rev_date": "2025-04-12T13:19:24Z",
- "scrape_date": "2025-04-14T01:12:20.892377Z",
- "stabilities": [
- "staging",
- "unstable"
- ],
- "unfree": false,
- "version": "1.3.7",
- "outputs_to_install": [
- "out"
- ],
- "outputs": {
- "dev": "/nix/store/9vwfr0ll9dbc04chfyaw01j2vdy3r78l-xmlsec-1.3.7-dev",
- "out": "/nix/store/h7x216xj850dj8cw5iwpl0b4x0vwc965-xmlsec-1.3.7"
- },
- "system": "aarch64-darwin",
- "group": "toplevel",
- "priority": 5
- },
- {
- "attr_path": "xmlsec",
- "broken": false,
- "derivation": "/nix/store/ys0pf8cqrhvx8cbqdxwcwyf10rvsmmch-xmlsec-1.3.7.drv",
- "description": "XML Security Library in C based on libxml2",
- "install_id": "xmlsec",
- "license": "MIT",
- "locked_url": "https://github.com/flox/nixpkgs?rev=2631b0b7abcea6e640ce31cd78ea58910d31e650",
- "name": "xmlsec-1.3.7",
- "pname": "xmlsec",
- "rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650",
- "rev_count": 782401,
- "rev_date": "2025-04-12T13:19:24Z",
- "scrape_date": "2025-04-14T01:29:32.672990Z",
- "stabilities": [
- "staging",
- "unstable"
- ],
- "unfree": false,
- "version": "1.3.7",
- "outputs_to_install": [
- "out"
- ],
- "outputs": {
- "dev": "/nix/store/85gkyj9kmdwy6137vn1vv7876njzvcxk-xmlsec-1.3.7-dev",
- "out": "/nix/store/w0gaz5nka2dfpk04lfncbw2l5qpci53r-xmlsec-1.3.7"
- },
- "system": "aarch64-linux",
- "group": "toplevel",
- "priority": 5
- },
- {
- "attr_path": "xmlsec",
- "broken": false,
- "derivation": "/nix/store/8cfashfss16lz0s3kv24aikhai8kssv3-xmlsec-1.3.7.drv",
- "description": "XML Security Library in C based on libxml2",
- "install_id": "xmlsec",
- "license": "MIT",
- "locked_url": "https://github.com/flox/nixpkgs?rev=2631b0b7abcea6e640ce31cd78ea58910d31e650",
- "name": "xmlsec-1.3.7",
- "pname": "xmlsec",
- "rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650",
- "rev_count": 782401,
- "rev_date": "2025-04-12T13:19:24Z",
- "scrape_date": "2025-04-14T02:03:28.485075Z",
- "stabilities": [
- "staging",
- "unstable"
- ],
- "unfree": false,
- "version": "1.3.7",
- "outputs_to_install": [
- "out"
- ],
- "outputs": {
- "dev": "/nix/store/pykwarjz8l1407z9x379k63ipiirklrd-xmlsec-1.3.7-dev",
- "out": "/nix/store/y4c3g99yydqsd6pg083fzx626m8md0km-xmlsec-1.3.7"
- },
- "system": "x86_64-linux",
- "group": "toplevel",
- "priority": 5
- },
{
"attr_path": "uv",
"broken": false,
diff --git a/.flox/env/manifest.toml b/.flox/env/manifest.toml
index fe0790f02ff2..b33d5c29c811 100644
--- a/.flox/env/manifest.toml
+++ b/.flox/env/manifest.toml
@@ -19,8 +19,6 @@ minimum-cli-version = "1.18.2"
[install]
# Python - Python itself is installed on activation via `uv sync`
uv = { pkg-path = "flox/uv", pkg-group = "uv", version = "^0.13.4" }
-xmlsec = { pkg-path = "xmlsec", version = "1.3.7" }
-freetds = { pkg-path = "freetds" } # For pymssql
# Node
nodejs = { pkg-path = "nodejs_24", pkg-group = "nodejs", version = "24.13.0" } # Same maj.min ver as in Dockerfile; diverges from patch ver
# Set a lower priority on corepack so it takes precedence over nodejs (both bundle pnpm)
@@ -48,7 +46,6 @@ go = { pkg-path = "go", version = "1.26.4", pkg-group = "go" }
golangci-lint = { pkg-path = "golangci-lint", pkg-group = "go" }
air = { pkg-path = "air" }
# CLI tools
-git-lfs = { pkg-path = "git-lfs" }
ripgrep = { pkg-path = "ripgrep" }
mprocs = { pkg-path = "mprocs" }
util-linux = { pkg-path = "util-linux" } # flock
@@ -59,7 +56,6 @@ ffmpeg = { pkg-path = "ffmpeg_5", version = "5.1.4", pkg-group = "ffmpeg" }
protobuf = { pkg-path = "protobuf" } # protoc compiler for gRPC code generation
ninja.pkg-path = "ninja"
emscripten = { pkg-path = "emscripten", pkg-group = "emscripten", version = "4.0.23" }
-libpthread-stubs = { pkg-path = "libpthread-stubs", pkg-group = "emscripten" }
watchman = { pkg-path = "watchman" } # Fast file watching for Django/Celery autoreload (uses pywatchman)
trunk-io = { pkg-path = "trunk-io", version = "^1.3.4" } # Launcher for the Trunk merge queue CLI; the CLI version itself is pinned in .trunk/trunk.yaml
# depot-cli has its own group because the toplevel group's version pins cannot resolve with it.
diff --git a/.flox/env/on-activate.sh b/.flox/env/on-activate.sh
index 39bbad42f61f..d8f9ea844043 100755
--- a/.flox/env/on-activate.sh
+++ b/.flox/env/on-activate.sh
@@ -353,63 +353,6 @@ _ACTIVATION_TMPFILES+=("$_BG_PHROCS_LOG")
_BG_PHROCS_PID=$!
_BG_PHROCS_START=$(date +%s)
-# CodeRabbit CLI, downloaded from the vendor's release server. The flox catalog
-# build omits x86_64-darwin, and the vendor install script edits the user's shell
-# profile, so neither is used. One store per machine and version serves every
-# checkout, and the venv symlink in Step 2b resolves each worktree's own pin.
-# A failed install must not break activation: the CLI is only needed at PR-open
-# time, and the reviewing-with-coderabbit skill opens the PR without it.
-_CODERABBIT_VERSION="0.8.0"
-_CODERABBIT_STORE="$HOME/.config/posthog/tools/coderabbit/$_CODERABBIT_VERSION"
-_CODERABBIT_BIN="$_CODERABBIT_STORE/coderabbit"
-
-# Release asset suffix for this host, empty when the host cannot install it.
-# Digests come from https://cli.coderabbit.ai/releases/<version>/SHA256SUMS.
-_CODERABBIT_PLATFORM=""
-_CODERABBIT_SHA256=""
-if command -v unzip >/dev/null 2>&1; then
- case "$(uname -s)-$(uname -m)" in
- Darwin-arm64)
- _CODERABBIT_PLATFORM="darwin-arm64"
- _CODERABBIT_SHA256="748271195b85cc245613f2affabacd4189c721f3839fb14d3efceccffdb382f5" ;;
- Darwin-x86_64)
- _CODERABBIT_PLATFORM="darwin-x64"
- _CODERABBIT_SHA256="ccebc6335fd7fe0bbe2ad595aa57f684890551ff03114c8cc2403952d9c7ac52" ;;
- Linux-aarch64 | Linux-arm64)
- _CODERABBIT_PLATFORM="linux-arm64"
- _CODERABBIT_SHA256="570fd0569239371de6b7cb1004c760052c507d1fbb3189b692988d7f3804ee6d" ;;
- Linux-x86_64 | Linux-amd64)
- _CODERABBIT_PLATFORM="linux-x64"
- _CODERABBIT_SHA256="e60aa408266c3e2350aae890b239ab8d1c12b3f607f4475e1c2ddd4529af1d71" ;;
- esac
-fi
-
-_install_coderabbit() {
- mkdir -p "$_CODERABBIT_STORE"
- # A temp dir inside the store keeps the final mv an atomic rename, so a
- # concurrent or interrupted install never leaves a partial binary behind.
- tmp=$(mktemp -d "$_CODERABBIT_STORE/.tmp.XXXXXX")
- trap 'rm -rf "$tmp"' EXIT
- # The release path carries no leading "v", unlike the vendor script's example.
- curl -fsSL --connect-timeout 10 --max-time 300 \
- "https://cli.coderabbit.ai/releases/$_CODERABBIT_VERSION/coderabbit-$_CODERABBIT_PLATFORM.zip" \
- -o "$tmp/coderabbit.zip"
- [[ "$(_sha256_file "$tmp/coderabbit.zip")" == "$_CODERABBIT_SHA256" ]]
- unzip -qo "$tmp/coderabbit.zip" -d "$tmp"
- chmod +x "$tmp/coderabbit"
- mv -f "$tmp/coderabbit" "$_CODERABBIT_BIN"
-}
-
-_CODERABBIT_SKIP=0
-[[ -x "$_CODERABBIT_BIN" ]] && _CODERABBIT_SKIP=1
-if [[ "$_CODERABBIT_SKIP" -eq 0 && -n "$_CODERABBIT_PLATFORM" ]]; then
- _BG_CODERABBIT_LOG=$(mktemp)
- _ACTIVATION_TMPFILES+=("$_BG_CODERABBIT_LOG")
- ( _install_coderabbit ) >"$_BG_CODERABBIT_LOG" 2>&1 &
- _BG_CODERABBIT_PID=$!
- _BG_CODERABBIT_START=$(date +%s)
-fi
-
# ── Step 1: Python packages (must run before hogli — it needs Click) ─
if [[ "$_UV_SKIP" -eq 1 ]]; then
done_step "Python packages (cached)"
@@ -458,20 +401,6 @@ else
wait_bg_step "Node packages" "$_BG_PNPM_PID" "$_BG_PNPM_START" "$_BG_PNPM_LOG"
fi
-# ── Step 2b: CodeRabbit CLI (reap; launched above with the other jobs) ──
-if [[ "$_CODERABBIT_SKIP" -eq 1 ]]; then
- done_step "CodeRabbit CLI (cached)"
-elif [[ -z "$_CODERABBIT_PLATFORM" ]]; then
- warn_step "CodeRabbit CLI skipped ${C_DIM}(no release for this host, or unzip is missing)${C_RESET}"
-else
- wait_bg_step "CodeRabbit CLI" "$_BG_CODERABBIT_PID" "$_BG_CODERABBIT_START" "$_BG_CODERABBIT_LOG" \
- || warn_step "CodeRabbit CLI install failed ${C_DIM}(reviews skip until it installs)${C_RESET}"
-fi
-if [[ -x "$_CODERABBIT_BIN" && -d "$UV_PROJECT_ENVIRONMENT/bin" ]]; then
- ln -sf "$_CODERABBIT_BIN" "$UV_PROJECT_ENVIRONMENT/bin/coderabbit"
- ln -sf "$_CODERABBIT_BIN" "$UV_PROJECT_ENVIRONMENT/bin/cr"
-fi
-
# ── Step 3: /etc/hosts ──────────────────────────────────────────────
POSTHOG_HOSTS="127.0.0.1 db redis7 kafka clickhouse clickhouse-coordinator objectstorage seaweedfs temporal # posthog"
if grep -qF "$POSTHOG_HOSTS" /etc/hosts; then