Skip to content

feat(diagnostics): ✨ Explain contextual Windows and installer codes - #152

Merged
PrzemyslawKlys merged 2 commits into
feature/endpoint-investigationsfrom
feature/diagnostic-explanations
Oct 9, 2026
Merged

PrzemyslawKlys merged 2 commits into
feature/endpoint-investigationsfrom
feature/diagnostic-explanations

Conversation

@PrzemyslawKlys

Copy link
Copy Markdown
Member

Numeric diagnostic results now explain a bounded set of common Win32, HRESULT and Windows Installer codes with a documented symbolic name, a deterministic description and a concrete next check. Unknown families and application-defined process exits retain their original representation without borrowing another API's meaning.

Application findings include the installer interpretation declared by the captured line. Saved investigations preserve that structured interpretation through inspection and reopening; replay retains the same result for unchanged evidence. Success and restart requirements remain distinct from completed deployment.

Get-EVXDiagnostic -Code '-2147024891' -Kind HResult
evx diagnostics code --value 3010 --kind WindowsInstaller

The catalog stays in the EventViewerX core and adds no dependencies. Raw captured messages remain excluded from HTML by default.

This PR builds on the captured-investigation workflow in #150. Merge #150 before this layer.

Validation: 68 focused cases pass on each of .NET 8 and 10; all four core targets and the CLI build without warnings or errors. Actual CLI code interpretation and capture/inspect/replay pass with repository fixture forms, and the command passes on PowerShell 5.1 and 7.6.6 using an unsigned validation module. One independent review and a targeted confirmation covered the new contracts. These checks qualify offline fixtures and documented commands; they do not establish live deployment coverage.

@PrzemyslawKlys
PrzemyslawKlys added this pull request to stack #153 October 9, 2026 17:05
@PrzemyslawKlys
PrzemyslawKlys merged commit 840859c into master Oct 9, 2026
14 checks passed
@PrzemyslawKlys
PrzemyslawKlys deleted the feature/diagnostic-explanations branch October 9, 2026 21:06
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