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.

revert(ci): drop ineffective fork sccache gating in nodejs jobs (#73467)

Robbie0bf02480cc33
diff --git a/.github/workflows/ci-nodejs.yml b/.github/workflows/ci-nodejs.yml
index e24ed8bbc532..6d34a1ae01e6 100644
--- a/.github/workflows/ci-nodejs.yml
+++ b/.github/workflows/ci-nodejs.yml
@@ -145,13 +145,10 @@ jobs:
with:
toolchain: 1.91.1
- # for security reasons, external builds (forks) don't use the shared WebDAV cache
- name: Set sccache WebDAV key prefix (Cargo.lock hash)
- if: env.RUNS_ON_INTERNAL_PR == 'true'
run: echo "SCCACHE_WEBDAV_KEY_PREFIX=cargo-${{ hashFiles('rust/Cargo.lock') }}" >> "$GITHUB_ENV"
- name: Install sccache
- if: env.RUNS_ON_INTERNAL_PR == 'true'
uses: ./.github/actions/setup-sccache
- name: Cache Rust dependencies
@@ -201,13 +198,10 @@ jobs:
with:
toolchain: 1.91.1
- # for security reasons, external builds (forks) don't use the shared WebDAV cache
- name: Set sccache WebDAV key prefix (Cargo.lock hash)
- if: env.RUNS_ON_INTERNAL_PR == 'true'
run: echo "SCCACHE_WEBDAV_KEY_PREFIX=cargo-${{ hashFiles('rust/Cargo.lock') }}" >> "$GITHUB_ENV"
- name: Install sccache
- if: env.RUNS_ON_INTERNAL_PR == 'true'
uses: ./.github/actions/setup-sccache
- name: Cache Rust dependencies
@@ -310,13 +304,10 @@ jobs:
with:
toolchain: 1.91.1
- # for security reasons, external builds (forks) don't use the shared WebDAV cache
- name: Set sccache WebDAV key prefix (Cargo.lock hash)
- if: env.RUNS_ON_INTERNAL_PR == 'true'
run: echo "SCCACHE_WEBDAV_KEY_PREFIX=cargo-${{ hashFiles('rust/Cargo.lock') }}" >> "$GITHUB_ENV"
- name: Install sccache
- if: env.RUNS_ON_INTERNAL_PR == 'true'
uses: ./.github/actions/setup-sccache
- name: Cache Rust dependencies
@@ -577,13 +568,10 @@ jobs:
with:
toolchain: 1.91.1
- # for security reasons, external builds (forks) don't use the shared WebDAV cache
- name: Set sccache WebDAV key prefix (Cargo.lock hash)
- if: env.RUNS_ON_INTERNAL_PR == 'true'
run: echo "SCCACHE_WEBDAV_KEY_PREFIX=cargo-${{ hashFiles('rust/Cargo.lock') }}" >> "$GITHUB_ENV"
- name: Install sccache
- if: env.RUNS_ON_INTERNAL_PR == 'true'
uses: ./.github/actions/setup-sccache
- name: Cache Rust dependencies