Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
ci(js-sdk): make the Cloudflare deploy test leg advisory (#1622)
Mish Ushakov86934c779c3a
diff --git a/.github/workflows/js_sdk_tests.yml b/.github/workflows/js_sdk_tests.ymlindex d5725246c..5d718ace6 100644--- a/.github/workflows/js_sdk_tests.yml+++ b/.github/workflows/js_sdk_tests.yml@@ -38,6 +38,16 @@ jobs:&& fromJSON('[{"runtime": "node", "os": "ubuntu-22.04"}, {"runtime": "node", "os": "windows-latest"}]')|| fromJSON('[{"runtime": "node", "os": "ubuntu-22.04"}, {"runtime": "node", "os": "windows-latest"}, {"runtime": "bun", "os": "ubuntu-22.04"}, {"runtime": "deno", "os": "ubuntu-22.04"}, {"runtime": "cloudflare", "os": "ubuntu-22.04"}, {"runtime": "cloudflare-deploy", "os": "ubuntu-22.04"}]') }}runs-on: ${{ matrix.os }}+ # The cloudflare-deploy leg is advisory: it deploys to a brand-new+ # Cloudflare preview account on every run, so it inherits that account's+ # propagation and read-after-write races (the fresh workers.dev subdomain+ # 404s until the route reaches the edge; the subdomain API can 404 the+ # script it just accepted). Those fail ~1 run in 8 without saying anything+ # about the SDK, and this job gates both the required `SDK Tests Status`+ # check and the release workflow's publish step. It still runs and still+ # reports — a genuine bundle regression (e.g. a Workers startup crash) is+ # rejected at upload deterministically, not intermittently.+ continue-on-error: ${{ matrix.runtime == 'cloudflare-deploy' }}steps:- name: Checkout repositoryuses: actions/checkout@v4