Skip to content

Commit

Permalink
Merge pull request #4444 from mikem8361/release/stable
Browse files Browse the repository at this point in the history
Update release/stable from main
  • Loading branch information
mikem8361 authored Jan 3, 2024
2 parents 966acd1 + e182468 commit c1546ae
Show file tree
Hide file tree
Showing 94 changed files with 3,303 additions and 456 deletions.
143 changes: 0 additions & 143 deletions .github/fabricbot.json
Original file line number Diff line number Diff line change
Expand Up @@ -887,149 +887,6 @@
]
}
},
{
"taskType": "scheduled",
"capabilityId": "ScheduledSearch",
"subCapability": "ScheduledSearch",
"version": "1.1",
"config": {
"frequency": [
{
"weekDay": 0,
"hours": [
1,
4,
7,
10,
13,
16,
19,
22
],
"timezoneOffset": -8
},
{
"weekDay": 1,
"hours": [
1,
4,
7,
10,
13,
16,
19,
22
],
"timezoneOffset": -8
},
{
"weekDay": 2,
"hours": [
1,
4,
7,
10,
13,
16,
19,
22
],
"timezoneOffset": -8
},
{
"weekDay": 3,
"hours": [
1,
4,
7,
10,
13,
16,
19,
22
],
"timezoneOffset": -8
},
{
"weekDay": 4,
"hours": [
1,
4,
7,
10,
13,
16,
19,
22
],
"timezoneOffset": -8
},
{
"weekDay": 5,
"hours": [
1,
4,
7,
10,
13,
16,
19,
22
],
"timezoneOffset": -8
},
{
"weekDay": 6,
"hours": [
1,
4,
7,
10,
13,
16,
19,
22
],
"timezoneOffset": -8
}
],
"searchTerms": [
{
"name": "isClosed",
"parameters": {}
},
{
"name": "noActivitySince",
"parameters": {
"days": 30
}
},
{
"name": "isUnlocked",
"parameters": {}
},
{
"name": "isIssue",
"parameters": {}
},
{
"name": "noLabel",
"parameters": {
"label": "Bot: Do Not Lock"
}
}
],
"taskName": "[Closed Issue Management] Lock issues closed without activity for over 30 days",
"actions": [
{
"name": "lockIssue",
"parameters": {
"reason": "resolved"
}
}
]
}
}
],
"userGroups": []
}
36 changes: 36 additions & 0 deletions .github/workflows/locker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Locker - Lock stale issues and PRs
on:
schedule:
- cron: '0 9 * * *' # Once per day, early morning PT

workflow_dispatch:
# Manual triggering through the GitHub UI, API, or CLI
inputs:
daysSinceClose:
required: true
default: "30"
daysSinceUpdate:
required: true
default: "30"

permissions:
issues: write
pull-requests: write

jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v4
with:
repository: "microsoft/vscode-github-triage-actions"
path: ./actions
ref: cd16cd2aad6ba2da74bb6c6f7293adddd579a90e # locker action commit sha
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Run Locker
uses: ./actions/locker
with:
daysSinceClose: ${{ fromJson(inputs.daysSinceClose || 30) }}
daysSinceUpdate: ${{ fromJson(inputs.daysSinceUpdate || 30) }}
2 changes: 2 additions & 0 deletions diagnostics.sln
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Diagnostics.Debug
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "inc", "inc", "{BE45F03E-D700-404F-A890-8ED7D8969958}"
ProjectSection(SolutionItems) = preProject
src\SOS\inc\clrma.h = src\SOS\inc\clrma.h
src\SOS\inc\clrma.idl = src\SOS\inc\clrma.idl
src\SOS\inc\debuggerservices.h = src\SOS\inc\debuggerservices.h
src\SOS\inc\host.h = src\SOS\inc\host.h
src\SOS\inc\hostservices.h = src\SOS\inc\hostservices.h
Expand Down
75 changes: 69 additions & 6 deletions documentation/design-docs/ipc-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ enum class ProfilerCommandId : uint8_t
AttachProfiler = 0x01,
// future
}
```
```
See: [Profiler Commands](#Profiler-Commands)
```c++
Expand Down Expand Up @@ -460,7 +460,7 @@ Payload
array<provider_config> providers
}

provider_config
provider_config
{
ulong keywords,
uint logLevel,
Expand All @@ -482,7 +482,7 @@ Followed by an Optional Continuation of a `nettrace` format stream of events.

Command Code: `0x0203`

The `CollectTracing2` Command is an extension of the `CollectTracing` command - its behavior is the same as `CollectTracing` command, except that it has another field that lets you specify whether rundown events should be fired by the runtime.
The `CollectTracing2` command is an extension of the `CollectTracing` command - its behavior is the same as `CollectTracing` command, except that it has another field that lets you specify whether rundown events should be fired by the runtime.

#### Inputs:

Expand All @@ -500,7 +500,7 @@ A `provider_config` is composed of the following data:
* `string filter_data` (optional): Filter information

> see ETW documentation for a more detailed explanation of Keywords, Filters, and Log Level.
>
>
#### Returns (as an IPC Message Payload):

Header: `{ Magic; 28; 0xFF00; 0x0000; }`
Expand All @@ -520,7 +520,7 @@ Payload
array<provider_config> providers
}
provider_config
provider_config
{
ulong keywords,
uint logLevel,
Expand All @@ -538,7 +538,70 @@ Payload
```
Followed by an Optional Continuation of a `nettrace` format stream of events.

### `StopTracing`
### `CollectTracing3`

Command Code: `0x0204`

The `CollectTracing3` command is an extension of the `CollectTracing2` command - its behavior is the same as `CollectTracing2` command, except that it has another field that lets you specify whether the stackwalk should be made for each event.

#### Inputs:

Header: `{ Magic; Size; 0x0203; 0x0000 }`

* `uint circularBufferMB`: The size of the circular buffer used for buffering event data while streaming
* `uint format`: 0 for the legacy NetPerf format and 1 for the NetTrace format
* `bool requestRundown`: Indicates whether rundown should be fired by the runtime.
* `bool requestStackwalk`: Indicates whether stacktrace information should be recorded.
* `array<provider_config> providers`: The providers to turn on for the streaming session

A `provider_config` is composed of the following data:
* `ulong keywords`: The keywords to turn on with this providers
* `uint logLevel`: The level of information to turn on
* `string provider_name`: The name of the provider
* `string filter_data` (optional): Filter information

> see ETW documentation for a more detailed explanation of Keywords, Filters, and Log Level.
>
#### Returns (as an IPC Message Payload):

Header: `{ Magic; 28; 0xFF00; 0x0000; }`

`CollectTracing2` returns:
* `ulong sessionId`: the ID for the stream session starting on the current connection

##### Details:

Input:
```
Payload
{
uint circularBufferMB,
uint format,
bool requestRundown,
bool requestStackwalk,
array<provider_config> providers
}
provider_config
{
ulong keywords,
uint logLevel,
string provider_name,
string filter_data (optional)
}
```

Returns:
```c
Payload
{
ulong sessionId
}
```
Followed by an Optional Continuation of a `nettrace` format stream of events.


### `StopTracing`

Command Code: `0x0201`

Expand Down
3 changes: 1 addition & 2 deletions eng/SourceBuildPrebuiltBaseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@

<UsageData>
<IgnorePatterns>
<UsagePattern IdentityGlob="Microsoft.SourceBuild.Intermediate.*" />
</IgnorePatterns>
</UsageData>
</UsageData>
44 changes: 22 additions & 22 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
@@ -1,55 +1,55 @@
<Dependencies>
<ProductDependencies>
<Dependency Name="Microsoft.SymbolStore" Version="1.0.451601">
<Dependency Name="Microsoft.SymbolStore" Version="1.0.505101">
<Uri>https://github.com/dotnet/symstore</Uri>
<Sha>21508f9ab057e19d4060855647edeb376ac7d59d</Sha>
<Sha>b26b065af8647262418c1ef4609de690a003bfa3</Sha>
</Dependency>
<Dependency Name="Microsoft.Diagnostics.Runtime" Version="3.1.451701">
<Dependency Name="Microsoft.Diagnostics.Runtime" Version="3.1.457001">
<Uri>https://github.com/microsoft/clrmd</Uri>
<Sha>b64f583396784300c7ded11d22c65053197e958a</Sha>
<Sha>b9b01f21c353f59908b1563e1f17831eaad41b28</Sha>
</Dependency>
<Dependency Name="Microsoft.Diagnostics.Runtime.Utilities" Version="3.1.451701">
<Dependency Name="Microsoft.Diagnostics.Runtime.Utilities" Version="3.1.457001">
<Uri>https://github.com/microsoft/clrmd</Uri>
<Sha>b64f583396784300c7ded11d22c65053197e958a</Sha>
<Sha>b9b01f21c353f59908b1563e1f17831eaad41b28</Sha>
</Dependency>
</ProductDependencies>
<ToolsetDependencies>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="9.0.0-beta.23518.2">
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="9.0.0-beta.23607.2">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>6a5ca678aef84f34a1fccc46f76623f41da56553</Sha>
<Sha>3faeb9817f465151aa4bbcdb315f0a6170206760</Sha>
<SourceBuild RepoName="arcade" ManagedOnly="true" />
</Dependency>
<Dependency Name="Microsoft.DotNet.CodeAnalysis" Version="9.0.0-beta.23518.2">
<Dependency Name="Microsoft.DotNet.CodeAnalysis" Version="9.0.0-beta.23607.2">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>6a5ca678aef84f34a1fccc46f76623f41da56553</Sha>
<Sha>3faeb9817f465151aa4bbcdb315f0a6170206760</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.RemoteExecutor" Version="7.0.0-beta.22316.2" Pinned="true">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>ccfe6da198c5f05534863bbb1bff66e830e0c6ab</Sha>
</Dependency>
<Dependency Name="Microsoft.Dotnet.Sdk.Internal" Version="8.0.100-rtm.23522.1">
<Dependency Name="Microsoft.Dotnet.Sdk.Internal" Version="8.0.101-servicing.23567.12">
<Uri>https://github.com/dotnet/installer</Uri>
<Sha>30d7d24a6592aa0c97f81ac36b563fab2b451b14</Sha>
<Sha>bc60f176c86a6b1a290b3badc509ec86233f9543</Sha>
</Dependency>
<Dependency Name="Microsoft.AspNetCore.App.Ref.Internal" Version="8.0.0-rtm.23520.10">
<Dependency Name="Microsoft.AspNetCore.App.Ref.Internal" Version="8.0.0-rtm.23524.15">
<Uri>https://github.com/dotnet/aspnetcore</Uri>
<Sha>c9fa5f3a34605c93bffd1459a5e39e6bc63f50cc</Sha>
<Sha>815eb281ecad13eb69cf50516ac7f534b947f2b0</Sha>
</Dependency>
<Dependency Name="Microsoft.AspNetCore.App.Ref" Version="8.0.0-rtm.23520.10">
<Dependency Name="Microsoft.AspNetCore.App.Ref" Version="8.0.0-rtm.23524.15">
<Uri>https://github.com/dotnet/aspnetcore</Uri>
<Sha>c9fa5f3a34605c93bffd1459a5e39e6bc63f50cc</Sha>
<Sha>815eb281ecad13eb69cf50516ac7f534b947f2b0</Sha>
</Dependency>
<Dependency Name="Microsoft.NETCore.App.Runtime.win-x64" Version="8.0.0-rtm.23520.16">
<Dependency Name="Microsoft.NETCore.App.Runtime.win-x64" Version="8.0.0">
<Uri>https://github.com/dotnet/runtime</Uri>
<Sha>11ad607efb2b31c5e1b906303fcd70341e9d5206</Sha>
<Sha>59edaad404d1b8e47080015ae8d0787f94c970df</Sha>
</Dependency>
<Dependency Name="VS.Redist.Common.NetCore.SharedFramework.x64.8.0" Version="8.0.0-rtm.23520.16">
<Dependency Name="VS.Redist.Common.NetCore.SharedFramework.x64.8.0" Version="8.0.0-rtm.23524.7">
<Uri>https://github.com/dotnet/runtime</Uri>
<Sha>11ad607efb2b31c5e1b906303fcd70341e9d5206</Sha>
<Sha>59edaad404d1b8e47080015ae8d0787f94c970df</Sha>
</Dependency>
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="9.0.0-alpha.1.23519.2">
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="9.0.0-alpha.1.24052.1">
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
<Sha>d3fbf3c3d4c4f142ea12efceaa6efece9ad2e6b5</Sha>
<Sha>5357f2bafb9e23858aa57136d38dbb113cdf81a2</Sha>
<SourceBuild RepoName="source-build-reference-packages" ManagedOnly="true" />
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis" Version="4.6.0-1.23073.4">
Expand Down
Loading

0 comments on commit c1546ae

Please sign in to comment.