Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 29, 2025

The deployment-docker test scenario was using manual docker compose up commands instead of the aspire deploy command. This updates the scenario to use the proper Aspire deployment workflow.

Changes

  • Step 6: Replaced "Deploy with Docker Compose" section with "Deploy with Aspire Deploy"

    • Changed deployment command from docker compose up -d to aspire deploy -o docker-compose-output
    • Simplified verification to check deployment status with docker ps
    • Removed endpoint testing subsections (API service testing, web frontend testing, service communication verification)
  • Overview: Updated test validation points to reflect aspire deploy as the deployment method

  • Success Criteria: Changed deployment success condition from "docker compose up successfully deploys" to "aspire deploy successfully deploys"

  • Cleanup Steps: Updated to reference the aspire deploy deployment method in cleanup instructions

  • Checklist & Troubleshooting: Removed references to docker compose up/ps/logs commands and endpoint accessibility testing

Result

The scenario now follows the correct Aspire deployment workflow using aspire deploy instead of manual Docker Compose commands, reducing the test from 9 to 8 steps while maintaining deployment validation.

Original prompt

On prompt.md, Make a change to this file to deploy with aspire deploy as Step 6. Remove the content abouy deploying with Docker Compose.


💡 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.

Copilot AI changed the title [WIP] Update deployment steps in prompt.md Update deployment-docker test scenario to use aspire deploy command Oct 29, 2025
Copilot AI requested a review from captainsafia October 29, 2025 01:22
Copilot finished work on behalf of captainsafia October 29, 2025 01:22
@captainsafia captainsafia marked this pull request as ready for review October 29, 2025 01:23
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

This PR updates the deployment-docker test scenario to use aspire deploy instead of docker compose up for deploying applications. The change simplifies the deployment workflow by using Aspire's built-in deployment command rather than manually invoking Docker Compose, which better represents the intended Aspire deployment experience.

Key changes:

  • Replaced docker compose up workflow with aspire deploy command
  • Simplified deployment verification and cleanup steps
  • Updated success criteria and troubleshooting sections to reflect the new deployment method
Comments suppressed due to low confidence (1)

tests/agent-scenarios/deployment-docker/prompt.md:1

  • The README.md still describes this scenario as 'deploying it using Docker Compose' and lists features like 'Deploys the application with docker compose up'. This documentation should be updated to reflect the new aspire deploy approach to stay consistent with the changes made to the prompt.md file.
# Deployment Docker Scenario

Comment on lines +254 to +256
docker ps -a | grep AspireDockerTest
docker stop $(docker ps -q --filter "name=AspireDockerTest")
docker rm $(docker ps -aq --filter "name=AspireDockerTest")
Copy link

Copilot AI Oct 29, 2025

Choose a reason for hiding this comment

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

The cleanup script uses a hardcoded filter 'AspireDockerTest' which may not match the actual container names created by aspire deploy. The scenario should either specify what the expected container naming pattern is, or provide guidance on how to identify the correct containers to clean up. Consider documenting the expected container naming convention or providing a more generic cleanup approach.

Copilot uses AI. Check for mistakes.

```bash
docker compose ps -a
docker ps -a | grep AspireDockerTest
Copy link

Copilot AI Oct 29, 2025

Choose a reason for hiding this comment

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

The verification step uses the same hardcoded 'AspireDockerTest' filter. This should match the actual container names that will be created, or the instructions should clarify what pattern to search for based on the actual deployment.

Copilot uses AI. Check for mistakes.
@mitchdenny
Copy link
Member

/ba-g markdown scenario

@mitchdenny mitchdenny enabled auto-merge (squash) October 29, 2025 01:27
@github-actions
Copy link
Contributor

github-actions bot commented Oct 29, 2025

🚀 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 -- 12468

Or

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

@mitchdenny mitchdenny merged commit 3f36c13 into main Oct 29, 2025
19 of 21 checks passed
@mitchdenny mitchdenny deleted the copilot/update-deployment-instructions branch October 29, 2025 01:28
@dotnet-policy-service dotnet-policy-service bot added this to the 13.0 milestone Oct 29, 2025
radical pushed a commit that referenced this pull request Oct 29, 2025
…#12468)

* Initial plan

* Update deployment-docker prompt.md to use aspire deploy instead of Docker Compose

Co-authored-by: captainsafia <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: captainsafia <[email protected]>
@github-actions github-actions bot locked and limited conversation to collaborators Nov 28, 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.

3 participants