@samitouri / QOSAMI-WSL / commits / b79d1d5a

Add logic to detect msix installation errors (#11496)

Blue committed Apr 22, 2024 at 22:28 UTC b79d1d5ab972cb98f75fbfad9a6c0712d9c4e54f
1 file changed +15 -2
triage/config.yml
+15 -2
@@ -134,8 +134,7 @@ rules:
134 name: hns-fatal-error
135 capture:
136 field3: error
137 -
138 -
137 +
138 - logline:
139 provider: Microsoft.Windows.Hyper.V.NetMgmt
140 task: NetMgmt::CreateVirtualSwitch
@@ -174,6 +173,15 @@ rules:
173 set: wsl-client-logs
174 oneshot: true
175
176 + - logline:
177 + provider: Microsoft.Windows.Subsystem.Lxss
178 + field8: {regex: ".*InstallMsix\\(.*"}
179 + set:
180 + name: msix-install-error
181 + capture:
182 + field7: error
183 + oneshot: true
184 +
185 actions:
186 - foreach:
187 var: user-visible-error
@@ -258,3 +266,8 @@ actions:
266 user_message: 'It appears that the VirtualMachinePlatform optional component is not enabled. Please try running: `dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart`, then reboot and see if that solves the issue.'
267 skip_similar_issues: false
268 tag: 'needs-author-feedback'
269 +
270 + - when:
271 + condition: msix-install-error
272 + debug_message: 'Found evidence of MSIX install error: $error, adding msix tag'
273 + tag: 'msix'