Skip to content

Never abort deployment on validation errors - always let user choose #7115

Description

@vhvb1989

Context

Follow-up from PR #7053 review. Parent tracking issue: #7112

PR Conversations

What needs to change

  1. Remove code that blocks/aborts deployment when validation errors are found.
  2. Always ask the user whether to stop and fix or try to deploy anyway, even for errors that seem certain to fail.
  3. Validation should be strictly informational with ignorable warnings — forward compatibility concerns mean we should never block based on heuristics that could become stale.

Files to update

  • cli/azd/pkg/infra/provisioning/bicep/bicep_provider.go (line ~2185)
  • cli/azd/docs/design/local-preflight-validation.md (update design to reflect non-blocking behavior)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions