Skip to content

Improve testing prompt for a terraform deployment case#1761

Open
fanyang-mono wants to merge 1 commit intomainfrom
dev/yangfan/improve_test_prompt
Open

Improve testing prompt for a terraform deployment case#1761
fanyang-mono wants to merge 1 commit intomainfrom
dev/yangfan/improve_test_prompt

Conversation

@fanyang-mono
Copy link
Copy Markdown
Contributor

Description

The agent chose to use az cli command over azd command for deployment, because the agent over-interpreted the user prompt — "deploy to Azure App Service using Terraform infrastructure" — as a request for pure Terraform, when the skill's own recipe-selection logic says azd+Terraform should be the default.

Update test prompt to see if it improves the deployment flow.

Related Issues

Fixes #1716

Copilot AI review requested due to automatic review settings April 7, 2026 20:05
Copy link
Copy Markdown
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

Updates the azure-deploy integration test prompt for the Terraform App Service “discussion board” scenario to better steer the agent toward the intended azd+Terraform deployment path (and avoid over-interpreting the request as “pure Terraform only”).

Changes:

  • Adjusted the Terraform App Service integration test prompt wording to express Terraform as a preference over Bicep.
Show a summary per file
File Description
tests/azure-deploy/integration.test.ts Tweaks the Terraform App Service test prompt to influence the agent’s recipe/tooling choices during deployment.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

@fanyang-mono fanyang-mono self-assigned this Apr 7, 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.

Integration test failure: azure-deploy – discussion board app service Terraform [Timeout]

3 participants