stack/apps
Bilal Godil 7539fb9fbf fix(tests): stub canonical HEXCLAVE_* env names so dual-read doesn't shadow/conflict
The env-var rename added conflict-detecting dual-read (HEXCLAVE_* wins over
STACK_*, throws when both differ) and set HEXCLAVE_* to non-empty values in the
checked-in .env.development files. Tests that stubbed the legacy STACK_* twin
either triggered the conflict throw or were silently shadowed by the canonical
HEXCLAVE_* value loaded from .env.

Point the test env stubs at the canonical HEXCLAVE_* names (production reads keep
the legacy STACK_* argument and rely on dual-read):
- plan-entitlements.test.ts: HEXCLAVE_DISABLE_PLAN_LIMITS
- turnstile.tsx / users.tsx: HEXCLAVE_DISABLE_BOT_CHALLENGE,
  HEXCLAVE_ALLOW_SIGN_UP_ON_VISIBLE_BOT_CHALLENGE_FAILURE
- access-token-helpers.tsx: HEXCLAVE_ALLOW_SHARED_OAUTH_ACCESS_TOKENS
- url-targets.test.ts: NEXT_PUBLIC_HEXCLAVE_HOSTED_HANDLER_*

Also fix the turnstile dev-secret-key test to clear both twins so it actually
exercises the dev-key fallback instead of passing on a string coincidence.
2026-06-19 18:09:24 -07:00
..
backend fix(tests): stub canonical HEXCLAVE_* env names so dual-read doesn't shadow/conflict 2026-06-19 18:09:24 -07:00
dashboard Merge branch 'dev' into rename-env-vars-hexclave 2026-06-19 17:02:18 -07:00
dev-launchpad chore: update package versions 2026-06-19 21:42:14 +00:00
e2e Merge branch 'dev' into rename-env-vars-hexclave 2026-06-19 17:02:18 -07:00
hosted-components Merge branch 'dev' into rename-env-vars-hexclave 2026-06-19 17:02:18 -07:00
internal-tool Merge branch 'dev' into rename-env-vars-hexclave 2026-06-19 17:02:18 -07:00
mcp Merge branch 'dev' into rename-env-vars-hexclave 2026-06-19 17:02:18 -07:00
mock-oauth-server chore: update package versions 2026-06-19 21:42:14 +00:00
oauth-mock-server In-source unit tests (#429) 2025-02-14 11:47:52 -08:00
skills chore: update package versions 2026-06-19 21:42:14 +00:00