Skip to content

Conversation

Copy link
Contributor

Copilot AI commented May 26, 2025

This PR changes the directory used for temporary working files from .dotnet/aspire/* to .aspire/* in the user's home directory.

The change is motivated by the fact that Aspire might be used by people without much .NET experience who may not need to know that Aspire is built with .NET under the covers. Using .aspire as the directory name presents a more straightforward and accessible path.

The changes were straightforward, affecting only two files:

  1. src/Aspire.Cli/DotNetCliRunner.cs - Updated the path for backchannel unix sockets
  2. tests/Aspire.Hosting.Tests/Utils/UnixSocketHelper.cs - Updated the corresponding test utility

This change only affects the directory structure where temporary files like backchannel sockets are stored, and does not impact functionality. It's important to note that this is not related to the .aspire/settings.json file that's used in the current working directory to cache app host discovery.

Fixes #9504.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: mitchdenny <513398+mitchdenny@users.noreply.github.com>
Copilot AI changed the title [WIP] Change .dotnet/aspire to .aspire Change .dotnet/aspire to .aspire in temporary working files May 26, 2025
Copilot AI requested a review from mitchdenny May 26, 2025 01:43
Co-authored-by: davidfowl <95136+davidfowl@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented May 26, 2025

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • aspireeventhubstests.servicebus.windows.net
    • Triggering command: /home/REDACTED/work/aspire/aspire/.dotnet/dotnet exec --runtimeconfig /tmp/tmpEXcyCe.tmp.runtimeconfig.json --depsfile /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Messaging.EventHubs.Tests/Debug/net8.0/Aspire.Azure.Messaging.EventHubs.Tests.deps.json /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Messaging.EventHubs.Tests/Debug/net8.0/Microsoft.DotNet.RemoteExecutor.dll Aspire.Azure.Messaging.EventHubs.Tests, Version=42.42.42.42, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 Aspire.Azure.Messaging.EventHubs.Tests.ConformanceTests_EventHubProducerClient &lt;TracingEnablesTheRightActivitySource&gt;b__5_0 /tmp/cte01k2r.nfe (dns block)
    • Triggering command: /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Messaging.EventHubs.Tests/Debug/net8.0/Aspire.Azure.Messaging.EventHubs.Tests --filter-not-trait category=failing --ignore-exit-code 8 --filter-not-trait quarantined=true --hangdump --hangdump-timeout 10m --crashdump --results-directory /home/REDACTED/work/aspire/aspire/artifacts/TestResults/Debug --report-xunit --report-xunit-filename Aspire.Azure.Messaging.EventHubs.Tests_net8.0_x64.xml --report-xunit-html --report-xunit-html-filename Aspire.Azure.Messaging.EventHubs.Tests_net8.0_x64.html --report-trx --report-trx-filename Aspire.Azure.Messaging.EventHubs.Tests_net8.0_x64.trx --auto-reporters off --internal-testhostcontroller-pid 6830 (dns block)
    • Triggering command: /home/REDACTED/work/aspire/aspire/.dotnet/dotnet exec --runtimeconfig /tmp/tmpwO9gsX.tmp.runtimeconfig.json --depsfile /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Messaging.EventHubs.Tests/Debug/net8.0/Aspire.Azure.Messaging.EventHubs.Tests.deps.json /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Messaging.EventHubs.Tests/Debug/net8.0/Microsoft.DotNet.RemoteExecutor.dll Aspire.Azure.Messaging.EventHubs.Tests, Version=42.42.42.42, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 Aspire.Azure.Messaging.EventHubs.Tests.ConformanceTests_EventHubProducerClient &lt;TracingEnablesTheRightActivitySource_Keyed&gt;b__6_0 /tmp/m20e5x00.ivc (dns block)
  • aspireservicebustests.servicebus.windows.net
    • Triggering command: /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Messaging.ServiceBus.Tests/Debug/net8.0/Aspire.Azure.Messaging.ServiceBus.Tests --filter-not-trait category=failing --ignore-exit-code 8 --filter-not-trait quarantined=true --hangdump --hangdump-timeout 10m --crashdump --results-directory /home/REDACTED/work/aspire/aspire/artifacts/TestResults/Debug --report-xunit --report-xunit-filename Aspire.Azure.Messaging.ServiceBus.Tests_net8.0_x64.xml --report-xunit-html --report-xunit-html-filename Aspire.Azure.Messaging.ServiceBus.Tests_net8.0_x64.html --report-trx --report-trx-filename Aspire.Azure.Messaging.ServiceBus.Tests_net8.0_x64.trx --auto-reporters off --internal-testhostcontroller-pid 7388 (dns block)
    • Triggering command: /home/REDACTED/work/aspire/aspire/.dotnet/dotnet exec --runtimeconfig /tmp/tmp2d0qHH.tmp.runtimeconfig.json --depsfile /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Messaging.ServiceBus.Tests/Debug/net8.0/Aspire.Azure.Messaging.ServiceBus.Tests.deps.json /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Messaging.ServiceBus.Tests/Debug/net8.0/Microsoft.DotNet.RemoteExecutor.dll Aspire.Azure.Messaging.ServiceBus.Tests, Version=42.42.42.42, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 Aspire.Azure.Messaging.ServiceBus.Tests.ConformanceTests_Topic &lt;TracingEnablesTheRightActivitySource&gt;b__8_0 /tmp/eoqaspdy.ebw (dns block)
    • Triggering command: /home/REDACTED/work/aspire/aspire/.dotnet/dotnet exec --runtimeconfig /tmp/tmpASUuNQ.tmp.runtimeconfig.json --depsfile /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Messaging.ServiceBus.Tests/Debug/net8.0/Aspire.Azure.Messaging.ServiceBus.Tests.deps.json /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Messaging.ServiceBus.Tests/Debug/net8.0/Microsoft.DotNet.RemoteExecutor.dll Aspire.Azure.Messaging.ServiceBus.Tests, Version=42.42.42.42, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 Aspire.Azure.Messaging.ServiceBus.Tests.ConformanceTests_Topic &lt;TracingEnablesTheRightActivitySource_Keyed&gt;b__9_0 /tmp/miu4e3io.org (dns block)
  • aspiretests.vault.azure.net
    • Triggering command: /home/REDACTED/work/aspire/aspire/.dotnet/dotnet exec --runtimeconfig /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Security.KeyVault.Tests/Debug/net8.0/Aspire.Azure.Security.KeyVault.Tests.runtimeconfig.json --depsfile /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Security.KeyVault.Tests/Debug/net8.0/Aspire.Azure.Security.KeyVault.Tests.deps.json /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Security.KeyVault.Tests/Debug/net8.0/Microsoft.DotNet.RemoteExecutor.dll Aspire.Azure.Security.KeyVault.Tests, Version=42.42.42.42, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 Aspire.Azure.Security.KeyVault.Tests.SecretClientConformanceTests &lt;TracingEnablesTheRightActivitySource&gt;b__22_0 /tmp/0x3hkvrk.vom (dns block)
    • Triggering command: /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Security.KeyVault.Tests/Debug/net8.0/Aspire.Azure.Security.KeyVault.Tests --filter-not-trait category=failing --ignore-exit-code 8 --filter-not-trait quarantined=true --hangdump --hangdump-timeout 10m --crashdump --results-directory /home/REDACTED/work/aspire/aspire/artifacts/TestResults/Debug --report-xunit --report-xunit-filename Aspire.Azure.Security.KeyVault.Tests_net8.0_x64.xml --report-xunit-html --report-xunit-html-filename Aspire.Azure.Security.KeyVault.Tests_net8.0_x64.html --report-trx --report-trx-filename Aspire.Azure.Security.KeyVault.Tests_net8.0_x64.trx --auto-reporters off --internal-testhostcontroller-pid 9780 (dns block)
    • Triggering command: /home/REDACTED/work/aspire/aspire/.dotnet/dotnet exec --runtimeconfig /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Security.KeyVault.Tests/Debug/net8.0/Aspire.Azure.Security.KeyVault.Tests.runtimeconfig.json --depsfile /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Security.KeyVault.Tests/Debug/net8.0/Aspire.Azure.Security.KeyVault.Tests.deps.json /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Security.KeyVault.Tests/Debug/net8.0/Microsoft.DotNet.RemoteExecutor.dll Aspire.Azure.Security.KeyVault.Tests, Version=42.42.42.42, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 Aspire.Azure.Security.KeyVault.Tests.SecretClientConformanceTests &lt;TracingEnablesTheRightActivitySource_Keyed&gt;b__23_0 /tmp/2tjd2o2f.uj3 (dns block)
  • aspirewebpubsubtests.webpubsub.azure.com
    • Triggering command: /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Messaging.WebPubSub.Tests/Debug/net8.0/Aspire.Azure.Messaging.WebPubSub.Tests --filter-not-trait category=failing --ignore-exit-code 8 --filter-not-trait quarantined=true --hangdump --hangdump-timeout 10m --crashdump --results-directory /home/REDACTED/work/aspire/aspire/artifacts/TestResults/Debug --report-xunit --report-xunit-filename Aspire.Azure.Messaging.WebPubSub.Tests_net8.0_x64.xml --report-xunit-html --report-xunit-html-filename Aspire.Azure.Messaging.WebPubSub.Tests_net8.0_x64.html --report-trx --report-trx-filename Aspire.Azure.Messaging.WebPubSub.Tests_net8.0_x64.trx --auto-reporters off --internal-testhostcontroller-pid 7877 (dns block)
  • foo.servicebus.windows.net
    • Triggering command: /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Messaging.ServiceBus.Tests/Debug/net8.0/Aspire.Azure.Messaging.ServiceBus.Tests --filter-not-trait category=failing --ignore-exit-code 8 --filter-not-trait quarantined=true --hangdump --hangdump-timeout 10m --crashdump --results-directory /home/REDACTED/work/aspire/aspire/artifacts/TestResults/Debug --report-xunit --report-xunit-filename Aspire.Azure.Messaging.ServiceBus.Tests_net8.0_x64.xml --report-xunit-html --report-xunit-html-filename Aspire.Azure.Messaging.ServiceBus.Tests_net8.0_x64.html --report-trx --report-trx-filename Aspire.Azure.Messaging.ServiceBus.Tests_net8.0_x64.trx --auto-reporters off --internal-testhostcontroller-pid 7388 (dns block)
    • Triggering command: /home/REDACTED/work/aspire/aspire/.dotnet/dotnet exec --runtimeconfig /tmp/tmp2d0qHH.tmp.runtimeconfig.json --depsfile /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Messaging.ServiceBus.Tests/Debug/net8.0/Aspire.Azure.Messaging.ServiceBus.Tests.deps.json /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Messaging.ServiceBus.Tests/Debug/net8.0/Microsoft.DotNet.RemoteExecutor.dll Aspire.Azure.Messaging.ServiceBus.Tests, Version=42.42.42.42, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 Aspire.Azure.Messaging.ServiceBus.Tests.ConformanceTests_Topic &lt;TracingEnablesTheRightActivitySource&gt;b__8_0 /tmp/eoqaspdy.ebw (dns block)
    • Triggering command: /home/REDACTED/work/aspire/aspire/.dotnet/dotnet exec --runtimeconfig /tmp/tmpASUuNQ.tmp.runtimeconfig.json --depsfile /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Messaging.ServiceBus.Tests/Debug/net8.0/Aspire.Azure.Messaging.ServiceBus.Tests.deps.json /home/REDACTED/work/aspire/aspire/artifacts/bin/Aspire.Azure.Messaging.ServiceBus.Tests/Debug/net8.0/Microsoft.DotNet.RemoteExecutor.dll Aspire.Azure.Messaging.ServiceBus.Tests, Version=42.42.42.42, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 Aspire.Azure.Messaging.ServiceBus.Tests.ConformanceTests_Topic &lt;TracingEnablesTheRightActivitySource_Keyed&gt;b__9_0 /tmp/miu4e3io.org (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Co-authored-by: davidfowl <95136+davidfowl@users.noreply.github.com>
@davidfowl davidfowl marked this pull request as ready for review May 26, 2025 08:38
@davidfowl davidfowl merged commit d634e1f into main May 26, 2025
254 checks passed
@davidfowl davidfowl deleted the copilot/fix-9504 branch May 26, 2025 09:09
@github-actions github-actions bot locked and limited conversation to collaborators Jun 26, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change .dotnet/aspire to .aspire

3 participants