Repository navigation
Closed
Labels
agent-readyMaintainer-approved for the Tale agent fleetbugBugimprovementImprovementpriority: lowLow priorityservice: platformPlatform service
Description
Part 2 of #4435, split off by its triage on the board (task TALE-79, which works part 1: the ICU checks and the plural mistakes).
Paths are at train 1e58056878048ec3061d16f5ff2b742adf05c8da. The items come from a post-merge review that read code and CI logs; nothing was run. Check each at your base and name any that is already done.
Loading
- The first load has no time limit. The root loader waits on
TopicRegistry.load()(packages/ui/src/i18n/topics.ts, viasessionLocaleReady()inservices/platform/lib/i18n/i18n.ts:56) with no limit, while chunks give up after 4 s. In a de, fr or de-CH cold load, one topic request that stalls without failing keeps the boot shell up. - One failed topic fails the whole language. In
packages/ui/src/i18n/topics.ts(load) andpackages/ui/src/i18n/sync.tsx, one failed topic out of about 44 fails the whole switch, and the page stays in English. Related to bug(platform): the Language menu marks a language selected while its catalog is still loading or failed, and re-picking it never retries #4421. Triage's lean: keep the topics that loaded, fall back to English for the failed one only and retry it, rather than leave the whole page in English. Decide after reading bug(platform): the Language menu marks a language selected while its catalog is still loading or failed, and re-picking it never retries #4421. - The embedding alert's chunk is oversized. It pulls in the whole English
settingstopic for three strings, and a de or fr session waits for the whole localizedsettingstopic.
Tests and guards
- The namespace guard checks less than the plugin trusts.
services/platform/lib/i18n/topic-references.test.ts(withpackages/ui/src/vite/message-topics.ts) only flagsuseT/useTranslationargument 0,getFixedTargument 1 and a property named exactlyns; the plugin also reads…Namespace(s)properties and'topic:key'literals. A computedentityNamespace: x,<Trans ns={x}>ort(`${ns}:key`)passes both, and English then shows raw keys. Every currententityNamespaceis a literal, so nothing is missed today. Nothing asserts that the scan finds any files at all. - The symlink fix has no test.
services/platform/scripts/messages-topics.test.ts:181runsrealpathSyncon its temp root, so the symlink case fixed inf66f5e2e23is never exercised; the old code passes too. - Wiring with no test.
sessionLocaleReady()(switches the language once and never rejects),ensureTopicinuseT(packages/ui/src/i18n/client.tsx:129),attachTopicsininitServiceI18n(packages/ui/src/i18n/init-service.ts:176) and the 4 s default wait (the tests usewaitMs: 50). Removing any one of them passes every test. - The entry-budget check can pass without checking.
services/platform/scripts/check-entry-budget.tsskips a chunk that has no.map, and relies on the.ymlpaths appearing in the map'ssources. The documents and projects entries added in39a2a0e2c6have no test.
Metadata
Metadata
Assignees
Labels
agent-readyMaintainer-approved for the Tale agent fleetbugBugimprovementImprovementpriority: lowLow priorityservice: platformPlatform service
Activity
tale-code-bot commentedon Nov 1, 2026
The item "The embedding alert's chunk is oversized" is split off as #5240. It is a performance change for the feature line, and this issue is a fix for the stable line.
TALE-319 on the Development board works the rest of this issue on branch
fix/i18n-topic-loading-bounds. Its squashed commit ends withCloses #5235.fix(platform): bound i18n topic loading and test its wiring
docs: amend the v0.5.95 release notes
docs: amend the v0.5.95 release notes