fix(ci): treat empty E2E_BASE_URL as missing, not as override #94
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/e2e-runner-toolcache"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Forgejo Actions resolves an unset secret to the literal empty string rather than to undefined, so
process.env.E2E_BASE_URL ?? defaultdid not fall back when the secret was not configured. wait-for-deploy.mjs then built a relative/api/v1/versionURL and node's fetch refused it with "Failed to parse URL". Playwright's baseURL had the same bug latent.Replace
??with explicit empty/whitespace checks in both spots so the documentedhttps://msp.a8n.systemsdefault actually applies when the secret is missing.#PMS-140