Skip to content

ci: work around actions/cache windows flakiness - #8584

Merged
rochdev merged 1 commit into
masterfrom
rochdev/ci-windows-cache-retry
May 21, 2026
Merged

rochdev merged 1 commit into
masterfrom
rochdev/ci-windows-cache-retry

Conversation

@rochdev

@rochdev rochdev commented May 20, 2026

Copy link
Copy Markdown
Member

What does this PR do?

Work around actions/cache#1754, an open upstream bug where @actions/cache silently exits non-zero on Windows during cache restore — failing whichever step triggered the restore with no error output, ~0.6s in.

Two changes:

  1. ./.github/actions/node — split the implementation into node/setup/ and turn node/action.yml into a thin wrapper that calls setup with continue-on-error: true, then retries once if it failed. Covers all three places we hit the bug inside the composite: setup-node's tool cache, our node-version-cache step, and setup-bun's internal cache restore. Public interface is unchanged, so every caller (including node/latest, node/active-lts, etc.) transparently gets the retry.

  2. ./.github/actions/datadog-ci — drop the actions/cache step entirely. @datadog/datadog-ci is a bundled package with no transitive deps; the install is fast enough that the cache wasn't pulling much weight, and it directly exposed us to the same bug. The existing yarn install || (sleep 30 && yarn install) retry remains.

Motivation

tracing-windows (in APM Capabilities) and other Windows jobs have been failing intermittently for a while. The failure is silent — the job goes red with no actionable error in the log. Comparing a failing first attempt vs. a successful retry on the same PR confirmed the bug is the upstream actions/cache Windows flakiness reported May 8, affecting multiple unrelated projects (RustPython, f3d-app, etc.). Until there's an upstream fix, retrying is the cleanest workaround.

Additional Notes

  • Retry runs immediately after the first failure. actions/cache#1754 describes the failure as "randomly dies" rather than state-correlated, so an immediate retry should succeed almost always. If it doesn't, the setup-bun existsSync(bunPath) short-circuit means a second attempt skips its restoreCache entirely when bun was at least partially installed on the first pass.
  • The runner agent itself stays alive across the failure — only the action's Node.js process exits. Subsequent steps with if: failure() / if: always() ran in the failing job, confirming the runner is unaffected.

🤖 Generated with Claude Code

@datadog-official

datadog-official Bot commented May 20, 2026 •

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
• Patch Coverage: 100.00%
• Overall Coverage: 85.64% (-0.00%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 7122f03 | Docs | Datadog PR Page | Give us feedback!

@dd-octo-sts

dd-octo-sts Bot commented May 20, 2026 •

Copy link
Copy Markdown
Contributor

Overall package size

Self size: 5.84 MB
Deduped: 6.88 MB
No deduping: 6.88 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.0.1 | 82.56 kB | 817.39 kB | | opentracing | 0.14.7 | 194.81 kB | 194.81 kB | | dc-polyfill | 0.1.11 | 25.74 kB | 25.74 kB |

🤖 This report was automatically generated by heaviest-objects-in-the-universe

@codecov

codecov Bot commented May 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.87%. Comparing base (526a218) to head (7122f03).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8584   +/-   ##
=======================================
  Coverage   89.87%   89.87%           
=======================================
  Files         844      844           
  Lines       45713    45713           
  Branches     8518     8517    -1     
=======================================
+ Hits        41085    41086    +1     
+ Misses       4628     4627    -1     
Flag Coverage Δ
aiguard-integration-active 41.29% <ø> (ø)
aiguard-integration-latest 41.24% <ø> (ø)
aiguard-integration-maintenance 41.29% <ø> (ø)
aiguard-macos 34.99% <ø> (-0.09%) ⬇️
aiguard-ubuntu 35.09% <ø> (-0.09%) ⬇️
aiguard-windows 34.85% <ø> (-0.09%) ⬇️
apm-capabilities-tracing-macos 49.08% <ø> (ø)
apm-capabilities-tracing-ubuntu-active 49.11% <ø> (-0.18%) ⬇️
apm-capabilities-tracing-ubuntu-latest 49.08% <ø> (ø)
apm-capabilities-tracing-ubuntu-maintenance ?
apm-capabilities-tracing-ubuntu-oldest 49.27% <ø> (ø)
apm-capabilities-tracing-windows 49.07% <ø> (+0.04%) ⬆️
apm-integrations-aerospike-18-gte.5.2.0 34.43% <ø> (-0.09%) ⬇️
apm-integrations-aerospike-20-gte.5.5.0 34.45% <ø> (-0.09%) ⬇️
apm-integrations-aerospike-22-gte.5.12.1 34.45% <ø> (-0.09%) ⬇️
apm-integrations-aerospike-22-gte.6.0.0 34.45% <ø> (-0.09%) ⬇️
apm-integrations-aerospike-eol- 34.36% <ø> (-0.09%) ⬇️
apm-integrations-child-process 35.50% <ø> (-0.09%) ⬇️
apm-integrations-confluentinc-kafka-javascript-18 41.31% <ø> (-0.09%) ⬇️
apm-integrations-confluentinc-kafka-javascript-20 41.33% <ø> (-0.09%) ⬇️
apm-integrations-confluentinc-kafka-javascript-22 41.33% <ø> (-0.09%) ⬇️
apm-integrations-confluentinc-kafka-javascript-24 41.26% <ø> (-0.09%) ⬇️
apm-integrations-couchbase-18 34.47% <ø> (-0.30%) ⬇️
apm-integrations-couchbase-eol 34.50% <ø> (-0.09%) ⬇️
apm-integrations-dns 34.28% <ø> (-0.09%) ⬇️
apm-integrations-elasticsearch 35.21% <ø> (-0.08%) ⬇️
apm-integrations-http-latest 42.27% <ø> (-0.08%) ⬇️
apm-integrations-http-maintenance 42.33% <ø> (-0.08%) ⬇️
apm-integrations-http-oldest 42.33% <ø> (-0.08%) ⬇️
apm-integrations-http2 39.49% <ø> (-0.22%) ⬇️
apm-integrations-kafkajs-latest 41.02% <ø> (-0.09%) ⬇️
apm-integrations-kafkajs-oldest 41.07% <ø> (-0.09%) ⬇️
apm-integrations-net 35.17% <ø> (-0.09%) ⬇️
apm-integrations-next-11.1.4 29.24% <ø> (-0.06%) ⬇️
apm-integrations-next-12.3.7 30.86% <ø> (-0.08%) ⬇️
apm-integrations-next-13.0.0 30.86% <ø> (-0.08%) ⬇️
apm-integrations-next-13.2.0 30.88% <ø> (-0.06%) ⬇️
apm-integrations-next-13.5.11 30.99% <ø> (-0.08%) ⬇️
apm-integrations-next-14.0.0 30.92% <ø> (-0.08%) ⬇️
apm-integrations-next-14.2.35 30.92% <ø> (-0.11%) ⬇️
apm-integrations-next-14.2.6 30.92% <ø> (-0.08%) ⬇️
apm-integrations-next-14.2.7 30.92% <ø> (-0.08%) ⬇️
apm-integrations-next-15.0.0 30.92% <ø> (-0.08%) ⬇️
apm-integrations-next-15.4.0 30.99% <ø> (-0.11%) ⬇️
apm-integrations-oracledb 34.77% <ø> (-0.08%) ⬇️
apm-integrations-prisma-18-gte.6.16.0.and.lt.7.0.0 36.73% <ø> (-0.08%) ⬇️
apm-integrations-prisma-latest-all 35.54% <ø> (-0.08%) ⬇️
apm-integrations-restify 36.58% <ø> (-0.21%) ⬇️
apm-integrations-sharedb 34.00% <ø> (-0.09%) ⬇️
apm-integrations-tedious 34.57% <ø> (-0.08%) ⬇️
appsec-express 52.15% <ø> (-0.07%) ⬇️
appsec-fastify 48.91% <ø> (-0.07%) ⬇️
appsec-graphql 48.98% <ø> (-0.06%) ⬇️
appsec-integration-active 37.09% <ø> (ø)
appsec-integration-latest 37.07% <ø> (ø)
appsec-integration-maintenance 37.10% <ø> (ø)
appsec-integration-oldest 37.10% <ø> (ø)
appsec-kafka 41.60% <ø> (-0.08%) ⬇️
appsec-ldapjs 40.90% <ø> (-0.07%) ⬇️
appsec-lodash 40.97% <ø> (-0.07%) ⬇️
appsec-macos 58.17% <ø> (-0.15%) ⬇️
appsec-mongodb-core 45.45% <ø> (-0.07%) ⬇️
appsec-mongoose 46.34% <ø> (-0.07%) ⬇️
appsec-mysql 48.22% <ø> (-0.07%) ⬇️
appsec-next-latest-11.1.4 29.34% <ø> (-0.09%) ⬇️
appsec-next-latest-12.3.7 30.99% <ø> (-0.08%) ⬇️
appsec-next-latest-13.0.0 30.99% <ø> (-0.08%) ⬇️
appsec-next-latest-13.2.0 31.01% <ø> (-0.08%) ⬇️
appsec-next-latest-13.5.11 31.08% <ø> (-0.08%) ⬇️
appsec-next-latest-14.0.0 31.02% <ø> (-0.08%) ⬇️
appsec-next-latest-14.2.35 31.02% <ø> (-0.08%) ⬇️
appsec-next-latest-14.2.6 31.02% <ø> (-0.08%) ⬇️
appsec-next-latest-14.2.7 31.02% <ø> (-0.08%) ⬇️
appsec-next-latest-15.0.0 31.02% <ø> (-0.08%) ⬇️
appsec-next-latest-latest 31.03% <ø> (-0.08%) ⬇️
appsec-next-oldest-11.1.4 29.36% <ø> (-0.08%) ⬇️
appsec-next-oldest-12.3.7 31.01% <ø> (-0.08%) ⬇️
appsec-next-oldest-13.0.0 31.01% <ø> (-0.08%) ⬇️
appsec-next-oldest-13.2.0 31.29% <ø> (-0.08%) ⬇️
appsec-next-oldest-13.5.11 31.37% <ø> (-0.08%) ⬇️
appsec-next-oldest-14.0.0 31.32% <ø> (-0.08%) ⬇️
appsec-next-oldest-14.2.35 31.32% <ø> (-0.08%) ⬇️
appsec-next-oldest-14.2.6 31.32% <ø> (-0.08%) ⬇️
appsec-next-oldest-14.2.7 31.32% <ø> (-0.08%) ⬇️
appsec-next-oldest-15.0.0 31.32% <ø> (-0.08%) ⬇️
appsec-next-oldest-latest 30.03% <ø> (ø)
appsec-node-serialize 40.19% <ø> (-0.07%) ⬇️
appsec-passport 44.02% <ø> (-0.08%) ⬇️
appsec-postgres 47.90% <ø> (-0.07%) ⬇️
appsec-sourcing 39.59% <ø> (-0.07%) ⬇️
appsec-stripe 41.82% <ø> (-0.07%) ⬇️
appsec-template 40.45% <ø> (-0.07%) ⬇️
appsec-ubuntu 58.24% <ø> (-0.07%) ⬇️
appsec-windows 58.14% <ø> (ø)
debugger-ubuntu-active 43.33% <ø> (ø)
debugger-ubuntu-latest 43.28% <ø> (ø)
debugger-ubuntu-maintenance 43.35% <ø> (ø)
debugger-ubuntu-oldest 43.78% <ø> (ø)
instrumentations-instrumentation-ai 38.51% <ø> (ø)
instrumentations-instrumentation-aws-sdk 37.80% <ø> (ø)
instrumentations-instrumentation-bluebird 29.36% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-body-parser 37.16% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-child_process 34.90% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-cookie-parser 31.26% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-couchbase-18 39.43% <ø> (ø)
instrumentations-instrumentation-couchbase-eol 39.43% <ø> (ø)
instrumentations-instrumentation-crypto 29.46% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-express 31.47% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-express-mongo-sanitize 31.38% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-express-multi-version 24.04% <ø> (ø)
instrumentations-instrumentation-express-session 36.85% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-fetch 35.69% <ø> (ø)
instrumentations-instrumentation-fs 29.05% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-generic-pool 28.68% <ø> (ø)
instrumentations-instrumentation-hono 30.42% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-http 36.30% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-http-client-options 38.65% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-knex 29.34% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-light-my-request 36.74% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-mongoose 30.64% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-multer 36.83% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-mysql2 34.90% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-otel-sdk-trace 27.28% <ø> (ø)
instrumentations-instrumentation-passport 40.60% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-passport-http 40.27% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-passport-local 40.75% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-pg 34.45% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-promise 29.30% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-promise-js 29.31% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-q 29.34% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-stripe 29.77% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-url 29.26% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-when 29.32% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-zlib 29.32% <ø> (-0.09%) ⬇️
instrumentations-integration-esbuild-0.16.12-active 19.24% <ø> (ø)
instrumentations-integration-esbuild-0.16.12-latest 19.22% <ø> (ø)
instrumentations-integration-esbuild-0.16.12-maintenance 19.24% <ø> (ø)
instrumentations-integration-esbuild-0.16.12-oldest 19.23% <ø> (ø)
instrumentations-integration-esbuild-latest-active 19.24% <ø> (ø)
instrumentations-integration-esbuild-latest-latest 19.22% <ø> (ø)
instrumentations-integration-esbuild-latest-maintenance 19.24% <ø> (ø)
instrumentations-integration-esbuild-latest-oldest 19.23% <ø> (ø)
llmobs-ai 37.83% <ø> (-0.08%) ⬇️
llmobs-anthropic 37.91% <ø> (-0.08%) ⬇️
llmobs-bedrock 36.54% <ø> (-0.08%) ⬇️
llmobs-google-genai 36.96% <ø> (-0.08%) ⬇️
llmobs-langchain 38.23% <ø> (-0.07%) ⬇️
llmobs-openai-latest 40.47% <ø> (-0.08%) ⬇️
llmobs-openai-oldest 40.52% <ø> (-0.08%) ⬇️
llmobs-sdk-active 45.01% <ø> (-0.09%) ⬇️
llmobs-sdk-latest 44.95% <ø> (-0.09%) ⬇️
llmobs-sdk-maintenance 45.01% <ø> (-0.09%) ⬇️
llmobs-sdk-oldest 45.00% <ø> (-0.09%) ⬇️
llmobs-vertex-ai 36.99% <ø> (-0.08%) ⬇️
master-coverage 89.87% <ø> (?)
openfeature-macos 38.11% <ø> (ø)
openfeature-ubuntu 38.19% <ø> (ø)
openfeature-unit-active 49.27% <ø> (ø)
openfeature-unit-latest 49.11% <ø> (ø)
openfeature-unit-maintenance 49.27% <ø> (ø)
openfeature-unit-oldest 49.27% <ø> (ø)
openfeature-windows 37.93% <ø> (-0.06%) ⬇️
platform-core 36.45% <ø> (ø)
platform-esbuild 39.82% <ø> (ø)
platform-instrumentations-misc 31.43% <ø> (ø)
platform-integration-active 47.28% <ø> (+0.01%) ⬆️
platform-integration-latest 47.19% <ø> (-0.05%) ⬇️
platform-integration-maintenance 47.28% <ø> (ø)
platform-integration-oldest 47.45% <ø> (ø)
platform-shimmer 42.26% <ø> (ø)
platform-unit-guardrails 35.42% <ø> (ø)
platform-webpack 20.37% <ø> (ø)
plugins-axios 35.57% <ø> (ø)
plugins-azure-event-hubs 34.90% <ø> (ø)
plugins-azure-service-bus 35.39% <ø> (ø)
plugins-body-parser 36.74% <ø> (ø)
plugins-bullmq 40.14% <ø> (-0.09%) ⬇️
plugins-cassandra 34.82% <ø> (-0.08%) ⬇️
plugins-cookie 27.41% <ø> (ø)
plugins-cookie-parser 27.14% <ø> (ø)
plugins-crypto 27.27% <ø> (ø)
plugins-dd-trace-api 34.72% <ø> (-0.09%) ⬇️
plugins-express-mongo-sanitize 27.32% <ø> (ø)
plugins-express-session 27.09% <ø> (ø)
plugins-fastify 38.89% <ø> (-0.08%) ⬇️
plugins-fetch 35.17% <ø> (-0.08%) ⬇️
plugins-fs 35.15% <ø> (-0.09%) ⬇️
plugins-generic-pool 25.94% <ø> (ø)
plugins-google-cloud-pubsub 42.42% <ø> (-0.08%) ⬇️
plugins-grpc 37.62% <ø> (-0.08%) ⬇️
plugins-handlebars 27.38% <ø> (ø)
plugins-hapi 36.81% <ø> (-0.08%) ⬇️
plugins-hono 37.10% <ø> (-0.08%) ⬇️
plugins-ioredis 35.38% <ø> (-0.09%) ⬇️
plugins-jest 30.41% <ø> (ø)
plugins-knex 26.90% <ø> (ø)
plugins-langgraph 34.56% <ø> (-0.09%) ⬇️
plugins-ldapjs 24.07% <ø> (ø)
plugins-light-my-request 26.57% <ø> (ø)
plugins-limitd-client 29.46% <ø> (-0.22%) ⬇️
plugins-lodash 26.05% <ø> (ø)
plugins-mariadb 36.26% <ø> (-0.09%) ⬇️
plugins-memcached 34.88% <ø> (-0.09%) ⬇️
plugins-microgateway-core 35.93% <ø> (-0.09%) ⬇️
plugins-modelcontextprotocol-sdk 33.83% <ø> (-0.09%) ⬇️
plugins-moleculer 37.64% <ø> (-0.08%) ⬇️
plugins-mongodb 36.29% <ø> (-0.08%) ⬇️
plugins-mongodb-core 35.92% <ø> (-0.09%) ⬇️
plugins-mongoose 35.70% <ø> (-0.08%) ⬇️
plugins-multer 27.09% <ø> (ø)
plugins-mysql 35.61% <ø> (-0.24%) ⬇️
plugins-mysql2 35.91% <ø> (-0.09%) ⬇️
plugins-node-serialize 27.47% <ø> (ø)
plugins-opensearch 34.70% <ø> (-0.08%) ⬇️
plugins-passport-http 27.14% <ø> (ø)
plugins-pino 31.35% <ø> (-0.09%) ⬇️
plugins-postgres 35.58% <ø> (-0.09%) ⬇️
plugins-process 27.27% <ø> (ø)
plugins-pug 27.41% <ø> (ø)
plugins-redis 35.42% <ø> (-0.03%) ⬇️
plugins-router 39.29% <ø> (-0.21%) ⬇️
plugins-sequelize 25.64% <ø> (ø)
plugins-test-and-upstream-amqp10 34.95% <ø> (-0.22%) ⬇️
plugins-test-and-upstream-amqplib 40.17% <ø> (-0.22%) ⬇️
plugins-test-and-upstream-apollo 36.06% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-avsc 35.28% <ø> (-0.09%) ⬇️
plugins-test-and-upstream-bunyan 30.73% <ø> (-0.09%) ⬇️
plugins-test-and-upstream-connect 37.50% <ø> (-0.09%) ⬇️
plugins-test-and-upstream-graphql 37.12% <ø> (-0.09%) ⬇️
plugins-test-and-upstream-koa 37.08% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-protobufjs 35.49% <ø> (-0.09%) ⬇️
plugins-test-and-upstream-rhea 40.26% <ø> (-0.09%) ⬇️
plugins-undici 35.74% <ø> (-0.08%) ⬇️
plugins-url 27.27% <ø> (ø)
plugins-valkey 34.88% <ø> (-0.24%) ⬇️
plugins-vm 27.27% <ø> (ø)
plugins-winston 31.24% <ø> (-0.09%) ⬇️
plugins-ws 38.25% <ø> (-0.08%) ⬇️
profiling-macos 42.81% <ø> (-0.07%) ⬇️
profiling-ubuntu 43.22% <ø> (-0.07%) ⬇️
profiling-windows 40.11% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-aws-sdk 34.48% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-bedrockruntime 33.09% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-client 21.74% <ø> (ø)
serverless-aws-sdk-latest-dynamodb 35.51% <ø> (-0.03%) ⬇️
serverless-aws-sdk-latest-eventbridge 28.61% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-kinesis 38.61% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-lambda 36.04% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-s3 33.99% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-serverless-peer-service 40.65% <ø> (-0.09%) ⬇️
serverless-aws-sdk-latest-sns 39.71% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-sqs 39.21% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-stepfunctions 34.66% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-util 48.38% <ø> (ø)
serverless-aws-sdk-oldest-aws-sdk 34.57% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-bedrockruntime 33.36% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-client 22.22% <ø> (ø)
serverless-aws-sdk-oldest-dynamodb 35.53% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-eventbridge 28.66% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-kinesis 38.74% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-lambda 36.12% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-s3 34.06% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-serverless-peer-service 40.71% <ø> (-0.09%) ⬇️
serverless-aws-sdk-oldest-sns 39.79% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-sqs 39.10% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-stepfunctions 34.73% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-util 48.68% <ø> (ø)
serverless-azure-durable-functions 36.91% <ø> (ø)
serverless-azure-functions-eventhubs 38.54% <ø> (ø)
serverless-azure-functions-servicebus 38.60% <ø> (ø)
serverless-lambda 36.09% <ø> (-0.10%) ⬇️
test-optimization-cucumber-latest-7.0.0 50.31% <ø> (+0.01%) ⬆️
test-optimization-cucumber-latest-latest 53.18% <ø> (+0.12%) ⬆️
test-optimization-cucumber-oldest-7.0.0 50.34% <ø> (+0.12%) ⬆️
test-optimization-cypress-latest-12.0.0-commonJS 48.78% <ø> (+3.44%) ⬆️
test-optimization-cypress-latest-12.0.0-esm 48.81% <ø> (+0.07%) ⬆️
test-optimization-cypress-latest-14.5.4-commonJS 48.63% <ø> (+0.07%) ⬆️
test-optimization-cypress-latest-14.5.4-esm 47.33% <ø> (-1.26%) ⬇️
test-optimization-cypress-latest-latest-commonJS 49.12% <ø> (+0.07%) ⬆️
test-optimization-cypress-latest-latest-esm 49.15% <ø> (+0.07%) ⬆️
test-optimization-cypress-oldest-12.0.0-commonJS 48.82% <ø> (+0.07%) ⬆️
test-optimization-cypress-oldest-12.0.0-esm 48.72% <ø> (-0.06%) ⬇️
test-optimization-cypress-oldest-14.5.4-commonJS 48.66% <ø> (+0.07%) ⬆️
test-optimization-cypress-oldest-14.5.4-esm 48.69% <ø> (+0.07%) ⬆️
test-optimization-jest-latest-latest 54.76% <ø> (+0.08%) ⬆️
test-optimization-jest-latest-oldest 53.60% <ø> (+0.05%) ⬆️
test-optimization-jest-oldest-latest 54.77% <ø> (+0.08%) ⬆️
test-optimization-jest-oldest-oldest 53.56% <ø> (+0.08%) ⬆️
test-optimization-mocha-latest-latest 53.61% <ø> (+0.08%) ⬆️
test-optimization-mocha-latest-oldest 51.27% <ø> (+0.08%) ⬆️
test-optimization-mocha-oldest-latest 53.67% <ø> (+0.08%) ⬆️
test-optimization-mocha-oldest-oldest 51.21% <ø> (+0.08%) ⬆️
test-optimization-playwright-latest-latest-playwright-active-test-span 44.34% <ø> (+0.28%) ⬆️
test-optimization-playwright-latest-latest-playwright-atr 43.12% <ø> (+0.11%) ⬆️
test-optimization-playwright-latest-latest-playwright-efd 43.54% <ø> (+0.09%) ⬆️
test-optimization-playwright-latest-latest-playwright-final-status 43.57% <ø> (+0.11%) ⬆️
test-optimization-playwright-latest-latest-playwright-impacted-tests 43.05% <ø> (ø)
test-optimization-playwright-latest-latest-playwright-reporting 43.00% <ø> (+0.09%) ⬆️
test-optimization-playwright-latest-latest-playwright-test-management 44.77% <ø> (+0.10%) ⬆️
test-optimization-playwright-latest-oldest-playwright-active-test-span 44.41% <ø> (+0.28%) ⬆️
test-optimization-playwright-latest-oldest-playwright-atr 43.33% <ø> (+0.11%) ⬆️
test-optimization-playwright-latest-oldest-playwright-efd 43.60% <ø> (+0.09%) ⬆️
test-optimization-playwright-latest-oldest-playwright-final-status 43.65% <ø> (+0.11%) ⬆️
test-optimization-playwright-latest-oldest-playwright-impacted-tests 43.10% <ø> (ø)
test-optimization-playwright-latest-oldest-playwright-reporting 43.08% <ø> (+0.09%) ⬆️
test-optimization-playwright-latest-oldest-playwright-test-management 44.85% <ø> (+0.10%) ⬆️
test-optimization-playwright-oldest-latest-playwright-active-test-span 44.35% <ø> (+0.25%) ⬆️
test-optimization-playwright-oldest-latest-playwright-atr 43.15% <ø> (+0.11%) ⬆️
test-optimization-playwright-oldest-latest-playwright-efd 43.55% <ø> (+0.06%) ⬆️
test-optimization-playwright-oldest-latest-playwright-final-status 43.61% <ø> (+0.11%) ⬆️
test-optimization-playwright-oldest-latest-playwright-impacted-tests 43.09% <ø> (ø)
test-optimization-playwright-oldest-latest-playwright-reporting 43.02% <ø> (+0.09%) ⬆️
test-optimization-playwright-oldest-latest-playwright-test-management 44.79% <ø> (+0.10%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-active-test-span 44.44% <ø> (+0.28%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-atr 43.37% <ø> (+0.11%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-efd 43.61% <ø> (?)
test-optimization-playwright-oldest-oldest-playwright-final-status 43.67% <ø> (+0.11%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-impacted-tests 43.14% <ø> (ø)
test-optimization-playwright-oldest-oldest-playwright-reporting 43.09% <ø> (+0.09%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-test-management 44.86% <ø> (+0.10%) ⬆️
test-optimization-selenium-latest 45.55% <ø> (+0.07%) ⬆️
test-optimization-selenium-oldest 45.12% <ø> (+0.07%) ⬆️
test-optimization-testopt-active 46.94% <ø> (+0.13%) ⬆️
test-optimization-testopt-latest 46.91% <ø> (+0.13%) ⬆️
test-optimization-testopt-maintenance 46.94% <ø> (+0.13%) ⬆️
test-optimization-testopt-oldest 47.82% <ø> (+0.14%) ⬆️
test-optimization-vitest-latest 51.20% <ø> (+0.10%) ⬆️
test-optimization-vitest-oldest 48.29% <ø> (+0.33%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pr-commenter

pr-commenter Bot commented May 20, 2026 •

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-05-21 22:48:46

Comparing candidate commit 7122f03 in PR branch rochdev/ci-windows-cache-retry with baseline commit 526a218 in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 1499 metrics, 94 unstable metrics.

@rochdev
rochdev marked this pull request as ready for review May 21, 2026 04:17
@rochdev
rochdev requested a review from a team as a code owner May 21, 2026 04:17
@rochdev
rochdev force-pushed the rochdev/ci-windows-cache-retry branch from e22b34d to 351cc69 Compare May 21, 2026 19:31
Open upstream bug actions/cache#1754: @actions/cache silently exits
non-zero on Windows during cache restore with no error output, failing
the calling step. Symptoms: ~0.6s silent death in setup-bun, setup-node,
or any direct actions/cache use. Affects every job that hits a cold
Windows cache; retrying the job manually almost always succeeds.

- node action: split implementation into node/setup and have node/action
  call it twice (continue-on-error + if failure), so the whole
  composite (setup-node, our version cache, setup-bun) retries once on
  Windows failure. All existing callers and version aliases are
  unchanged.
- datadog-ci action: drop the actions/cache step. @datadog/datadog-ci is
  a bundled package with no transitive deps; the install is fast enough
  that the cache wasn't pulling its weight, and it directly exposed us
  to the same bug.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <[email protected]>
@rochdev
rochdev force-pushed the rochdev/ci-windows-cache-retry branch from 351cc69 to 7122f03 Compare May 21, 2026 22:35
@rochdev
rochdev merged commit 9013e58 into master May 21, 2026
748 checks passed
@rochdev
rochdev deleted the rochdev/ci-windows-cache-retry branch May 21, 2026 22:52
This was referenced May 27, 2026
ngbrown pushed a commit to ngbrown-forks/dd-trace-js that referenced this pull request Aug 4, 2026
Open upstream bug actions/cache#1754: @actions/cache silently exits
non-zero on Windows during cache restore with no error output, failing
the calling step. Symptoms: ~0.6s silent death in setup-bun, setup-node,
or any direct actions/cache use. Affects every job that hits a cold
Windows cache; retrying the job manually almost always succeeds.

- node action: split implementation into node/setup and have node/action
  call it twice (continue-on-error + if failure), so the whole
  composite (setup-node, our version cache, setup-bun) retries once on
  Windows failure. All existing callers and version aliases are
  unchanged.
- datadog-ci action: drop the actions/cache step. @datadog/datadog-ci is
  a bundled package with no transitive deps; the install is fast enough
  that the cache wasn't pulling its weight, and it directly exposed us
  to the same bug.

Co-authored-by: Claude Sonnet 4.6 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants