Skip to content

feat(doctor): add local setup checks#554

Open
jongio wants to merge 1 commit into
mainfrom
idea/local-setup-doctor
Open

feat(doctor): add local setup checks#554
jongio wants to merge 1 commit into
mainfrom
idea/local-setup-doctor

Conversation

@jongio

@jongio jongio commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Adds azd app doctor as a read-only setup checklist. It checks project discovery, azure.yaml parsing, service project paths, required tools, declared ports, and dashboard state with text and JSON output.

Closes #462

Validation: go test ./src/cmd/app/commands -run 'TestDoctor'

Closes #462

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 340b4dd3-b4b3-4f1a-9163-66b16d96fa81
@jongio jongio added the idea Feature idea from the idea pipeline label Jul 24, 2026
@jongio jongio self-assigned this Jul 24, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Website Preview

Your PR preview is ready!

📎 Preview URL: https://jongio.github.io/azd-app/pr/554/

This preview will be automatically cleaned up when the PR is closed.

github-actions Bot added a commit that referenced this pull request Jul 24, 2026
@codecov

codecov Bot commented Jul 24, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 28.49162% with 128 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.94%. Comparing base (dd47eb3) to head (8cf8268).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
cli/src/cmd/app/commands/doctor.go 28.49% 123 Missing and 5 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #554      +/-   ##
==========================================
- Coverage   61.10%   60.94%   -0.16%     
==========================================
  Files         224      225       +1     
  Lines       28989    29168     +179     
==========================================
+ Hits        17713    17777      +64     
- Misses      10081    10188     +107     
- Partials     1195     1203       +8     
Flag Coverage Δ
unittests 60.94% <28.49%> (-0.16%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
cli/src/cmd/app/commands/doctor.go 28.49% <28.49%> (ø)

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Test This PR

A preview build (0.20.0-pr554) is ready for testing!

🌐 Website Preview

Live Preview: https://jongio.github.io/azd-app/pr/554/

One-Line Install (Recommended)

PowerShell (Windows):

iex "& { $(irm https://raw.githubusercontent.com/jongio/azd-app/main/cli/scripts/install-pr.ps1) } -PrNumber 554 -Version 0.20.0-pr554"

Bash (macOS/Linux):

curl -fsSL https://raw.githubusercontent.com/jongio/azd-app/main/cli/scripts/install-pr.sh | bash -s 554 0.20.0-pr554

Uninstall

When you're done testing:

PowerShell (Windows):

iex "& { $(irm https://raw.githubusercontent.com/jongio/azd-app/main/cli/scripts/uninstall-pr.ps1) } -PrNumber 554"

Bash (macOS/Linux):

curl -fsSL https://raw.githubusercontent.com/jongio/azd-app/main/cli/scripts/uninstall-pr.sh | bash -s 554

Build Info:

What to Test:
Please review the PR description and test the changes described there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

idea Feature idea from the idea pipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a local setup doctor command

1 participant