Skip to content

Commit f0323f0

Browse files
Merge main into darc-main-39ce1e22-65a5-4162-a416-21e71641c0eb
2 parents 49bd4c1 + 8aa92d9 commit f0323f0

File tree

10 files changed

+311
-293
lines changed

10 files changed

+311
-293
lines changed

.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@fac534d85b77789bd4daf2b4c916117f1ca381e7 # 2024-06-24
14+
uses: dotnet/arcade/.github/workflows/inter-branch-merge-base.yml@fac534d85b77789bd4daf2b4c916117f1ca381e7 # 2024-06-24

eng/Version.Details.props

Lines changed: 92 additions & 92 deletions
Large diffs are not rendered by default.

eng/Version.Details.xml

Lines changed: 185 additions & 185 deletions
Large diffs are not rendered by default.

eng/common/sdk-task.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ Param(
77
[switch] $restore,
88
[switch] $prepareMachine,
99
[switch][Alias('nobl')]$excludeCIBinaryLog,
10+
[switch]$noWarnAsError,
1011
[switch] $help,
1112
[Parameter(ValueFromRemainingArguments=$true)][String[]]$properties
1213
)
1314

1415
$ci = $true
1516
$binaryLog = if ($excludeCIBinaryLog) { $false } else { $true }
16-
$warnAsError = $true
17+
$warnAsError = if ($noWarnAsError) { $false } else { $true }
1718

1819
. $PSScriptRoot\tools.ps1
1920

eng/common/sdk-task.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ show_usage() {
1010

1111
echo "Advanced settings:"
1212
echo " --excludeCIBinarylog Don't output binary log (short: -nobl)"
13+
echo " --noWarnAsError Do not warn as error
1314
echo ""
1415
echo "Command line arguments not listed above are passed thru to msbuild."
1516
}
@@ -52,6 +53,7 @@ exclude_ci_binary_log=false
5253
restore=false
5354
help=false
5455
properties=''
56+
warnAsError=true
5557
5658
while (($# > 0)); do
5759
lowerI="$(echo $1 | tr "[:upper:]" "[:lower:]")"
@@ -73,6 +75,10 @@ while (($# > 0)); do
7375
exclude_ci_binary_log=true
7476
shift 1
7577
;;
78+
--noWarnAsError)
79+
warnAsError=false
80+
shift 1
81+
;;
7682
--help)
7783
help=true
7884
shift 1
@@ -85,7 +91,6 @@ while (($# > 0)); do
8591
done
8692
8793
ci=true
88-
warnAsError=true
8994
9095
if $help; then
9196
show_usage

global.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
"jdk": "latest"
2828
},
2929
"msbuild-sdks": {
30-
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.25418.105",
31-
"Microsoft.DotNet.Helix.Sdk": "10.0.0-beta.25418.105",
32-
"Microsoft.DotNet.SharedFramework.Sdk": "10.0.0-beta.25418.105",
30+
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.25419.104",
31+
"Microsoft.DotNet.Helix.Sdk": "10.0.0-beta.25419.104",
32+
"Microsoft.DotNet.SharedFramework.Sdk": "10.0.0-beta.25419.104",
3333
"Microsoft.Build.NoTargets": "3.7.0",
3434
"Microsoft.Build.Traversal": "3.4.0"
3535
}

package-lock.json

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Components/test/E2ETest/ServerRenderingTests/FormHandlingTests/FormWithParentBindingContextTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1443,7 +1443,6 @@ public void RadioButtonGetsResetAfterSubmittingEnhancedForm()
14431443
}
14441444

14451445
[Fact]
1446-
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/60067")]
14471446
public void SubmitButtonFormactionAttributeOverridesEnhancedFormAction()
14481447
{
14491448
GoTo("forms/form-submit-button-with-formaction");

src/Components/test/E2ETest/Tests/CircuitTests.cs

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ protected override void InitializeAsyncCore()
3535
[InlineData("render-throw")]
3636
[InlineData("afterrender-sync-throw")]
3737
[InlineData("afterrender-async-throw")]
38-
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/57588")]
3938
public void ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(string id)
4039
{
4140
Browser.MountTestComponent<ReliabilityComponent>();
@@ -44,8 +43,7 @@ public void ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(string i
4443
var targetButton = Browser.Exists(By.Id(id));
4544
targetButton.Click();
4645

47-
// Triggering an error will show the exception UI
48-
Browser.Exists(By.CssSelector("#blazor-error-ui[style='display: block;']"));
46+
DismissBlazorErrorUI();
4947

5048
// Clicking the button again will trigger a server disconnect
5149
targetButton.Click();
@@ -54,7 +52,6 @@ public void ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(string i
5452
}
5553

5654
[Fact]
57-
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/57588")]
5855
public void ComponentDisposeMethodThrowsExceptionTerminatesTheCircuit()
5956
{
6057
Browser.MountTestComponent<ReliabilityComponent>();
@@ -67,7 +64,8 @@ public void ComponentDisposeMethodThrowsExceptionTerminatesTheCircuit()
6764
targetButton.Click();
6865
// Clicking it again hides the component and invokes the rethrow which triggers the exception
6966
targetButton.Click();
70-
Browser.Exists(By.CssSelector("#blazor-error-ui[style='display: block;']"));
67+
68+
DismissBlazorErrorUI();
7169

7270
// Clicking it again causes the circuit to disconnect
7371
targetButton.Click();
@@ -95,4 +93,17 @@ void AssertLogContains(params string[] messages)
9593
Assert.Contains(log, entry => entry.Message.Contains(message));
9694
}
9795
}
96+
97+
void DismissBlazorErrorUI()
98+
{
99+
// Triggering an error will show the exception UI
100+
Browser.Exists(By.CssSelector("#blazor-error-ui[style='display: block;']"));
101+
102+
// Dismiss the error UI by clicking the dismiss button
103+
var dismissButton = Browser.Exists(By.CssSelector("#blazor-error-ui .dismiss"));
104+
dismissButton.Click();
105+
106+
// Wait for error UI to be hidden
107+
Browser.Exists(By.CssSelector("#blazor-error-ui[style='display: none;']"));
108+
}
98109
}

src/DataProtection/DataProtection/src/DataProtectionBuilderExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ public static IDataProtectionBuilder ProtectKeysWithDpapi(this IDataProtectionBu
312312
/// </summary>
313313
/// <param name="builder">The <see cref="IDataProtectionBuilder"/>.</param>
314314
/// <param name="protectToLocalMachine">'true' if the key should be decryptable by any
315-
/// use on the local machine, 'false' if the key should only be decryptable by the current
315+
/// user on the local machine, 'false' if the key should only be decryptable by the current
316316
/// Windows user account.</param>
317317
/// <returns>A reference to the <see cref="IDataProtectionBuilder" /> after this operation has completed.</returns>
318318
/// <remarks>

0 commit comments

Comments
 (0)