SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
ci: restore shared go and pnpm caches in integration and e2e jobs (#12369)
Pandeyab91995ee55e
diff --git a/.github/workflows/e2eci.yaml b/.github/workflows/e2eci.yamlindex f044525027..f64b7de730 100644--- a/.github/workflows/e2eci.yaml+++ b/.github/workflows/e2eci.yaml@@ -75,6 +75,30 @@ jobs:docker rm pwecho "PLAYWRIGHT_BROWSERS_PATH=$RUNNER_TEMP/ms-playwright" >> "$GITHUB_ENV"cd tests/e2e && pnpm playwright install-deps ${{ matrix.project }}+ # Restore-only: the cacheci workflow owns cache saves. Seeds the+ # BuildKit cache mounts so the in-test image build is incremental.+ - name: restore+ id: restore+ uses: actions/cache/restore@v4+ with:+ path: ${{ runner.temp }}/cacheci+ key: tests-primary+ restore-keys: |+ tests-secondary+ - name: inject+ if: steps.restore.outputs.cache-matched-key != ''+ run: |+ cat > "$RUNNER_TEMP/inject.Dockerfile" <<'EOF'+ FROM busybox:1.37+ RUN --mount=type=cache,target=/root/.cache/go-build \+ --mount=type=cache,target=/go/pkg/mod \+ --mount=type=cache,target=/pnpm/store \+ --mount=type=bind,target=/restored \+ tar -xf /restored/go-build.tar -C /root/.cache/go-build && \+ tar -xf /restored/go-mod.tar -C /go/pkg/mod && \+ tar -xf /restored/pnpm-store.tar -C /pnpm/store+ EOF+ docker build -f "$RUNNER_TEMP/inject.Dockerfile" "$RUNNER_TEMP/cacheci"- name: bring-up-stackrun: |cd tests && \diff --git a/.github/workflows/integrationci.yaml b/.github/workflows/integrationci.yamlindex 1147c05edf..c9707dce0e 100644--- a/.github/workflows/integrationci.yaml+++ b/.github/workflows/integrationci.yaml@@ -110,6 +110,30 @@ jobs:sudo mv chromedriver-linux64/chromedriver /usr/local/bin/chromedriverchromedriver -versiongoogle-chrome-stable --version+ # Restore-only: the cacheci workflow owns cache saves. Seeds the+ # BuildKit cache mounts so the in-test image build is incremental.+ - name: restore+ id: restore+ uses: actions/cache/restore@v4+ with:+ path: ${{ runner.temp }}/cacheci+ key: tests-primary+ restore-keys: |+ tests-secondary+ - name: inject+ if: steps.restore.outputs.cache-matched-key != ''+ run: |+ cat > "$RUNNER_TEMP/inject.Dockerfile" <<'EOF'+ FROM busybox:1.37+ RUN --mount=type=cache,target=/root/.cache/go-build \+ --mount=type=cache,target=/go/pkg/mod \+ --mount=type=cache,target=/pnpm/store \+ --mount=type=bind,target=/restored \+ tar -xf /restored/go-build.tar -C /root/.cache/go-build && \+ tar -xf /restored/go-mod.tar -C /go/pkg/mod && \+ tar -xf /restored/pnpm-store.tar -C /pnpm/store+ EOF+ docker build -f "$RUNNER_TEMP/inject.Dockerfile" "$RUNNER_TEMP/cacheci"- name: runrun: |cd tests && \