[#375] 🤖 - featlocalization localize setup doctor diagnostics - #375
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 #375 +/- ##
===========================================
+ Coverage 90.94% 92.59% +1.65%
===========================================
Files 135 646 +511
Lines 6251 16722 +10471
Branches 1338 4272 +2934
===========================================
+ Hits 5685 15484 +9799
- Misses 172 481 +309
- Partials 394 757 +363
🚀 New features to boost your workflow:
|
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 on4d86d65. See aggregate Bugbot status.
🤖 Bugbot review snapshot
Bugbot reported 1 potential problem when commit 96352f1 was analyzed. This snapshot is historical; use the status block above for current state. 1 finding is linked to changed code.
Findings
- low: Inherited locales can report dynamic success after catalog fallback —
src/application/policies/setup_doctor_report_policy.ts:121
Bugbot: review incomplete
Incomplete coverage
|
📌 Summary
Localizes the complete
copilot doctorexperience using the repository locale, with English as the default and atomic fallback. The doctor report now reuses one resolved catalog across checks, merge-queue readiness, and terminal presentation while setup remains English during profile creation.🎯 Related Issues / Tickets
🧩 Scope of Changes
🛠️ Technical Details
repository-localedefaults toen-USand controls repository-aware doctor output.🔍 How to Test
copilot doctor --config <setup.yml>with no explicit locale and verify that the complete report is in English and does not change repository configuration.repository-localeases-ESor a compatible locale such ases-MX, then verify that the complete doctor report, including merge-queue checks, uses the Spanish catalog.🧪 Test Coverage
The change adds focused catalog, doctor use-case, merge-queue, presenter, rendering, architecture, deployment-policy, and CLI coverage. Coverage budgets were updated for the new catalog, use-case, presenter, and rendering code.
📸 Screenshots / Recordings (UI changes only)
No screenshots or recordings are included. Terminal rendering is covered by automated width and localization tests.
🚀 Deployment Notes
Details:
Generated CLI and GitHub Action bundles are synchronized. No database migration, environment variable change, or feature flag is required.
🔒 Security Considerations
Raw provider, workflow, rule, PAT, and credential-health prose is no longer copied into user-visible doctor or merge-queue output. Diagnostic values remain bounded and sanitized, while credential names and stable status facts are preserved.
📈 Performance Impact
Non-bundled valid locales may perform one bounded language-agent request per doctor run. The resolved catalog is reused throughout the artifact, and bundled English and Spanish locales do not require that request.
📝 Notes for Reviewers
Please review the complete-artifact fallback guarantee, repository-locale precedence over issue and pull-request overrides, setup’s explicit English ownership, suppression of raw provider diagnostics, and narrow-width rendering for CJK and RTL content.
✅ Checklist
The validation gates cover typecheck, lint, coverage, documentation, specifications, workflows, package, bundle, and architecture validation, plus
git diff --check.📚 Additional Context
Related specifications and catalog evidence are updated in
specs/merge-queue-readiness.md,specs/repository-locale-and-localization.md,specs/setup-configuration-credentials-and-doctor.md, andspecs/setup-doctor-architecture-hardening.md.Recommended verification commands: