Skip to content

Support scoped worktree Aspire runs#2302

Open
ejsmith wants to merge 2 commits into
mainfrom
worktree-scoped-aspire-ports
Open

Support scoped worktree Aspire runs#2302
ejsmith wants to merge 2 commits into
mainfrom
worktree-scoped-aspire-ports

Conversation

@ejsmith

@ejsmith ejsmith commented Jun 8, 2026

Copy link
Copy Markdown
Member

Summary

  • add worktree scope detection and random local port assignment for Aspire app runs
  • keep Elasticsearch, Redis, Storage, and Mail as shared persistent containers while isolating app data with Scope/AppScope
  • make integration tests start the AppHost in services-only mode and use the shared containers with a test app scope
  • expose app_scope from /api/v2/about and add a ClientApp URL helper script

Verification

  • dotnet build .\src\Exceptionless.AppHost\Exceptionless.AppHost.csproj --artifacts-path .\.codex-test-artifacts\apphost-build-services-no-ui
  • dotnet build .\tests\Exceptionless.Tests\Exceptionless.Tests.csproj --artifacts-path .\.codex-test-artifacts\tests-build-services-no-ui
  • dotnet test .\tests\Exceptionless.Tests\Exceptionless.Tests.csproj --artifacts-path .\.codex-test-artifacts\single-integration-services-no-ui -- --filter-method Exceptionless.Tests.Controllers.StatusControllerTests.GetAboutAsync_Anonymous_ReturnsVersionInfo
  • confirmed service-mode tests only started Exceptionless-Elasticsearch, Exceptionless-Redis, Exceptionless-Storage, and Exceptionless-Mail
  • confirmed concurrent AppHost runs report different /api/v2/about scopes: exceptionless2 and exceptionless6

Breaking Changes

None


for (var dir = new DirectoryInfo(AppContext.BaseDirectory); dir != null; dir = dir.Parent)
{
var dotGit = Path.Combine(dir.FullName, ".git");
@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
Exceptionless.Insulation 25% 23% 203
Exceptionless.Web 72% 62% 4107
Exceptionless.AppHost 38% 38% 128
Exceptionless.Core 69% 63% 7906
Summary 68% (13936 / 20355) 62% (7339 / 11884) 12344

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.

1 participant