Skip to content

fix(frontend): restore runtime queue i18n and guard against prune - #2529

Merged
lyingbug merged 1 commit into
Tencent:mainfrom
lyingbug:fix/runtime-queue-i18n
Aug 4, 2026
Merged

fix(frontend): restore runtime queue i18n and guard against prune#2529
lyingbug merged 1 commit into
Tencent:mainfrom
lyingbug:fix/runtime-queue-i18n

Conversation

@lyingbug

@lyingbug lyingbug commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Restore missing task queue runtime labels (pools, poolDescriptions, queueNames, queueDescriptions, tasks.taskTypes) in all four locale files; the task queue page was showing raw keys like core and chat_attachment.
  • Register dynamic runtime key prefixes in localeKeyAudit.ts so i18n prune/regenerate keeps these trees (they are built via te(\system.globalSettings.runtime.queueNames.${name}`)` and static analysis alone does not reference them).
  • Add check-i18n coverage listing every worker pool, queue, and task type key so future locale cleanup fails CI if any are removed.

Test plan

  • npm run check-i18n in frontend/
  • Open Settings → Task Queue and confirm worker pool cards and queue table show localized names (not raw keys)

Re-add worker pool, queue, and task type labels dropped during locale
cleanup, register dynamic key prefixes in the i18n audit, and add tests
so check-i18n fails if they are removed again.
@lyingbug
lyingbug merged commit d37e289 into Tencent:main Aug 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant