Skip to content

Commit 75b08a7

Browse files
authored
Merge branch 'main' into brecon/paths
2 parents 443f2d8 + 3060947 commit 75b08a7

File tree

630 files changed

+26183
-4212
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

630 files changed

+26183
-4212
lines changed

.azure/pipelines/ci-public.yml

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ variables:
7676
value: /bl:artifacts/log/Release/Build.CodeSign.binlog
7777
- name: WindowsInstallersLogArgs
7878
value: /bl:artifacts/log/Release/Build.Installers.binlog
79-
- name: WindowsArm64InstallersLogArgs
80-
value: /bl:artifacts/log/Release/Build.Installers.Arm64.binlog
8179
- name: _SignType
8280
value: ''
8381
- name: _InternalRuntimeDownloadArgs
@@ -205,29 +203,14 @@ stages:
205203
-sign
206204
-buildInstallers
207205
-noBuildNative
208-
/p:DotNetSignType=$(_SignType)
209-
$(_BuildArgs)
210-
$(_InternalRuntimeDownloadArgs)
211-
$(WindowsInstallersLogArgs)
212-
displayName: Build Installers
213-
214-
# Windows installers bundle and sharedfx msi for arm64
215-
- script: ./eng/build.cmd
216-
-ci
217-
-prepareMachine
218-
-noBuildRepoTasks
219-
-arch arm64
220-
-sign
221-
-buildInstallers
222-
-noBuildNative
223206
-publish
224207
/p:DotNetSignType=$(_SignType)
225208
/p:AssetManifestFileName=aspnetcore-win.xml
226209
$(_BuildArgs)
227210
$(_PublishArgs)
228211
$(_InternalRuntimeDownloadArgs)
229-
$(WindowsArm64InstallersLogArgs)
230-
displayName: Build ARM64 Installers
212+
$(WindowsInstallersLogArgs)
213+
displayName: Build Installers
231214

232215
artifacts:
233216
- name: Windows_Logs_Attempt_$(System.JobAttempt)
@@ -636,6 +619,8 @@ stages:
636619
agentOs: Windows
637620
isAzDOTestingJob: true
638621
timeoutInMinutes: 240
622+
# Temporarily disabled due to https://github.com/dotnet/aspnetcore/issues/63140
623+
condition: 'false'
639624
steps:
640625
- script: git submodule update --init
641626
displayName: Update submodules

.azure/pipelines/ci.yml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ variables:
7878
value: /bl:artifacts/log/Release/Build.CodeSign.binlog
7979
- name: WindowsInstallersLogArgs
8080
value: /bl:artifacts/log/Release/Build.Installers.binlog
81-
- name: WindowsArm64InstallersLogArgs
82-
value: /bl:artifacts/log/Release/Build.Installers.Arm64.binlog
8381
- name: _InternalRuntimeDownloadArgs
8482
value: -RuntimeSourceFeed https://ci.dot.net/internal
8583
-RuntimeSourceFeedKey $(dotnetbuilds-internal-container-read-token-base64)
@@ -255,33 +253,16 @@ extends:
255253
-sign
256254
-buildInstallers
257255
-noBuildNative
258-
/p:DotNetSignType=$(_SignType)
259-
$(_BuildArgs)
260-
$(_InternalRuntimeDownloadArgs)
261-
$(WindowsInstallersLogArgs)
262-
env:
263-
MSBUILDUSESERVER: "1"
264-
displayName: Build Installers
265-
266-
# Windows installers bundle and sharedfx msi for arm64
267-
- script: ./eng/build.cmd
268-
-ci
269-
-prepareMachine
270-
-noBuildRepoTasks
271-
-arch arm64
272-
-sign
273-
-buildInstallers
274-
-noBuildNative
275256
-publish
276257
/p:DotNetSignType=$(_SignType)
277258
/p:AssetManifestFileName=aspnetcore-win.xml
278259
$(_BuildArgs)
279260
$(_PublishArgs)
280261
$(_InternalRuntimeDownloadArgs)
281-
$(WindowsArm64InstallersLogArgs)
262+
$(WindowsInstallersLogArgs)
282263
env:
283264
MSBUILDUSESERVER: "1"
284-
displayName: Build ARM64 Installers
265+
displayName: Build Installers
285266

286267
artifacts:
287268
- name: Windows_Logs_Attempt_$(System.JobAttempt)

.editorconfig

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -464,12 +464,6 @@ dotnet_diagnostic.IDE0161.severity = silent
464464
# IDE0005: Remove unused usings. Ignore for shared src files since imports for those depend on the projects in which they are included.
465465
dotnet_diagnostic.IDE0005.severity = silent
466466

467-
[{**/microsoft.dotnet.hotreload.agent*/**.cs}]
468-
# IDE0005: Remove unused usings. Ignore for shared src files coming from nuget package.
469-
dotnet_diagnostic.IDE0005.severity = silent
470-
# IDE0073: A source file is missing a required header. Ignore for shared src files coming from nuget package.
471-
dotnet_diagnostic.IDE0073.severity = silent
472-
473467

474468
# Verify settings
475469
[*.{received,verified}.{txt,xml,json}]

.github/copilot-instructions.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,11 @@
3232
## Running tests
3333

3434
* To build and run tests in the repo, use the `build.sh` script that is located in each subdirectory within the `src` folder. For example, to run the build with tests in the `src/Http` directory, run `./src/Http/build.sh -test`.
35+
36+
## .NET Environment
37+
38+
* Before running any `dotnet` commands in this repository, always activate the locally installed .NET environment first by running the appropriate activation script from the repository root:
39+
* On Windows: `. ./activate.ps1` (from repository root)
40+
* On Linux/Mac: `source activate.sh` (from repository root)
41+
* If not in the repository root, navigate there first or use the full path to the activation script.
42+
* This ensures that the correct version of .NET SDK is used for the repository.

.github/policies/resourceManagement.yml

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -441,18 +441,18 @@ configuration:
441441
branch: main
442442
then:
443443
- addMilestone:
444-
milestone: 10.0-preview7
444+
milestone: 10.0-rc1
445445
description: '[Milestone Assignments] Assign Milestone to PRs merged to the `main` branch'
446446
- if:
447447
- payloadType: Pull_Request
448448
- isAction:
449449
action: Closed
450450
- targetsBranch:
451-
branch: release/10.0-preview6
451+
branch: release/10.0-preview7
452452
then:
453453
- removeMilestone
454454
- addMilestone:
455-
milestone: 10.0-preview6
455+
milestone: 10.0-preview7
456456
description: '[Milestone Assignments] Assign Milestone to PRs merged to release/10.0-preview1 branch'
457457
- if:
458458
- payloadType: Issues
@@ -566,6 +566,25 @@ configuration:
566566
567567
Otherwise, please add `tell-mode` label.
568568
description: Add release/2.3 targeting PRs to the servicing project
569+
- if:
570+
- payloadType: Pull_Request
571+
- isAction:
572+
action: Opened
573+
- targetsBranch:
574+
branch: release/10.0
575+
- activitySenderHasPermission:
576+
permission: Read
577+
- not:
578+
isActivitySender:
579+
user: dotnet-maestro
580+
issueAuthor: False
581+
- not:
582+
isActivitySender:
583+
user: dotnet-maestro-bot
584+
issueAuthor: False
585+
then:
586+
- addLabel:
587+
label: servicing-consider
569588
- if:
570589
- payloadType: Pull_Request
571590
- labelAdded:
@@ -614,7 +633,7 @@ configuration:
614633
then:
615634
- removeMilestone
616635
- addMilestone:
617-
milestone: 9.0.7
636+
milestone: 9.0.9
618637
description: '[Milestone Assignments] Assign Milestone to PRs merged to release/9.0 branch'
619638
- if:
620639
- payloadType: Pull_Request
@@ -625,7 +644,7 @@ configuration:
625644
then:
626645
- removeMilestone
627646
- addMilestone:
628-
milestone: 8.0.18
647+
milestone: 8.0.20
629648
description: '[Milestone Assignments] Assign Milestone to PRs merged to release/8.0 branch'
630649
- if:
631650
- payloadType: Issues
@@ -742,3 +761,5 @@ configuration:
742761
description: '[Infrastructure PRs] Add area-infrastructure label to dependabot update Pull Requests & enable auto-merge'
743762
onFailure:
744763
onSuccess:
764+
765+

.github/workflows/backport.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
jobs:
1616
backport:
17-
uses: dotnet/arcade/.github/workflows/backport-base.yml@d777c20040bdc2e52b372fa98dcb84141ed692d3 # 2025-01-13
17+
uses: dotnet/arcade/.github/workflows/backport-base.yml@fac534d85b77789bd4daf2b4c916117f1ca381e7 # 2025-01-13
1818
with:
1919
pr_description_template: |
2020
Backport of #%source_pr_number% to %target_branch%
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
## Description
2+
3+
Selenium is used in the aspnetcore repo for automated E2E integration testing.
4+
Playwright is used in the aspnetcore repo for some benchmarking apps. We need to ensure the docker file and the package version match.
5+
6+
## Instructions
7+
8+
To update the Selenium and Playwright versions, these files need to be updated:
9+
10+
### Packages
11+
- [ ] [Selenium in `Versions.props`](eng/Versions.props) from NuGet:
12+
- [ ] [Selenium.WebDriver](https://www.nuget.org/packages/Selenium.WebDriver/) (Config variable `SeleniumWebDriverVersion`)
13+
- [ ] [Selenium.Support](https://www.nuget.org/packages/Selenium.Support/) (Config variable `SeleniumSupportVersion`)
14+
- [ ] Ensure Playwright versions match
15+
- [ ] [Blazor Wasm benchmarks in `src/Components/benchmarkapps/Wasm.Performance/dockerfile`](src/Components/benchmarkapps/Wasm.Performance/dockerfile) (image starts with `mcr.microsoft.com`)
16+
- [ ] [Playwright package version](eng/Versions.props) (Config variable `PlaywrightVersion`)
17+
18+
## Actions
19+
20+
Please, open the PR against `main` branch and include changes to the files listed above.
21+
22+
Also:
23+
- mention @dotnet/aspnet-build in the opened Pull Request - this will be a responsible engineer for changes validation.
24+
- add the `build-ops` label to the opened Pull Request
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: "[Monthly] Schedule Browser-Testing Dependencies Update Issue"
2+
3+
on:
4+
schedule:
5+
# Runs on the first day of every month at midnight UTC
6+
- cron: '0 0 1 * *'
7+
workflow_dispatch: # for manual triggering
8+
9+
jobs:
10+
create-issue:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
14+
issues: write
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v5
18+
19+
# copilot can be assigned to the issue
20+
# https://cli.github.com/manual/gh_issue_create
21+
- name: Create Issue From Template
22+
env:
23+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
GH_REPO: ${{ github.repository }}
25+
run: |
26+
gh issue create \
27+
--title "Request Browser-Testing Dependencies Update" \
28+
--body-file ".github/workflows/browsertesting-issue-body.md" \
29+
--assignee "@copilot"

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
# You can define any steps you want, and they will run before the agent starts.
1515
# If you do not check out your code, Copilot will do this for you.
1616
steps:
17-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17+
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.2.2
1818

1919
# Include PrepareForHelix to maximise what is downloaded here
2020
- name: Build solution

.github/workflows/inter-branch-merge-flow.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ on:
77
permissions:
88
contents: write
99
pull-requests: write
10+
issues: write
1011

1112
jobs:
1213
Merge:
13-
uses: dotnet/arcade/.github/workflows/backport-base.yml@d777c20040bdc2e52b372fa98dcb84141ed692d3 # 2024-06-24
14+
uses: dotnet/arcade/.github/workflows/inter-branch-merge-base.yml@fac534d85b77789bd4daf2b4c916117f1ca381e7 # 2024-06-24

0 commit comments

Comments
 (0)