From d2dddd0d75482e4ce363771d3f10ec142b6f6677 Mon Sep 17 00:00:00 2001 From: Rahul Varghese Date: Fri, 1 May 2026 10:58:23 +0530 Subject: [PATCH] fix(cloudflare-worker): accept wrangler.toml alongside wrangler.jsonc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The verify-worker-structure step previously required wrangler.jsonc exclusively. Some workers — including orun-backend — use wrangler.toml (the original TOML format). Accept either file so the composition works with both config formats. The check now runs: test -f wrangler.jsonc || test -f wrangler.toml This is a non-breaking change: repos already using wrangler.jsonc continue to work exactly as before. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- compositions/cloudflare-worker/compositions.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compositions/cloudflare-worker/compositions.yaml b/compositions/cloudflare-worker/compositions.yaml index e1e8bff..a760d2b 100644 --- a/compositions/cloudflare-worker/compositions.yaml +++ b/compositions/cloudflare-worker/compositions.yaml @@ -81,7 +81,7 @@ spec: shell: bash run: | test -f package.json - test -f wrangler.jsonc + test -f wrangler.jsonc || test -f wrangler.toml onFailure: stop - name: build-worker run: "{{.buildCommand}}"