Run WTI to automatically triage github issues (#11329)

* Experiment with WTI and GH actions

* Remove condition

* Yml && git push origin wti

* Yml

* Yml

* Yml

* Yml

* Test integration

* Test integration

* Test integration

* Test integration

* Test integration

* Test integration

* Test integration

* Test integration

* Test integration

* Cleanup

* Test integration

* Test integration

* Test integration

* Test integration

* Test integration

* Test integration

* Test integration

* Test integration

* Test integration

* Test integration

* Test integration

* Test integration

* Test integration

* Test integration

* Test integration

* Test integration

* Test integration

* Test integration

* Test integration

* Test integration

* Test integration

* Reduce message size

* Reduce message size

* Clean up download logic

* Yaml

* Yaml

* Yaml

* Yaml

* Yaml

* Yaml

* Yaml

* Update .github/workflows/new_issue.yml

Co-authored-by: Craig Loewen <crloewen@microsoft.com>

* Update triage/config.yml

Co-authored-by: Craig Loewen <crloewen@microsoft.com>

* Review feedback

* Update triggers

---------

Co-authored-by: Craig Loewen <crloewen@microsoft.com>
This commit is contained in:
Blue 2024-03-25 20:53:03 +00:00 committed by GitHub
parent 6fa4010768
commit f5587256c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 708 additions and 34 deletions

44
.github/actions/triage/action.yml vendored Normal file
View File

@ -0,0 +1,44 @@
name: Run automated triage
inputs:
issue:
required: false
type: string
similar_issues_text:
required: false
type: string
comment:
required: false
type: string
token:
required: false
type: string
runs:
using: "composite"
steps:
- name: 'Run WTI'
if: ${{ !contains(inputs.similar_issues_text, '''@') }} # Skip this step if the description contains a string that will break the here document
shell: pwsh
run: |
$ErrorActionPreference = [System.Management.Automation.ActionPreference]::Stop
$message = @'
${{ inputs.similar_issues_text }}
'@
$maybe_message = @()
if (![string]::IsNullOrEmpty($message))
{
$maybe_message = @("--default-message-stdin")
}
$maybe_comment = @()
if (![string]::IsNullOrEmpty("${{ inputs.comment }}"))
{
$maybe_comment = @("--comment", "${{ inputs.comment }}")
}
curl.exe -L https://github.com/OneBlue/wti/releases/download/v0.1.1/wti.exe -o triage/wti.exe
cd triage && echo -n $message | .\wti.exe --issue ${{ inputs.issue }} --config config.yml --github-token "${{ inputs.token }}" --ignore-tags @maybe_message @maybe_comment

38
.github/workflows/new_issue.yml vendored Normal file
View File

@ -0,0 +1,38 @@
name: Process new issue
on:
issues:
types: [opened]
jobs:
getSimilarIssues:
runs-on: ubuntu-latest
outputs:
message: ${{ steps.getBody.outputs.message }}
steps:
- uses: actions/checkout@v2
- id: getBody
uses: craigloewen-msft/GitGudSimilarIssues@main
with:
issueTitle: ${{ github.event.issue.title }}
issueBody: ${{ github.event.issue.body }}
repository: ${{ github.repository }}
similarityTolerance: "0.7"
commentBody: |
# View similar issues
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!
wti:
name: Run wti
needs: getSimilarIssues
runs-on: windows-2022
permissions:
issues: write
steps:
- name: Checkout repo
uses: actions/checkout@v4
- uses: ./.github/actions/triage
with:
similar_issues_text: "${{ needs.getSimilarIssues.outputs.message }}"
issue: "${{ github.event.issue.number }}"
token: ${{ secrets.GITHUB_TOKEN }}

22
.github/workflows/new_issue_comment.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: Process new comment on issue
on:
issue_comment:
types: [created]
jobs:
wti:
name: Run wti
runs-on: windows-2022
permissions:
issues: write
if: ${{ !github.event.issue.pull_request && github.event.issue.user.id == github.event.comment.user.id }}
steps:
- name: Checkout repo
uses: actions/checkout@v4
- uses: ./.github/actions/triage
with:
issue: '${{ github.event.issue.number }}'
comment: '${{ github.event.comment.id }}'
token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,34 +0,0 @@
name: GitGudSimilarIssues comments
on:
issues:
types: [opened]
jobs:
getSimilarIssues:
runs-on: ubuntu-latest
outputs:
message: ${{ steps.getBody.outputs.message }}
steps:
- uses: actions/checkout@v2
- id: getBody
uses: craigloewen-msft/GitGudSimilarIssues@main
with:
issueTitle: ${{ github.event.issue.title }}
issueBody: ${{ github.event.issue.body }}
repository: ${{ github.repository }}
similarityTolerance: "0.7"
add-comment:
needs: getSimilarIssues
runs-on: ubuntu-latest
permissions:
issues: write
if: needs.getSimilarIssues.outputs.message != ''
steps:
- name: Add comment
run: gh issue comment "$NUMBER" --repo "$REPO" --body "$BODY"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NUMBER: ${{ github.event.issue.number }}
REPO: ${{ github.repository }}
BODY: ${{ needs.getSimilarIssues.outputs.message }}

193
triage/config.yml Normal file
View File

@ -0,0 +1,193 @@
wpa_profile: no-filter.wpaProfile
logs_rules:
missing_logs_message: |
# Logs are required for review from WSL team
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
**Otherwise please attach logs by following the instructions below**, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
<details>
<summary>How to collect WSL logs</summary>
Download and execute [collect-wsl-logs.ps1](https://github.com/Microsoft/WSL/blob/master/diagnostics/collect-wsl-logs.ps1) in an **administrative powershell prompt**:
```
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1
```
The scipt will output the path of the log file once done.
Once completed please upload the output files to this Github issue.
[Click here for more info on logging](https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#8-collect-wsl-logs-recommended-method)
If you choose to email these logs instead of attaching to the bug, please send them to wsl-gh-logs@microsoft.com with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.
</details>
missing_logs_add_tags: ['needs-author-feedback']
skip_tags: ['feature', 'question', 'emailed-logs', 'network']
tags_rules:
- contains: '/question'
tag: 'question'
- contains: '/feature'
tag: 'feature'
- contains: '/emailed-logs'
tag: 'emailed-logs'
rules:
- logline:
provider: Microsoft.Windows.Lxss.Manager
task: GuestLog
field1:
contains: 'brd: module loaded'
set: booting
- logline:
provider: Microsoft.Windows.Lxss.Manager
task: GuestLog
field1:
contains: 'oom-kill'
set:
name: oom
capture:
field1: oom-error
- logline:
provider: Microsoft.Windows.Lxss.Manager
task: GuestLog
field1:
contains: 'Kernel panic'
set:
name: kernel-panic
capture:
field1: kmsg
- logline:
provider: Microsoft.Windows.Lxss.Manager
task: GuestLog
field1:
regex: 'WSL (.*) ERROR'
set: init-error
- logline:
provider: Microsoft.Windows.Subsystem.Lxss
task: UserVisibleError
set:
name: user-visible-error
capture:
field3: error
- logline:
provider: Microsoft-Windows-Hyper-V-Chipset
field1:
regex: '.*biosdevice.*80070057.*' # 80070057 = E_INVALIDARG
set: corrupted-initramfs
- logline:
provider: Microsoft.Windows.Lxss.Manager
task: FailedToStartVm
set:
name: vm-failed-to-start
capture:
field4: error
- logline:
provider: Microsoft.Windows.Lxss.Manager
set: service-running
oneshot: true
- logline:
provider: Microsoft.Windows.Subsystem.Lxss
task: LxssException
field7:
regex: '.*0x80070422.*'
set: service-disabled-error
- logline:
provider: Microsoft.Windows.Subsystem.Lxss
task: UserVisibleError
field3: {regex: '.*/ConfigureNetworking/HNS/.*'}
set:
name: hns-fatal-error
capture:
field3: error
- logline:
provider: Microsoft.Windows.Hyper.V.NetMgmt
task: NetMgmt::CreateVirtualSwitch
field4: '0x80041002'
set:
name: vmswitch-known-issue
capture:
field4: error
- logline:
provider: Microsoft.Windows.Lxss.Manager
task: GuestLog
field1:
contains: 'EXT4-fs error'
set:
name: ext4-error
capture:
field1: error
actions:
- foreach:
var: user-visible-error
debug_message: 'Detected user visible error: $error'
- when:
condition: 'kernel-panic'
debug_message: 'Found evidence of kernel panic: $kmsg'
- when:
condition:
and: ['oom', 'booting']
user_message: 'The logs show that WSL2 ran out of memory. Try increasing wsl2.memory in .wslconfig and see if that solves the issue.'
debug_message: 'Found evidence of OOM kill: $oom-error'
tag: needs-author-feedback
- when:
condition:
and: ['vm-failed-to-start', 'hyperv-firmware-expired']
user_message: 'The logs show that your Hyper-V firmware is expired. Please update your Windows build and see if that solves the issue'
tag: needs-author-feedback
- when:
condition:
and: ['vm-failed-to-start', 'corrupted-initramfs']
user_message: 'Your WSL installation seems corrupted. Please try to download and install the [latest WSL release](https://github.com/microsoft/WSL/releases/latest)'
tag: needs-author-feedback
- when:
condition:
and: [{not: 'service-running'}, 'service-disabled-error']
user_message: 'The logs show that wslservice is disabled. Try to run (elevated command prompt): `sc.exe config wslservice start= demand` and see if that solves the issue'
tag: needs-author-feedback
- when:
condition:
and: ['vm-failed-to-start', 'hns-fatal-error']
user_message: 'An HNS error seems to be causing WSL2 to fail to start. Adding network tag'
debug_message: 'Found HNS error: $error'
tag: 'network'
- when:
condition:
and: ['vm-failed-to-start', 'vmswitch-known-issue']
user_message: 'Known vmswitch issue found (error: $error). Adding network tag'
debug_message: 'Found evidence of vmswitch error: $error'
tag: 'network'
- when:
condition: 'ext4-error'
user_message: 'The logs shows that a disk mount error occured. Try to [follow these repair instructions](https://learn.microsoft.com/en-us/windows/wsl/disk-space#how-to-repair-a-vhd-mounting-error) and see if that solves the issue.'
debug_message: 'Found evidence of ext4 error: $error'
tag: 'needs-author-feedback'

374
triage/no-filter.wpaProfile Normal file
View File

@ -0,0 +1,374 @@
<?xml version="1.0" encoding="utf-8"?>
<WpaProfileContainer xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="2" xmlns="http://tempuri.org/SerializableElement.xsd">
<Content xsi:type="WpaProfile2">
<Sessions>
<Session Index="0">
<FileReferences />
</Session>
</Sessions>
<Views>
<View Guid="fa2db56d-11da-45d9-b766-1168edd04483" IsVisible="true" Title="Analysis">
<Graphs>
<Graph Guid="04f69f98-176e-4d1c-b44e-97f734996ab8" LayoutStyle="All" GraphHeight="125" IsMinimized="false" IsShown="true" IsExpanded="false" HelpText="{}{\rtf1\ansi\ansicpg1252\uc1\htmautsp\deff2{\fonttbl{\f0\fcharset0 Times New Roman;}{\f2\fcharset0 Segoe UI;}}{\colortbl\red0\green0\blue0;\red255\green255\blue255;}\loch\hich\dbch\pard\plain\ltrpar\itap0{\lang1033\fs18\f2\cf0 \cf0\ql{\f2 {\ltrch Shows every event in the trace, including the associated payload fields.}\li0\ri0\sa0\sb0\fi0\ql\par{\f2 \li0\ri0\sa0\sb0\fi0\ql\par{\f2 {\ltrch New capability - graph payload fields!}\li0\ri0\sa0\sb0\fi0\ql\par{\f2 \li0\ri0\sa0\sb0\fi0\ql\par{\f2 {\ltrch 1. Filter down to the event with the payload field you want to graph.}\li0\ri0\sa0\sb0\fi0\ql\par{\f2 {\ltrch 2. Drag the column corresponding to the payload field you want to graph to the right of the blue bar.}\li0\ri0\sa0\sb0\fi0\ql\par{\f2 {\ltrch 3. If the automatic graphing isn't representing your data correctly, go to View Editor and:}\li0\ri0\sa0\sb0\fi0\ql\par{\f2 {\ltrch a. Adjust the aggregation mode for your column, or}\li0\ri0\sa0\sb0\fi0\ql\par{\f2 {\ltrch b. Go to Advanced &gt; Graph Configuration and change your graphing aggregation mode.}\li0\ri0\sa0\sb0\fi0\ql\par}">
<Preset Name="Activity by Provider, Task, Opcode" BarGraphIntervalCount="50" IsThreadActivityTable="false" GraphColumnCount="35" KeyColumnCount="8" LeftFrozenColumnCount="9" RightFrozenColumnCount="33" InitialFilterShouldKeep="true" GraphFilterTopValue="0" GraphFilterThresholdValue="0" HelpText="{}{\rtf1\ansi\ansicpg1252\uc1\htmautsp\deff2{\fonttbl{\f0\fcharset0 Times New Roman;}{\f2\fcharset0 Segoe UI;}}{\colortbl\red0\green0\blue0;\red255\green255\blue255;}\loch\hich\dbch\pard\plain\ltrpar\itap0{\lang1033\fs18\f2\cf0 \cf0\ql{\f2 {\ltrch Groups all the events by provider, task, and opcode.}\li0\ri0\sa0\sb0\fi0\ql\par}&#xD;&#xA;}&#xD;&#xA;}">
<MetadataEntries>
<MetadataEntry Guid="bbfc990a-b6c9-4dcd-858b-f040ab4a1efe" Name="Time" ColumnMetadata="StartTime" />
<MetadataEntry Guid="bbfc990a-b6c9-4dcd-858b-f040ab4a1efe" Name="Time" ColumnMetadata="EndTime" />
<MetadataEntry Guid="edf01e5d-3644-4dbc-ab9d-f8954e6db6ea" Name="ThreadId" ColumnMetadata="EndThreadId" />
</MetadataEntries>
<HighlightEntries />
<Columns>
<Column Guid="8b4c40f8-0d99-437d-86ab-56ec200137dc" Name="Provider Name" SortPriority="1" Width="200" IsVisible="true">
<ColorQueryEntries />
</Column>
<Column Guid="2a23f9b1-65d6-46d2-87b2-72f3606b7f75" Name="Provider Id" SortPriority="5" Width="100" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="511777f7-30ef-4e86-bd0b-0facaf23a0d3" Name="Task Name" SortPriority="2" Width="80" IsVisible="true">
<ColorQueryEntries />
</Column>
<Column Guid="5b51716b-b88f-443a-a396-c6316296d5f8" Name="Opcode Name" SortPriority="3" Width="80" IsVisible="true">
<ColorQueryEntries />
</Column>
<Column Guid="c72e1c5a-f6db-4c84-8c0b-85989e514075" Name="Id" SortPriority="3" Width="80" IsVisible="true">
<ColorQueryEntries />
</Column>
<Column Guid="d446a182-5203-4a29-aca1-4ab9bea0d1b5" Name="Version" SortPriority="0" Width="80" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="7ee6a5ff-1faf-428a-a7c2-7d2cb2b5cf26" Name="Process" SortPriority="9" Width="150" IsVisible="true">
<ColorQueryEntries />
</Column>
<Column Guid="b51bcda1-7ea3-4409-b4af-51a704893bd9" Name="Process Id" SortPriority="0" Width="50" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="cb796d44-2927-5ac1-d231-4b71904c18f5" Name="Thread Name" SortPriority="0" Width="80" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="82ddfdff-ee93-5f35-08ac-4705069618dc" Name="Thread Activity Tag" SortPriority="0" Width="80" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="2818954f-2d30-5569-4510-dade0a5a605c" Name="Annotation" SortPriority="0" Width="80" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="90fe0b49-e3bb-440f-b829-5813c42108a1" Name="Event Name" SortPriority="4" Width="100" IsVisible="true">
<ColorQueryEntries />
</Column>
<Column Guid="72892fbe-0f55-426a-9aa1-26b6baf09ffb" Name="Event Type" SortPriority="6" Width="100" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="0734f1a4-fbd9-4ff6-aec0-cf43875c8253" Name="Message" SortPriority="6" Width="100" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="3be8610c-babb-4154-9970-1b2210928024" Name="Cpu" SortPriority="7" Width="30" IsVisible="true">
<ColorQueryEntries />
</Column>
<Column Guid="edf01e5d-3644-4dbc-ab9d-f8954e6db6ea" Name="ThreadId" SortPriority="8" Width="50" IsVisible="true">
<ColorQueryEntries />
</Column>
<Column Guid="0c5cf8cd-9b9e-5798-1a5d-09d429f7fa3c" Name="Field 1" SortPriority="-1" Width="80" IsVisible="true" HelpText="Field 1">
<ColorQueryEntries />
</Column>
<Column Guid="71badd11-26e5-56bc-44ec-12f4cc6a8f3e" Name="Field 2" SortPriority="-1" Width="80" IsVisible="true" HelpText="Field 2">
<ColorQueryEntries />
</Column>
<Column Guid="411dba2d-5d6e-5272-8287-636d0841768c" Name="Field 3" SortPriority="-1" Width="80" IsVisible="true" HelpText="Field 3">
<ColorQueryEntries />
</Column>
<Column Guid="048f5050-1f17-59b3-fa22-4b0781ee630b" Name="Field 4" SortPriority="-1" Width="80" IsVisible="true" HelpText="Field 4">
<ColorQueryEntries />
</Column>
<Column Guid="94e48f22-d499-5227-bb04-be011b4159b0" Name="Field 5" SortPriority="-1" Width="80" IsVisible="true" HelpText="Field 5">
<ColorQueryEntries />
</Column>
<Column Guid="c1054028-424a-59ba-e760-6d30abbd69c5" Name="Field 6" SortPriority="-1" Width="80" IsVisible="true" HelpText="Field 6">
<ColorQueryEntries />
</Column>
<Column Guid="5cbc4b58-2de1-5449-55b2-4651d4edf90a" Name="Field 7" SortPriority="-1" Width="80" IsVisible="true" HelpText="Field 7">
<ColorQueryEntries />
</Column>
<Column Guid="fc01e6c9-a43b-51a1-fd2e-112ba48aff65" Name="Field 8" SortPriority="-1" Width="80" IsVisible="true" HelpText="Field 8">
<ColorQueryEntries />
</Column>
<Column Guid="e3dcf300-46e2-5c43-ef4b-2c3db489ec25" Name="Field 9" SortPriority="-1" Width="80" IsVisible="true" HelpText="Field 9">
<ColorQueryEntries />
</Column>
<Column Guid="87c21ddb-4b29-58e3-5ddc-f114c5ca209a" Name="Field 10" SortPriority="-1" Width="80" IsVisible="true" HelpText="Field 10">
<ColorQueryEntries />
</Column>
<Column Guid="65f8fe42-ad02-5016-3521-f93329c76227" Name="Field 11" SortPriority="-1" Width="80" IsVisible="true" HelpText="Field 11">
<ColorQueryEntries />
</Column>
<Column Guid="03d48fd3-0fe4-57f5-a477-49beb0d70a1f" Name="Field 12" SortPriority="-1" Width="80" IsVisible="true" HelpText="Field 12">
<ColorQueryEntries />
</Column>
<Column Guid="998f8e2d-0f5a-5a54-0133-226e2de62c0b" Name="Field 13" SortPriority="-1" Width="80" IsVisible="true" HelpText="Field 13">
<ColorQueryEntries />
</Column>
<Column Guid="bb772c34-9600-5bf7-3f54-e6080f8a0611" Name="Field 14" SortPriority="-1" Width="80" IsVisible="true" HelpText="Field 14">
<ColorQueryEntries />
</Column>
<Column Guid="1479add7-3dcb-580b-f1e9-87d5186ced61" Name="Field 15" SortPriority="-1" Width="80" IsVisible="true" HelpText="Field 15">
<ColorQueryEntries />
</Column>
<Column Guid="342f7677-17b2-4c7e-b9ec-e89612c49792" Name="Count" AggregationMode="Sum" SortOrder="Descending" SortPriority="0" Width="80" IsVisible="true">
<ColorQueryEntries />
</Column>
<Column Guid="bbfc990a-b6c9-4dcd-858b-f040ab4a1efe" Name="Time" SortPriority="11" Width="80" IsVisible="true">
<ColorQueryEntries />
</Column>
</Columns>
</Preset>
</Graph>
</Graphs>
<SessionIndices>
<SessionIndex>0</SessionIndex>
</SessionIndices>
</View>
<View Guid="67563633-8128-4b0b-bf07-e76dc861e5c6" IsVisible="true" Title="Analysis">
<Graphs>
<Graph Guid="04f69f98-176e-4d1c-b44e-97f734996ab8" LayoutStyle="All" GraphHeight="125" IsMinimized="false" IsShown="true" IsExpanded="false" HelpText="{}{\rtf1\ansi\ansicpg1252\uc1\htmautsp\deff2{\fonttbl{\f0\fcharset0 Times New Roman;}{\f2\fcharset0 Segoe UI;}}{\colortbl\red0\green0\blue0;\red255\green255\blue255;}\loch\hich\dbch\pard\plain\ltrpar\itap0{\lang1033\fs18\f2\cf0 \cf0\ql{\f2 {\ltrch Shows every event in the trace, including the associated payload fields.}\li0\ri0\sa0\sb0\fi0\ql\par{\f2 \li0\ri0\sa0\sb0\fi0\ql\par{\f2 {\ltrch New capability - graph payload fields!}\li0\ri0\sa0\sb0\fi0\ql\par{\f2 \li0\ri0\sa0\sb0\fi0\ql\par{\f2 {\ltrch 1. Filter down to the event with the payload field you want to graph.}\li0\ri0\sa0\sb0\fi0\ql\par{\f2 {\ltrch 2. Drag the column corresponding to the payload field you want to graph to the right of the blue bar.}\li0\ri0\sa0\sb0\fi0\ql\par{\f2 {\ltrch 3. If the automatic graphing isn't representing your data correctly, go to View Editor and:}\li0\ri0\sa0\sb0\fi0\ql\par{\f2 {\ltrch a. Adjust the aggregation mode for your column, or}\li0\ri0\sa0\sb0\fi0\ql\par{\f2 {\ltrch b. Go to Advanced &gt; Graph Configuration and change your graphing aggregation mode.}\li0\ri0\sa0\sb0\fi0\ql\par}">
<Preset Name="Activity by Provider, Task, Opcode" BarGraphIntervalCount="50" IsThreadActivityTable="false" GraphColumnCount="36" KeyColumnCount="7" LeftFrozenColumnCount="8" RightFrozenColumnCount="34" InitialFilterShouldKeep="true" GraphFilterTopValue="0" GraphFilterThresholdValue="0" HelpText="{}{\rtf1\ansi\ansicpg1252\uc1\htmautsp\deff2{\fonttbl{\f0\fcharset0 Times New Roman;}{\f2\fcharset0 Segoe UI;}}{\colortbl\red0\green0\blue0;\red255\green255\blue255;}\loch\hich\dbch\pard\plain\ltrpar\itap0{\lang1033\fs18\f2\cf0 \cf0\ql{\f2 {\ltrch Groups all the events by provider, task, and opcode.}\li0\ri0\sa0\sb0\fi0\ql\par}&#xD;&#xA;}&#xD;&#xA;}">
<MetadataEntries>
<MetadataEntry Guid="edf01e5d-3644-4dbc-ab9d-f8954e6db6ea" Name="ThreadId" ColumnMetadata="EndThreadId" />
<MetadataEntry Guid="bbfc990a-b6c9-4dcd-858b-f040ab4a1efe" Name="Time" ColumnMetadata="StartTime" />
<MetadataEntry Guid="bbfc990a-b6c9-4dcd-858b-f040ab4a1efe" Name="Time" ColumnMetadata="EndTime" />
</MetadataEntries>
<HighlightEntries />
<Columns>
<Column Guid="bbfc990a-b6c9-4dcd-858b-f040ab4a1efe" Name="Time" SortPriority="38" Width="80" IsVisible="true">
<DateTimeTimestampOptionsParameter DateTimeEnabled="true" />
<ColorQueryEntries />
</Column>
<Column Guid="2a23f9b1-65d6-46d2-87b2-72f3606b7f75" Name="Provider Id" SortPriority="32" Width="100" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="5b51716b-b88f-443a-a396-c6316296d5f8" Name="Opcode Name" SortPriority="29" Width="80" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="c72e1c5a-f6db-4c84-8c0b-85989e514075" Name="Id" SortPriority="30" Width="80" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="d446a182-5203-4a29-aca1-4ab9bea0d1b5" Name="Version" SortPriority="1" Width="80" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="7ee6a5ff-1faf-428a-a7c2-7d2cb2b5cf26" Name="Process" SortPriority="37" Width="150" IsVisible="false">
<ProcessOptionsParameter />
<ColorQueryEntries />
</Column>
<Column Guid="b51bcda1-7ea3-4409-b4af-51a704893bd9" Name="Process Id" SortPriority="2" Width="50" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="cb796d44-2927-5ac1-d231-4b71904c18f5" Name="Thread Name" SortPriority="3" Width="80" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="82ddfdff-ee93-5f35-08ac-4705069618dc" Name="Thread Activity Tag" SortPriority="4" Width="80" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="2818954f-2d30-5569-4510-dade0a5a605c" Name="Annotation" SortPriority="5" Width="80" IsVisible="false">
<AnnotationsOptionsParameter>
<AnnotationQueryEntries />
</AnnotationsOptionsParameter>
<ColorQueryEntries />
</Column>
<Column Guid="8b4c40f8-0d99-437d-86ab-56ec200137dc" Name="Provider Name" SortPriority="27" Width="305" IsVisible="true">
<ColorQueryEntries />
</Column>
<Column Guid="511777f7-30ef-4e86-bd0b-0facaf23a0d3" Name="Task Name" SortPriority="28" Width="223" IsVisible="true">
<ColorQueryEntries />
</Column>
<Column Guid="90fe0b49-e3bb-440f-b829-5813c42108a1" Name="Event Name" SortPriority="31" Width="222" IsVisible="true">
<ColorQueryEntries />
</Column>
<Column Guid="72892fbe-0f55-426a-9aa1-26b6baf09ffb" Name="Event Type" SortPriority="33" Width="100" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="0734f1a4-fbd9-4ff6-aec0-cf43875c8253" Name="Message" SortPriority="34" Width="100" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="3be8610c-babb-4154-9970-1b2210928024" Name="Cpu" SortPriority="35" Width="30" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="edf01e5d-3644-4dbc-ab9d-f8954e6db6ea" Name="ThreadId" SortPriority="36" Width="50" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="0c5cf8cd-9b9e-5798-1a5d-09d429f7fa3c" Name="Field 1" SortPriority="6" Width="352" IsVisible="true" HelpText="Field 1">
<ColorQueryEntries />
</Column>
<Column Guid="71badd11-26e5-56bc-44ec-12f4cc6a8f3e" Name="Field 2" SortPriority="7" Width="282" IsVisible="true" HelpText="Field 2">
<ColorQueryEntries />
</Column>
<Column Guid="411dba2d-5d6e-5272-8287-636d0841768c" Name="Field 3" SortPriority="8" Width="125" IsVisible="true" HelpText="Field 3">
<ColorQueryEntries />
</Column>
<Column Guid="048f5050-1f17-59b3-fa22-4b0781ee630b" Name="Field 4" SortPriority="9" Width="1061" IsVisible="true" HelpText="Field 4">
<ColorQueryEntries />
</Column>
<Column Guid="94e48f22-d499-5227-bb04-be011b4159b0" Name="Field 5" SortPriority="10" Width="80" IsVisible="true" HelpText="Field 5">
<ColorQueryEntries />
</Column>
<Column Guid="c1054028-424a-59ba-e760-6d30abbd69c5" Name="Field 6" SortPriority="11" Width="80" IsVisible="true" HelpText="Field 6">
<ColorQueryEntries />
</Column>
<Column Guid="5cbc4b58-2de1-5449-55b2-4651d4edf90a" Name="Field 7" SortPriority="12" Width="80" IsVisible="true" HelpText="Field 7">
<ColorQueryEntries />
</Column>
<Column Guid="fc01e6c9-a43b-51a1-fd2e-112ba48aff65" Name="Field 8" SortPriority="13" Width="80" IsVisible="true" HelpText="Field 8">
<ColorQueryEntries />
</Column>
<Column Guid="e3dcf300-46e2-5c43-ef4b-2c3db489ec25" Name="Field 9" SortPriority="14" Width="80" IsVisible="true" HelpText="Field 9">
<ColorQueryEntries />
</Column>
<Column Guid="87c21ddb-4b29-58e3-5ddc-f114c5ca209a" Name="Field 10" SortPriority="15" Width="80" IsVisible="true" HelpText="Field 10">
<ColorQueryEntries />
</Column>
<Column Guid="65f8fe42-ad02-5016-3521-f93329c76227" Name="Field 11" SortPriority="16" Width="80" IsVisible="true" HelpText="Field 11">
<ColorQueryEntries />
</Column>
<Column Guid="03d48fd3-0fe4-57f5-a477-49beb0d70a1f" Name="Field 12" SortPriority="17" Width="80" IsVisible="true" HelpText="Field 12">
<ColorQueryEntries />
</Column>
<Column Guid="998f8e2d-0f5a-5a54-0133-226e2de62c0b" Name="Field 13" SortPriority="18" Width="80" IsVisible="true" HelpText="Field 13">
<ColorQueryEntries />
</Column>
<Column Guid="bb772c34-9600-5bf7-3f54-e6080f8a0611" Name="Field 14" SortPriority="19" Width="80" IsVisible="true" HelpText="Field 14">
<ColorQueryEntries />
</Column>
<Column Guid="1479add7-3dcb-580b-f1e9-87d5186ced61" Name="Field 15" SortPriority="20" Width="80" IsVisible="true" HelpText="Field 15">
<ColorQueryEntries />
</Column>
<Column Guid="342f7677-17b2-4c7e-b9ec-e89612c49792" Name="Count" AggregationMode="Sum" SortOrder="Descending" SortPriority="0" Width="80" IsVisible="true">
<ColorQueryEntries />
</Column>
</Columns>
</Preset>
</Graph>
</Graphs>
<SessionIndices>
<SessionIndex>0</SessionIndex>
</SessionIndices>
</View>
</Views>
<ModifiedGraphs>
<GraphSchema Guid="04f69f98-176e-4d1c-b44e-97f734996ab8" HelpText="{}{\rtf1\ansi\ansicpg1252\uc1\htmautsp\deff2{\fonttbl{\f0\fcharset0 Times New Roman;}{\f2\fcharset0 Segoe UI;}}{\colortbl\red0\green0\blue0;\red255\green255\blue255;}\loch\hich\dbch\pard\plain\ltrpar\itap0{\lang1033\fs18\f2\cf0 \cf0\ql{\f2 {\ltrch Shows every event in the trace, including the associated payload fields.}\li0\ri0\sa0\sb0\fi0\ql\par{\f2 \li0\ri0\sa0\sb0\fi0\ql\par{\f2 {\ltrch New capability - graph payload fields!}\li0\ri0\sa0\sb0\fi0\ql\par{\f2 \li0\ri0\sa0\sb0\fi0\ql\par{\f2 {\ltrch 1. Filter down to the event with the payload field you want to graph.}\li0\ri0\sa0\sb0\fi0\ql\par{\f2 {\ltrch 2. Drag the column corresponding to the payload field you want to graph to the right of the blue bar.}\li0\ri0\sa0\sb0\fi0\ql\par{\f2 {\ltrch 3. If the automatic graphing isn't representing your data correctly, go to View Editor and:}\li0\ri0\sa0\sb0\fi0\ql\par{\f2 {\ltrch a. Adjust the aggregation mode for your column, or}\li0\ri0\sa0\sb0\fi0\ql\par{\f2 {\ltrch b. Go to Advanced &gt; Graph Configuration and change your graphing aggregation mode.}\li0\ri0\sa0\sb0\fi0\ql\par}">
<ModifiedPresets />
<PersistedPresets>
<Preset Name="Activity by Provider, Task, Opcode" BarGraphIntervalCount="50" IsThreadActivityTable="false" GraphColumnCount="36" KeyColumnCount="7" LeftFrozenColumnCount="8" RightFrozenColumnCount="34" InitialFilterShouldKeep="true" GraphFilterTopValue="0" GraphFilterThresholdValue="0" HelpText="{}{\rtf1\ansi\ansicpg1252\uc1\htmautsp\deff2{\fonttbl{\f0\fcharset0 Times New Roman;}{\f2\fcharset0 Segoe UI;}}{\colortbl\red0\green0\blue0;\red255\green255\blue255;}\loch\hich\dbch\pard\plain\ltrpar\itap0{\lang1033\fs18\f2\cf0 \cf0\ql{\f2 {\ltrch Groups all the events by provider, task, and opcode.}\li0\ri0\sa0\sb0\fi0\ql\par}&#xD;&#xA;}&#xD;&#xA;}">
<MetadataEntries>
<MetadataEntry Guid="edf01e5d-3644-4dbc-ab9d-f8954e6db6ea" Name="ThreadId" ColumnMetadata="EndThreadId" />
<MetadataEntry Guid="bbfc990a-b6c9-4dcd-858b-f040ab4a1efe" Name="Time" ColumnMetadata="StartTime" />
<MetadataEntry Guid="bbfc990a-b6c9-4dcd-858b-f040ab4a1efe" Name="Time" ColumnMetadata="EndTime" />
</MetadataEntries>
<HighlightEntries />
<Columns>
<Column Guid="bbfc990a-b6c9-4dcd-858b-f040ab4a1efe" Name="Time" SortPriority="38" Width="80" IsVisible="true">
<DateTimeTimestampOptionsParameter DateTimeEnabled="true" />
<ColorQueryEntries />
</Column>
<Column Guid="2a23f9b1-65d6-46d2-87b2-72f3606b7f75" Name="Provider Id" SortPriority="32" Width="100" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="5b51716b-b88f-443a-a396-c6316296d5f8" Name="Opcode Name" SortPriority="29" Width="80" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="c72e1c5a-f6db-4c84-8c0b-85989e514075" Name="Id" SortPriority="30" Width="80" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="d446a182-5203-4a29-aca1-4ab9bea0d1b5" Name="Version" SortPriority="1" Width="80" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="7ee6a5ff-1faf-428a-a7c2-7d2cb2b5cf26" Name="Process" SortPriority="37" Width="150" IsVisible="false">
<ProcessOptionsParameter />
<ColorQueryEntries />
</Column>
<Column Guid="b51bcda1-7ea3-4409-b4af-51a704893bd9" Name="Process Id" SortPriority="2" Width="50" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="cb796d44-2927-5ac1-d231-4b71904c18f5" Name="Thread Name" SortPriority="3" Width="80" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="82ddfdff-ee93-5f35-08ac-4705069618dc" Name="Thread Activity Tag" SortPriority="4" Width="80" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="2818954f-2d30-5569-4510-dade0a5a605c" Name="Annotation" SortPriority="5" Width="80" IsVisible="false">
<AnnotationsOptionsParameter>
<AnnotationQueryEntries />
</AnnotationsOptionsParameter>
<ColorQueryEntries />
</Column>
<Column Guid="8b4c40f8-0d99-437d-86ab-56ec200137dc" Name="Provider Name" SortPriority="27" Width="305" IsVisible="true">
<ColorQueryEntries />
</Column>
<Column Guid="511777f7-30ef-4e86-bd0b-0facaf23a0d3" Name="Task Name" SortPriority="28" Width="223" IsVisible="true">
<ColorQueryEntries />
</Column>
<Column Guid="90fe0b49-e3bb-440f-b829-5813c42108a1" Name="Event Name" SortPriority="31" Width="222" IsVisible="true">
<ColorQueryEntries />
</Column>
<Column Guid="72892fbe-0f55-426a-9aa1-26b6baf09ffb" Name="Event Type" SortPriority="33" Width="100" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="0734f1a4-fbd9-4ff6-aec0-cf43875c8253" Name="Message" SortPriority="34" Width="100" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="3be8610c-babb-4154-9970-1b2210928024" Name="Cpu" SortPriority="35" Width="30" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="edf01e5d-3644-4dbc-ab9d-f8954e6db6ea" Name="ThreadId" SortPriority="36" Width="50" IsVisible="false">
<ColorQueryEntries />
</Column>
<Column Guid="0c5cf8cd-9b9e-5798-1a5d-09d429f7fa3c" Name="Field 1" SortPriority="6" Width="352" IsVisible="true" HelpText="Field 1">
<ColorQueryEntries />
</Column>
<Column Guid="71badd11-26e5-56bc-44ec-12f4cc6a8f3e" Name="Field 2" SortPriority="7" Width="282" IsVisible="true" HelpText="Field 2">
<ColorQueryEntries />
</Column>
<Column Guid="411dba2d-5d6e-5272-8287-636d0841768c" Name="Field 3" SortPriority="8" Width="125" IsVisible="true" HelpText="Field 3">
<ColorQueryEntries />
</Column>
<Column Guid="048f5050-1f17-59b3-fa22-4b0781ee630b" Name="Field 4" SortPriority="9" Width="1061" IsVisible="true" HelpText="Field 4">
<ColorQueryEntries />
</Column>
<Column Guid="94e48f22-d499-5227-bb04-be011b4159b0" Name="Field 5" SortPriority="10" Width="80" IsVisible="true" HelpText="Field 5">
<ColorQueryEntries />
</Column>
<Column Guid="c1054028-424a-59ba-e760-6d30abbd69c5" Name="Field 6" SortPriority="11" Width="80" IsVisible="true" HelpText="Field 6">
<ColorQueryEntries />
</Column>
<Column Guid="5cbc4b58-2de1-5449-55b2-4651d4edf90a" Name="Field 7" SortPriority="12" Width="80" IsVisible="true" HelpText="Field 7">
<ColorQueryEntries />
</Column>
<Column Guid="fc01e6c9-a43b-51a1-fd2e-112ba48aff65" Name="Field 8" SortPriority="13" Width="80" IsVisible="true" HelpText="Field 8">
<ColorQueryEntries />
</Column>
<Column Guid="e3dcf300-46e2-5c43-ef4b-2c3db489ec25" Name="Field 9" SortPriority="14" Width="80" IsVisible="true" HelpText="Field 9">
<ColorQueryEntries />
</Column>
<Column Guid="87c21ddb-4b29-58e3-5ddc-f114c5ca209a" Name="Field 10" SortPriority="15" Width="80" IsVisible="true" HelpText="Field 10">
<ColorQueryEntries />
</Column>
<Column Guid="65f8fe42-ad02-5016-3521-f93329c76227" Name="Field 11" SortPriority="16" Width="80" IsVisible="true" HelpText="Field 11">
<ColorQueryEntries />
</Column>
<Column Guid="03d48fd3-0fe4-57f5-a477-49beb0d70a1f" Name="Field 12" SortPriority="17" Width="80" IsVisible="true" HelpText="Field 12">
<ColorQueryEntries />
</Column>
<Column Guid="998f8e2d-0f5a-5a54-0133-226e2de62c0b" Name="Field 13" SortPriority="18" Width="80" IsVisible="true" HelpText="Field 13">
<ColorQueryEntries />
</Column>
<Column Guid="bb772c34-9600-5bf7-3f54-e6080f8a0611" Name="Field 14" SortPriority="19" Width="80" IsVisible="true" HelpText="Field 14">
<ColorQueryEntries />
</Column>
<Column Guid="1479add7-3dcb-580b-f1e9-87d5186ced61" Name="Field 15" SortPriority="20" Width="80" IsVisible="true" HelpText="Field 15">
<ColorQueryEntries />
</Column>
<Column Guid="342f7677-17b2-4c7e-b9ec-e89612c49792" Name="Count" AggregationMode="Sum" SortOrder="Descending" SortPriority="0" Width="80" IsVisible="true">
<ColorQueryEntries />
</Column>
</Columns>
</Preset>
</PersistedPresets>
</GraphSchema>
</ModifiedGraphs>
</Content>
</WpaProfileContainer>

37
triage/wti.yml Normal file
View File

@ -0,0 +1,37 @@
name: Sync GitHub with ADO
on:
pull_request:
jobs:
getSimilarIssues:
runs-on: ubuntu-latest
outputs:
message: ${{ steps.getBody.outputs.message }}
steps:
- uses: actions/checkout@v2
- id: getBody
uses: craigloewen-msft/GitGudSimilarIssues@main
with:
issueTitle: "Cannot install WSL on latest Windows Insider dev build" # Hardcoded for testing
issueBody: "Cannot install WSL on latest Windows Insider dev build" # Hardcoded for testing
repository: ${{ github.repository }}
similarityTolerance: "0.1" # Lowered value for testing
commentBody: Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!
wti:
name: Run wti
needs: getSimilarIssues
runs-on: windows-2022
permissions:
issues: write
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: 'Run WTI'
if: ${{ !contains(needs.getSimilarIssues.outputs.message, '''@') }} # Skip this step if the description contains a string that will break the here document
run: |
cd .github\workflows && echo @'
${{ needs.getSimilarIssues.outputs.message }}
'@ | .\wti.exe --issue 11305 --config config.yml --github-token "${{ secrets.GITHUB_TOKEN }}" --ignore-tags --default-message-stdin