Skip to content

Add a support bundle command for local run state#359

Merged
jongio merged 1 commit into
mainfrom
idea/support-bundle-command
Jul 2, 2026
Merged

Add a support bundle command for local run state#359
jongio merged 1 commit into
mainfrom
idea/support-bundle-command

Conversation

@jongio

@jongio jongio commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Closes #352

Adds azd app support-bundle to collect a local diagnostics folder with a manifest, redacted azure.yaml, service info, health data, and recent local logs.

Verification:

  • go build ./... passed
  • go test ./src/cmd/app/commands -run 'TestNewSupportBundleCommand|TestRedactSecretText|TestWriteRedactedAzureYaml|TestRunSupportBundleCreatesFiles' passed
  • go test ./... had a Windows timing failure in TestShutdownAllServices_ContextTimeout; the failure is outside this change

Closes #352

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jongio jongio self-assigned this Jun 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Website Preview

Your PR preview is ready!

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

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

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

codecov Bot commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 68.61702% with 59 lines in your changes missing coverage. Please review.
✅ Project coverage is 57.46%. Comparing base (04ee089) to head (0790227).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
cli/src/cmd/app/commands/support_bundle.go 68.61% 33 Missing and 26 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #359      +/-   ##
==========================================
+ Coverage   57.34%   57.46%   +0.11%     
==========================================
  Files         187      188       +1     
  Lines       24420    24608     +188     
==========================================
+ Hits        14003    14140     +137     
- Misses       9493     9517      +24     
- Partials      924      951      +27     
Flag Coverage Δ
unittests 57.46% <68.61%> (+0.11%) ⬆️

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/support_bundle.go 68.61% <68.61%> (ø)

... and 3 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.19.5-pr359) is ready for testing!

🌐 Website Preview

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

One-Line Install (Recommended)

PowerShell (Windows):

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

Bash (macOS/Linux):

curl -fsSL https://raw.githubusercontent.com/jongio/azd-app/main/cli/scripts/install-pr.sh | bash -s 359 0.19.5-pr359

Uninstall

When you're done testing:

PowerShell (Windows):

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

Bash (macOS/Linux):

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

Build Info:

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

@jongio jongio added the idea Feature idea from the idea pipeline label Jul 2, 2026
@jongio jongio merged commit c2ee1bb into main Jul 2, 2026
20 checks passed
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 support bundle command for local run state

1 participant