: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(ci): retry canvas builder npm ci on depot (#121204)
Raúl Negrón-Otero644991f64a7f
diff --git a/.depot/workflows/ci-backend.yml b/.depot/workflows/ci-backend.ymlindex afb7f24af2c3..bef755fd5021 100644--- a/.depot/workflows/ci-backend.yml+++ b/.depot/workflows/ci-backend.yml@@ -3263,9 +3263,12 @@ jobs:with:node-version-file: .nvmrctoken: ${{ steps.setup-gh-token.outputs.token || github.token }}+ # A single `npm ci` on an empty npm cache intermittently fails with EEXIST or ENOENT on a+ # `_cacache/tmp` file, with no other process using the cache.- name: Install canvas builder dependenciesif: ${{ needs.changes.outputs.backend == 'true' && matrix.segment == 'Core' }}shell: bash+ retry: 2run: |if [[ -f products/canvas/packages/canvas_builder/package.json ]]; thennpm ci --ignore-scripts --omit=dev --no-audit --no-fund --prefix products/canvas/packages/canvas_builder