Skip to content

Add dry-run request preview - #321

Open
jongio wants to merge 1 commit into
mainfrom
idea/dry-run-preview
Open

Add dry-run request preview#321
jongio wants to merge 1 commit into
mainfrom
idea/dry-run-preview

Conversation

@jongio

@jongio jongio commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Closes #141

Summary

  • add --dry-run to print sanitized request metadata as JSON
  • skip token provider setup and HTTP execution during dry runs
  • report body source and byte count without printing body content

Validation

  • go test -v -short .\src\internal\service .\src\internal\cmd
  • mage preflight reached govulncheck, then failed because govulncheck is built with Go 1.25 while this repo requires Go 1.26

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 Bot added a commit that referenced this pull request Jul 24, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Website Preview

Your PR preview is ready!

📎 Preview URL: https://jongio.github.io/azd-rest/pr/321/

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

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Test This PR

A preview build (0.5.0-pr321) is ready for testing!

One-Line Install (Recommended)

PowerShell (Windows):

iex "& { $(irm https://raw.githubusercontent.com/jongio/azd-rest/main/scripts/install-pr.ps1) } -PrNumber 321 -Version 0.5.0-pr321"

Bash (macOS/Linux):

curl -fsSL https://raw.githubusercontent.com/jongio/azd-rest/main/scripts/install-pr.sh | bash -s 321 0.5.0-pr321

Uninstall

PowerShell (Windows):

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

Bash (macOS/Linux):

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

Build Info:

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 safe dry-run output for request review

1 participant