Skip to content

CmdPal: ApplicationInfoService + fix version in the error report builder#45374

Open
jiripolasek wants to merge 2 commits intomicrosoft:mainfrom
jiripolasek:feature/45368-cmdpal-correct-version-for-error-report-builder
Open

CmdPal: ApplicationInfoService + fix version in the error report builder#45374
jiripolasek wants to merge 2 commits intomicrosoft:mainfrom
jiripolasek:feature/45368-cmdpal-correct-version-for-error-report-builder

Conversation

@jiripolasek
Copy link
Collaborator

Summary of the Pull Request

This PR introduces a new service, ApplicationInfoService, that encapsulates host app state and infrastructure and moves the logic for obtaining version information there. It then uses this information to fix an issue with incorrect version reporting for unpackaged CmdPal in ErrorReportBuilder.

  • Adds ApplicationInfoService.
  • Fixes an error in ErrorReportBuilder when the app runs unpackaged.
  • Adds logging of the app version and environmental info at startup.

PR Checklist

  • Communication: I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected
  • Tests: Added/updated and all pass
  • Localization: All end-user-facing strings can be localized
  • Dev docs: Added/updated
  • New binaries: Added on the required places
  • Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

… info

- Adds ApplicationInfoService.
- Fixes an error in ErrorReportBuilder if the app runs unpackaged.
- Adds logging of the app version and enviromental info at startup.
@jiripolasek jiripolasek added the Product-Command Palette Refers to the Command Palette utility label Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Product-Command Palette Refers to the Command Palette utility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CmdPal: write app version and environment info into the log CmdPal: Error report builder reads the version only from the package

1 participant