[#368] 🤖 - featlocalization add generic repository message catalogs - #368
Conversation
|
To preview the documentation for this pull request, visit the following URL:
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #368 +/- ##
===========================================
+ Coverage 90.94% 92.05% +1.10%
===========================================
Files 135 639 +504
Lines 6251 16383 +10132
Branches 1338 4233 +2895
===========================================
+ Hits 5685 15081 +9396
- Misses 172 528 +356
- Partials 394 774 +380
🚀 New features to boost your workflow:
|
Bugbot: review incomplete
Incomplete coverage
|
There was a problem hiding this comment.
Current status: Overall coverage is partial; this snapshot does not prove that all of its findings are resolved.
Last reconciled on1bff06b. See aggregate Bugbot status.
🤖 Bugbot review snapshot
Bugbot reported 1 potential problem(s) when commit 50ea892 was analyzed. This snapshot is historical; use the status block above for current state. 1 finding(s) are linked to changed code.
Findings
- medium: Fallback welcome message ignores the configured issue locale —
src/application/usecases/issue_workflow_context.ts:331
📌 Summary
Introduces generic repository localization for GitHub-facing communication while keeping English as the default. Issue and pull-request locales can inherit the repository locale or use explicit overrides.
🎯 Related Issues / Tickets
🧩 Scope of Changes
🛠️ Technical Details
🔍 How to Test
pnpm testand verify all test suites pass.pnpm run test:coverageand verify the localization coverage budget passes.pnpm run typecheckandpnpm run lint.en-US, bundled exact locales, base locales, and unsupported valid BCP-47 locales.🧪 Test Coverage
3,739 tests pass across 426 suites. Localization code meets the defined 100% pure-policy coverage budgets and changed-path coverage thresholds.
📸 Screenshots / Recordings (UI changes only)
Not applicable.
🚀 Deployment Notes
Details:
Generated action and CLI bundles are included and should be published with the source changes.
🔒 Security Considerations
Dynamic catalogs and translated originals are bounded and validated. Human-authored comments remain unchanged, and escaped original content is protected against Markdown control, HTML, commands, mentions, URLs, and bidirectional-text injection.
📈 Performance Impact
Dynamic catalog requests are strictly limited and cached by locale, configuration, and message descriptors. Bundled catalogs avoid agent calls entirely.
📝 Notes for Reviewers
Please pay particular attention to catalog validation, fallback behavior, comment ownership, and preservation of machine-readable commands and contracts.
✅ Checklist
📚 Additional Context
The repository-locale specification and catalog index were updated alongside the implementation. Validation coverage includes typecheck, ESLint, documentation, workflow, specification, npm package, smoke, build, and generated-bundle checks.