Skip to content

Commit 88a5e10

Browse files
sync non-code with origin/main (#8106)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 2934439 commit 88a5e10

18 files changed

+128
-100
lines changed

.github/dependabot.template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#! target branch and which major version of .NET Monitor it builds.
1818
#@ def getBranches():
1919
#@ return [
20-
#@ struct.encode({"name": "main", "majorVersion": "8"}),
20+
#@ struct.encode({"name": "main", "majorVersion": "9"}),
2121
#@ struct.encode({"name": "release/9.0", "majorVersion": "9"}),
2222
#@ struct.encode({"name": "release/8.x", "majorVersion": "8"}),
2323
#@ ]

.github/dependabot.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,23 @@ updates:
3434
target-branch: main
3535
commit-message:
3636
prefix: '[main] '
37+
- package-ecosystem: nuget
38+
directory: /eng/dependabot/net9.0
39+
schedule:
40+
interval: daily
41+
target-branch: main
42+
ignore:
43+
- dependency-name: '*'
44+
update-types:
45+
- version-update:semver-major
46+
commit-message:
47+
prefix: '[main] '
48+
groups:
49+
runtime-dependencies:
50+
patterns:
51+
- Microsoft.Extensions.*
52+
- Microsoft.NETCore.DotNetHost
53+
- System.Text.Json
3754
- package-ecosystem: nuget
3855
directory: /eng/dependabot/net8.0
3956
schedule:

.github/learning-path-sha.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2ed430e3a03dab15101ee8c2359b8d05ac1fb921
1+
cd505c19acbea28dc8d9aff84908ced335911801

.github/releases.json

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@
88
],
99
"supported": [
1010
"9.0",
11-
"8.1",
12-
"8.0"
11+
"8.1"
1312
],
1413
"unsupported": [
15-
"7.3",
14+
"8.0",
1615
"6.3"
1716
],
1817
"releases": {
@@ -35,36 +34,26 @@
3534
],
3635
"outOfSupportDate": "2025-05-11T00:00:00.000Z"
3736
},
38-
"7.3": {
39-
"tag": "v7.3.4",
40-
"minorReleaseDate": "2023-08-08T00:00:00.000Z",
41-
"patchReleaseDate": "2024-05-14T00:00:00.000Z",
42-
"supportedFrameworks": [
43-
"net6.0",
44-
"net7.0"
45-
],
46-
"outOfSupportDate": "2024-05-14T00:00:00.000Z"
47-
},
4837
"9.0": {
49-
"tag": "v9.0.2",
38+
"tag": "v9.0.3",
5039
"minorReleaseDate": "2024-11-12T00:00:00.000Z",
51-
"patchReleaseDate": "2025-02-11T00:00:00.000Z",
40+
"patchReleaseDate": "2025-05-13T00:00:00.000Z",
5241
"supportedFrameworks": [
5342
"net9.0"
5443
]
5544
},
5645
"8.1": {
57-
"tag": "v8.1.0",
46+
"tag": "v8.1.1",
5847
"minorReleaseDate": "2025-02-11T00:00:00.000Z",
59-
"patchReleaseDate": "2025-02-11T00:00:00.000Z",
48+
"patchReleaseDate": "2025-05-14T00:00:00.000Z",
6049
"supportedFrameworks": [
6150
"net8.0"
6251
]
6352
},
6453
"9.1": {
65-
"tag": "v9.1.0-preview.2.25201.5",
66-
"minorReleaseDate": "2025-04-08T00:00:00.000Z",
67-
"patchReleaseDate": "2025-04-08T00:00:00.000Z",
54+
"tag": "v9.1.0-preview.3.25257.5",
55+
"minorReleaseDate": "2025-05-13T00:00:00.000Z",
56+
"patchReleaseDate": "2025-05-13T00:00:00.000Z",
6857
"supportedFrameworks": [
6958
"net9.0"
7059
]

.github/workflows/backport.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ permissions: {}
88
jobs:
99
backport:
1010
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/backport to') && contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-24.04
1212
permissions:
1313
contents: write
1414
issues: write

.github/workflows/spellcheck.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ jobs:
1717
with:
1818
persist-credentials: false
1919

20-
- uses: streetsidesoftware/cspell-action@8485bb4b688c68384c2f6db7ad931f5e3e63f21c
20+
- uses: streetsidesoftware/cspell-action@eb29b6a67d122d2e6af385ff16bdb200d93b2e54
2121
name: Documentation spellcheck
2222
if: ${{ !cancelled() }}
2323
with:
2424
files: '**/*.md'
2525
inline: error
2626
incremental_files_only: true
2727

28-
- uses: streetsidesoftware/cspell-action@8485bb4b688c68384c2f6db7ad931f5e3e63f21c
28+
- uses: streetsidesoftware/cspell-action@eb29b6a67d122d2e6af385ff16bdb200d93b2e54
2929
name: Resx spellcheck
3030
if: ${{ !cancelled() }}
3131
with:
3232
files: 'src/**/*.resx'
3333
inline: error
3434
incremental_files_only: true
3535

36-
- uses: streetsidesoftware/cspell-action@8485bb4b688c68384c2f6db7ad931f5e3e63f21c
36+
- uses: streetsidesoftware/cspell-action@eb29b6a67d122d2e6af385ff16bdb200d93b2e54
3737
name: Source code spellcheck
3838
if: ${{ !cancelled() }}
3939
with:

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"args": {
1515
"fileName": "${workspaceFolder}/eng/branch-vscode-config",
1616
"key": "TFM",
17-
"default": "net8.0"
17+
"default": "net9.0"
1818
}
1919
}
2020
],

cspell.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"hresult",
5656
"Hsts",
5757
"Impls",
58+
"inproc",
5859
"JITID",
5960
"JWTs",
6061
"LCID",
@@ -107,6 +108,7 @@
107108
"ukwn",
108109
"uninitialize",
109110
"Uninstallation",
111+
"uninstrumented",
110112
"uniquifier",
111113
"Unlocalized",
112114
"Unredacted",

documentation/learningPath/aks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ In addition to its availability as a .NET CLI tool, the `dotnet monitor` tool is
66

77
This workflow takes your local development copy of `dotnet-monitor`, patches it with a local development copy of the [.NET Core Diagnostics Repo](https://github.com/dotnet/diagnostics#net-core-diagnostics-repo), and makes it available as an image for you to consume in an ACR (Azure Container Registry). Note that there are many other ways to do this - this is meant to serve as a basic template that can be adapted to match your needs.
88

9-
1. Open `pwsh` and run the [generate-dev-sln script](https://github.com/dotnet/dotnet-monitor/blob/2ed430e3a03dab15101ee8c2359b8d05ac1fb921/generate-dev-sln.ps1), providing a path to your local copy of the diagnostics repo.
9+
1. Open `pwsh` and run the [generate-dev-sln script](https://github.com/dotnet/dotnet-monitor/blob/cd505c19acbea28dc8d9aff84908ced335911801/generate-dev-sln.ps1), providing a path to your local copy of the diagnostics repo.
1010

1111
> [!NOTE]
1212
> If your changes do not involve the [.NET Core Diagnostics Repo](https://github.com/dotnet/diagnostics#net-core-diagnostics-repo), you don't need to complete this step.

documentation/learningPath/api.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ dotnet-monitor exposes functionality through both [collection rules](./collectio
44

55
## Adding New APIs
66

7-
The web API surface is defined by a series of controllers [here](https://github.com/dotnet/dotnet-monitor/blob/2ed430e3a03dab15101ee8c2359b8d05ac1fb921/src/Microsoft.Diagnostics.Monitoring.WebApi/Controllers/). It's common for an API to expose functionality also available via [Actions](./collectionrules.md#actions) and so methods in these controllers are often wrappers around a shared implementation. Each controller may have one or more attributes that configure how and where it is exposed, you can learn more about the notable controller attributes [here](#notable-controller-attributes).
7+
The web API surface is defined by a series of controllers [here](https://github.com/dotnet/dotnet-monitor/blob/cd505c19acbea28dc8d9aff84908ced335911801/src/Microsoft.Diagnostics.Monitoring.WebApi/Controllers/). It's common for an API to expose functionality also available via [Actions](./collectionrules.md#actions) and so methods in these controllers are often wrappers around a shared implementation. Each controller may have one or more attributes that configure how and where it is exposed, you can learn more about the notable controller attributes [here](#notable-controller-attributes).
88

9-
If the new API needs to either accept or return structured data, a dedicated model should be used. Models are defined [here](https://github.com/dotnet/dotnet-monitor/blob/2ed430e3a03dab15101ee8c2359b8d05ac1fb921/src/Microsoft.Diagnostics.Monitoring.WebApi/Models/).
9+
If the new API needs to either accept or return structured data, a dedicated model should be used. Models are defined [here](https://github.com/dotnet/dotnet-monitor/blob/cd505c19acbea28dc8d9aff84908ced335911801/src/Microsoft.Diagnostics.Monitoring.WebApi/Models/).
1010

1111
When adding a new API, it's important to also update the [`openapi.json`](../openapi.json) spec which describes the API surface. There are CI tests that will ensure this file has been updated to reflect any API changes. Learn more about updating `openapi.json` [here](./testing.md#openapi-generation).
1212

1313
### Adding Tests
1414

15-
Web APIs in dotnet-monitor are typically tested using functional tests that leverage the [ApiClient](https://github.com/dotnet/dotnet-monitor/blob/2ed430e3a03dab15101ee8c2359b8d05ac1fb921/src/Tests/Microsoft.Diagnostics.Monitoring.Tool.FunctionalTests/HttpApi/ApiClient.cs) to call a specific API. Learn more about how the functional tests are defined and operate [here](./testing.md#functional-tests).
15+
Web APIs in dotnet-monitor are typically tested using functional tests that leverage the [ApiClient](https://github.com/dotnet/dotnet-monitor/blob/cd505c19acbea28dc8d9aff84908ced335911801/src/Tests/Microsoft.Diagnostics.Monitoring.Tool.FunctionalTests/HttpApi/ApiClient.cs) to call a specific API. Learn more about how the functional tests are defined and operate [here](./testing.md#functional-tests).
1616

1717
## Notable Controller Attributes
1818

@@ -32,6 +32,6 @@ dotnet-monitor supports multiple different [authentication modes](../authenticat
3232

3333
### Determining Authentication Mode
3434

35-
When dotnet-monitor starts, the command line arguments are first inspected to see if a specific authentication mode was set (such as `--no-auth`), referred to as the `StartupAuthenticationMode`, this is calculated [here](https://github.com/dotnet/dotnet-monitor/blob/2ed430e3a03dab15101ee8c2359b8d05ac1fb921/src/Tools/dotnet-monitor/Commands/CollectCommandHandler.cs#L28). If no modes were explicitly set via a command line argument, dotnet-monitor will select `Deferred` as the `StartupAuthenticationMode`. This indicates that the user configuration should be looked at to determine the authentication mode later on in the startup process.
35+
When dotnet-monitor starts, the command line arguments are first inspected to see if a specific authentication mode was set (such as `--no-auth`), referred to as the `StartupAuthenticationMode`, this is calculated [here](https://github.com/dotnet/dotnet-monitor/blob/cd505c19acbea28dc8d9aff84908ced335911801/src/Tools/dotnet-monitor/Commands/CollectCommandHandler.cs#L28). If no modes were explicitly set via a command line argument, dotnet-monitor will select `Deferred` as the `StartupAuthenticationMode`. This indicates that the user configuration should be looked at to determine the authentication mode later on in the startup process.
3636

37-
After determining the `StartupAuthenticationMode` mode, the relevant [IAuthenticationConfigurator](https://github.com/dotnet/dotnet-monitor/blob/2ed430e3a03dab15101ee8c2359b8d05ac1fb921/src/Tools/dotnet-monitor/Auth/IAuthenticationConfigurator.cs) is created by the [AuthConfiguratorFactory](https://github.com/dotnet/dotnet-monitor/blob/2ed430e3a03dab15101ee8c2359b8d05ac1fb921/src/Tools/dotnet-monitor/Auth/AuthConfiguratorFactory.cs). This factory also handles deciding what authentication mode to use when `StartupAuthenticationMode` is `Deferred`. The selected configurator is used to configure various parts of dotnet-monitor that are specific to authentication, such as protecting the web APIs and adding authentication-mode specific logging.
37+
After determining the `StartupAuthenticationMode` mode, the relevant [IAuthenticationConfigurator](https://github.com/dotnet/dotnet-monitor/blob/cd505c19acbea28dc8d9aff84908ced335911801/src/Tools/dotnet-monitor/Auth/IAuthenticationConfigurator.cs) is created by the [AuthConfiguratorFactory](https://github.com/dotnet/dotnet-monitor/blob/cd505c19acbea28dc8d9aff84908ced335911801/src/Tools/dotnet-monitor/Auth/AuthConfiguratorFactory.cs). This factory also handles deciding what authentication mode to use when `StartupAuthenticationMode` is `Deferred`. The selected configurator is used to configure various parts of dotnet-monitor that are specific to authentication, such as protecting the web APIs and adding authentication-mode specific logging.

0 commit comments

Comments
 (0)