Add a support bundle command for local run state#359
Conversation
Closes #352 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
🚀 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. |
Codecov Report❌ Patch coverage is
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
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
🚀 Test This PRA preview build ( 🌐 Website PreviewLive 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-pr359UninstallWhen 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 359Build Info:
What to Test: |
Closes #352
Adds
azd app support-bundleto collect a local diagnostics folder with a manifest, redacted azure.yaml, service info, health data, and recent local logs.Verification:
go build ./...passedgo test ./src/cmd/app/commands -run 'TestNewSupportBundleCommand|TestRedactSecretText|TestWriteRedactedAzureYaml|TestRunSupportBundleCreatesFiles'passedgo test ./...had a Windows timing failure inTestShutdownAllServices_ContextTimeout; the failure is outside this change