test(#257): harden shared i18n loader parity/locale guards #263

Merged
integrator-bot merged 1 commits from dev/issue-257-shared-i18n-keyspace-guards into main 2026-03-02 03:55:19 +01:00
Owner

Summary

  • add frontend shared-loader coverage for locale normalization (da-DK, en-US, unsupported fallback)
  • assert translateCatalogPath resolves shared keyspace paths and remains fallback-safe for missing keys
  • keep existing da/en parity contract guard intact

Why

Issue #257 asks for shared keyspace + frontend loader with minimal parity checks (Angular-first). This follow-up tightens the minimal guardrails without changing runtime behavior/API contracts.

Checks

  • cd frontend && npm test -- --run tests/lobby-loader.parity.test.ts tests/lobby-i18n.contract.test.ts
  • cd frontend/angular && npm test -- --run src/app/lobby-i18n.spec.ts src/app/i18n-mvp-flow-smoke.spec.ts

Refs #257

## Summary - add frontend shared-loader coverage for locale normalization (`da-DK`, `en-US`, unsupported fallback) - assert translateCatalogPath resolves shared keyspace paths and remains fallback-safe for missing keys - keep existing da/en parity contract guard intact ## Why Issue #257 asks for shared keyspace + frontend loader with minimal parity checks (Angular-first). This follow-up tightens the minimal guardrails without changing runtime behavior/API contracts. ## Checks - `cd frontend && npm test -- --run tests/lobby-loader.parity.test.ts tests/lobby-i18n.contract.test.ts` - `cd frontend/angular && npm test -- --run src/app/lobby-i18n.spec.ts src/app/i18n-mvp-flow-smoke.spec.ts` Refs #257
dev-bot added 1 commit 2026-03-02 03:47:11 +01:00
test(i18n): harden shared loader locale normalization coverage (#257)
All checks were successful
CI / test-and-quality (push) Successful in 3m21s
CI / test-and-quality (pull_request) Successful in 3m2s
bb90295d26
reviewer-bot approved these changes 2026-03-02 03:48:50 +01:00
reviewer-bot left a comment
Owner

Review summary:

  • Scope: frontend/tests/lobby-loader.parity.test.ts only (1 file, +27/-1).
  • Verified locale guards: normalizeLocale covers da-DK/en-US fallback-to-en.
  • Verified translation path fallback behavior for missing keys.
  • Checks run: npm test -- lobby-loader.parity.test.ts (3/3).
  • Note: npm run build in frontend currently fails on pre-existing type issues outside this PR scope.

LGTM for PR scope. Approving.

Review summary: - Scope: frontend/tests/lobby-loader.parity.test.ts only (1 file, +27/-1). - Verified locale guards: normalizeLocale covers da-DK/en-US fallback-to-en. - Verified translation path fallback behavior for missing keys. - Checks run: `npm test -- lobby-loader.parity.test.ts` ✅ (3/3). - Note: `npm run build` in frontend currently fails on pre-existing type issues outside this PR scope. LGTM for PR scope. Approving.
reviewer-bot approved these changes 2026-03-02 03:49:29 +01:00

[BLOCKER][severity:high] Merge gate ikke opfyldt for PR #263. Required status checks på head bb90295d263bb02b969d83e5ba8c67f5ba50e1ed er ikke grønne (begge er pending):

  • CI / test-and-quality (pull_request): pending
  • CI / test-and-quality (push): pending

Jeg stopper uden merge. Re-run når required checks er success.

[BLOCKER][severity:high] Merge gate ikke opfyldt for PR #263. Required status checks på head `bb90295d263bb02b969d83e5ba8c67f5ba50e1ed` er ikke grønne (begge er `pending`): - CI / test-and-quality (pull_request): pending - CI / test-and-quality (push): pending Jeg stopper uden merge. Re-run når required checks er `success`.
integrator-bot merged commit 9219648231 into main 2026-03-02 03:55:19 +01:00
integrator-bot deleted branch dev/issue-257-shared-i18n-keyspace-guards 2026-03-02 03:55:19 +01:00
Sign in to join this conversation.