From 9c325554277ccec2dbed18b46087da951d2e7e9d Mon Sep 17 00:00:00 2001 From: Evgeny Shurakov Date: Wed, 1 Apr 2026 14:14:37 +0200 Subject: [PATCH 1/2] fix(dev): remove -- separator that broke wrangler CLI flags pnpm v10 forwards -- literally to the child process, causing wrangler's yargs parser to treat all subsequent flags (--port, --inspector-port, --ip) as positional arguments. This made --inspector-port silently ignored, falling back to wrangler's default port probing from 9229. --- dev/local/services.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/dev/local/services.ts b/dev/local/services.ts index cfd868e8cc..907a4fe152 100644 --- a/dev/local/services.ts +++ b/dev/local/services.ts @@ -276,7 +276,6 @@ function buildServiceDefs(): ServiceDef[] { 'pnpm', 'run', 'dev', - '--', '--port', String(port), '--inspector-port', From 2f5275b08d03e7a5e9ffcd4a7726ce5b4a728e37 Mon Sep 17 00:00:00 2001 From: Evgeny Shurakov Date: Wed, 1 Apr 2026 14:16:11 +0200 Subject: [PATCH 2/2] fix(dev): skip missing-value keys when computing env sync key changes Keys listed in missingValues have no resolved value yet. Including them in the diff produced spurious 'changed' entries that could overwrite manually-set values with empty strings during env sync. --- dev/local/env-sync/plan.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev/local/env-sync/plan.ts b/dev/local/env-sync/plan.ts index 7e9c46bd3a..d9ec80f9f8 100644 --- a/dev/local/env-sync/plan.ts +++ b/dev/local/env-sync/plan.ts @@ -249,7 +249,9 @@ function computePlan(repoRoot: string, serviceFilter?: Set): EnvSyncPlan if (existingContent !== null) { const oldVars = parseEnvFile(existingContent); + const missingSet = new Set(missingValues); for (const [key, newVal] of resolvedVars) { + if (missingSet.has(key)) continue; const oldVal = oldVars.get(key); if (oldVal !== newVal) { keyChanges.push({ key, oldValue: oldVal, newValue: newVal });