Skip to content

fix: add support for reading Windows versions in metrics command#287

Merged
YamatoSecurity merged 7 commits intomainfrom
286-fix-automagic-computer-metrics
Dec 18, 2025
Merged

fix: add support for reading Windows versions in metrics command#287
YamatoSecurity merged 7 commits intomainfrom
286-fix-automagic-computer-metrics

Conversation

@fukusuket
Copy link
Collaborator

@fukusuket fukusuket commented Dec 18, 2025

Closed #286
I expect this issue to be resolved with this fix. Could you please confirm?🙏

Integraion-Test

@fukusuket fukusuket self-assigned this Dec 18, 2025
@fukusuket fukusuket added the bug Something isn't working label Dec 18, 2025
@fukusuket fukusuket added this to the v2.15.0 milestone Dec 18, 2025
@fukusuket fukusuket marked this pull request as ready for review December 18, 2025 14:01
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for reading Windows versions from a CSV configuration file in the automagic command. Previously, the automagic command would create a metrics-computers command without loading the Windows version mappings, resulting in missing OS information in the output.

Key changes:

  • Added call to readWindowsVersions() to load Windows version mappings from conf/windows_versions.csv
  • Pass the loaded Windows versions to the metricsComputersCmd constructor

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@fukusuket
Copy link
Collaborator Author

Since the Release automation GitHub Actions are failing (this is unrelated to this PR)... :( , I plan to fix them in a separate PR.

Copy link
Collaborator

@YamatoSecurity YamatoSecurity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fukusuket LGTM!! Thanks so much!!!

@YamatoSecurity YamatoSecurity merged commit 9df5549 into main Dec 18, 2025
2 checks passed
@fukusuket fukusuket deleted the 286-fix-automagic-computer-metrics branch December 18, 2025 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] computer-metrics output doesn't show OS info with automagic

3 participants