stack/packages
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
..
cli Merge branch 'dev' into rename-env-vars-hexclave 2026-06-19 17:02:18 -07:00
dashboard-ui-components chore: update package versions 2026-06-19 21:42:14 +00:00
js chore: update package versions 2026-06-19 21:42:14 +00:00
next chore: update package versions 2026-06-19 21:42:14 +00:00
react chore: update package versions 2026-06-19 21:42:14 +00:00
sc chore: update package versions 2026-06-19 21:42:14 +00:00
shared Merge branch 'dev' into rename-env-vars-hexclave 2026-06-19 17:02:18 -07:00
shared-backend chore: update package versions 2026-06-19 21:42:14 +00:00
tanstack-start chore: update package versions 2026-06-19 21:42:14 +00:00
template fix(tests): stub canonical HEXCLAVE_* env names so dual-read doesn't shadow/conflict 2026-06-19 18:09:24 -07:00
ui chore: update package versions 2026-06-19 21:42:14 +00:00