Skip to content

Mark Aspire.EndToEnd.Tests as outerloop#15182

Merged
radical merged 5 commits intorelease/13.2from
copilot/mark-aspire-e2e-tests-outerloop
Mar 12, 2026
Merged

Mark Aspire.EndToEnd.Tests as outerloop#15182
radical merged 5 commits intorelease/13.2from
copilot/mark-aspire-e2e-tests-outerloop

Conversation

Copy link
Contributor

Copilot AI commented Mar 12, 2026

Description

Move Aspire.EndToEnd.Tests to Outerloop tests workflow. The other changes are to enable that to work correctly.

  • Also, use 8-core ubuntu runner for the tests

@radical
Copy link
Member

radical commented Mar 12, 2026

@copilot also use the 8-core Ubuntu-latest runner for Aspire.endtoend.tests

Copy link
Contributor Author

Copilot AI commented Mar 12, 2026

@copilot also use the 8-core Ubuntu-latest runner for Aspire.endtoend.tests

Done — added <GithubActionsRunnerLinux>8-core-ubuntu-latest</GithubActionsRunnerLinux> to the .csproj in ab3b3ae.


using Aspire.TestUtilities;

[assembly: OuterloopTest("EndToEnd tests require Docker and are slow")]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😢

@github-actions
Copy link
Contributor

github-actions bot commented Mar 12, 2026

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 15182

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 15182"

@github-actions
Copy link
Contributor

github-actions bot commented Mar 12, 2026

🎬 CLI E2E Test Recordings

The following terminal recordings are available for commit 3771da5:

Test Recording
AddPackageInteractiveWhileAppHostRunningDetached ▶️ View Recording
AddPackageWhileAppHostRunningDetached ▶️ View Recording
AgentCommands_AllHelpOutputs_AreCorrect ▶️ View Recording
AgentInitCommand_DefaultSelection_InstallsSkillOnly ▶️ View Recording
AgentInitCommand_MigratesDeprecatedConfig ▶️ View Recording
AspireAddPackageVersionToDirectoryPackagesProps ▶️ View Recording
AspireUpdateRemovesAppHostPackageVersionFromDirectoryPackagesProps ▶️ View Recording
Banner_DisplayedOnFirstRun ▶️ View Recording
Banner_DisplayedWithExplicitFlag ▶️ View Recording
CertificatesClean_RemovesCertificates ▶️ View Recording
CertificatesTrust_WithNoCert_CreatesAndTrustsCertificate ▶️ View Recording
CertificatesTrust_WithUntrustedCert_TrustsCertificate ▶️ View Recording
CreateAndDeployToDockerCompose ▶️ View Recording
CreateAndDeployToDockerComposeInteractive ▶️ View Recording
CreateAndPublishToKubernetes ▶️ View Recording
CreateAndRunAspireStarterProject ▶️ View Recording
CreateAndRunAspireStarterProjectWithBundle ▶️ View Recording
CreateAndRunJsReactProject ▶️ View Recording
CreateAndRunPythonReactProject ▶️ View Recording
CreateAndRunTypeScriptStarterProject ▶️ View Recording
CreateEmptyAppHostProject ▶️ View Recording
CreateStartAndStopAspireProject ▶️ View Recording
CreateTypeScriptAppHostWithViteApp ▶️ View Recording
DescribeCommandResolvesReplicaNames ▶️ View Recording
DescribeCommandShowsRunningResources ▶️ View Recording
DetachFormatJsonProducesValidJson ▶️ View Recording
DoctorCommand_DetectsDeprecatedAgentConfig ▶️ View Recording
DoctorCommand_WithSslCertDir_ShowsTrusted ▶️ View Recording
DoctorCommand_WithoutSslCertDir_ShowsPartiallyTrusted ▶️ View Recording
LogsCommandShowsResourceLogs ▶️ View Recording
PsCommandListsRunningAppHost ▶️ View Recording
PsFormatJsonOutputsOnlyJsonToStdout ▶️ View Recording
RestoreGeneratesSdkFiles ▶️ View Recording
RunWithMissingAwaitShowsHelpfulError ▶️ View Recording
SecretCrudOnDotNetAppHost ▶️ View Recording
SecretCrudOnTypeScriptAppHost ❌ Upload failed
StagingChannel_ConfigureAndVerifySettings_ThenSwitchChannels ▶️ View Recording
StopAllAppHostsFromAppHostDirectory ▶️ View Recording
StopAllAppHostsFromUnrelatedDirectory ❌ Upload failed
StopNonInteractiveMultipleAppHostsShowsError ▶️ View Recording
StopNonInteractiveSingleAppHost ▶️ View Recording
StopWithNoRunningAppHostExitsSuccessfully ▶️ View Recording
TypeScriptAppHostWithProjectReferenceIntegration ▶️ View Recording

📹 Recordings uploaded automatically from CI run #23026886659

@github-actions
Copy link
Contributor

The transient CI rerun workflow requested reruns for the following jobs after analyzing the failed attempt.
GitHub's job rerun API also reruns dependent jobs, so the retry is being tracked in the rerun attempt.
The job links below point to the failed attempt that matched the retry-safe transient failure rules.

@radical radical force-pushed the copilot/mark-aspire-e2e-tests-outerloop branch from bd20ad0 to 91af188 Compare March 12, 2026 22:10
@radical radical changed the base branch from main to release/13.2 March 12, 2026 22:10
radical and others added 4 commits March 12, 2026 18:18
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@radical radical marked this pull request as ready for review March 12, 2026 22:21
@radical radical force-pushed the copilot/mark-aspire-e2e-tests-outerloop branch from 91af188 to 07e02a8 Compare March 12, 2026 22:21
@radical radical added the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Mar 12, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Moves Aspire.EndToEnd.Tests into the outerloop testing lane (Docker-dependent/slow tests) and updates the specialized test workflow plumbing to support new per-test requirements and runner selection.

Changes:

  • Mark Aspire.EndToEnd.Tests as outerloop and skip it on GitHub Actions unless outerloop is explicitly enabled.
  • Enhance specialized test runsheet generation/workflow to support a new requiresCliArchive capability.
  • Allow test projects to override the GitHub Actions runner label (e.g., use an 8-core Linux runner).

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
tests/Aspire.EndToEnd.Tests/IntegrationServicesTests.cs Adds outerloop annotations to indicate Docker/slow E2E tests.
tests/Aspire.EndToEnd.Tests/AssemblyInfo.cs Marks the entire test assembly as outerloop.
tests/Aspire.EndToEnd.Tests/Aspire.EndToEnd.Tests.csproj Skips tests on GHA unless outerloop is enabled; requests a larger Linux runner.
tests/Aspire.Cli.EndToEnd.Tests/Aspire.Cli.EndToEnd.Tests.csproj Skips CLI E2E tests on GHA except for PRs.
eng/Testing.targets Moves IsGitHubActionsRunner detection out of Testing.targets.
eng/Testing.props Adds IsGitHubActionsRunner detection in props (import earlier in build).
eng/SpecializedTestRunsheetBuilderBase.targets Adds requiresCliArchive + runner overrides; changes how “requiresNugets/TestSdk” are determined.
.github/workflows/specialized-test-runner.yml Plumbs requiresCliArchive through matrix generation and triggers CLI archive build only when needed.

Comment on lines 12 to +15
<IsGithubPullRequest Condition="'$(GITHUB_EVENT_NAME)' == 'pull_request'">true</IsGithubPullRequest>

<!-- See https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables#default-environment-variables -->
<IsGitHubActionsRunner Condition="'$(GITHUB_ACTIONS)' == 'true'">true</IsGitHubActionsRunner>
Copy link

Copilot AI Mar 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MSBuild property naming is inconsistent (IsGithubPullRequest vs IsGitHubActionsRunner). Since these properties are consumed across projects/targets, inconsistent casing makes it harder to discover/remember the correct property name and increases the chance of typos. Consider standardizing on a single convention (e.g., IsGitHub*) and (if needed for compatibility) providing an alias property so both spellings resolve to the same value.

Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@radical radical removed the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Mar 12, 2026
@radical radical enabled auto-merge (squash) March 12, 2026 23:04
@radical radical merged commit 6a7c179 into release/13.2 Mar 12, 2026
759 of 768 checks passed
@radical radical deleted the copilot/mark-aspire-e2e-tests-outerloop branch March 12, 2026 23:40
@dotnet-policy-service dotnet-policy-service bot added this to the 13.2 milestone Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants