-
-
Notifications
You must be signed in to change notification settings - Fork 2
feat: add --dry-run flag to mutating commands #387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
5fc06b9
feat: add --dry-run flag to `sentry api` and `sentry project create`
BYK 736860b
chore: regenerate SKILL.md
github-actions[bot] a6e26f5
fix: address BugBot findings in dry-run implementation
BYK 8f9b2e0
fix: align multiline JSON body indentation in dry-run output
BYK ba7e070
fix: dry-run shows would-be auto-created team instead of erroring
BYK 6c4a191
fix: remove output: json from api command, add explicit --json flag
BYK 6bd2e8e
chore: regenerate SKILL.md
github-actions[bot] d02f40b
fix: restore output: json and support --fields on api response
BYK 597404a
chore: regenerate SKILL.md
github-actions[bot] 2d891cb
refactor: use writeOutput for dry-run in project create
BYK 7f8df47
fix: dry-run includes auto-inferred Content-Type header
BYK 1e91caa
fix: move DryRunData type and formatDryRun after all imports
BYK 849aad2
refactor: use mdKvTable for dry-run output in project create
BYK d4a7de3
refactor: unify dry-run and normal output in project create
BYK 1617ab3
refactor: api dry-run returns { data } through output wrapper
BYK 70e7f2d
refactor: api command uses JSON-only output for both normal and dry-run
BYK 6980508
refactor: api command uses return-based output, remove buildDryRunReq…
BYK 042d264
remove dead writeResponseBody function and its tests
BYK 997570c
fix: use process.exit(1) for api error responses
BYK 922a650
fix: api command preserves raw string responses, fix null body header…
BYK b307377
fix: remove duplicate comment line in dry-run section
BYK 864f4d4
refactor: replace exitCode on CommandOutput with OutputError throw pa…
BYK 68758b6
refactor: eliminate all direct stdout writes from api command
BYK 6448bd9
refactor: remove --include, move --verbose to logger.debug()
BYK c73b1dd
chore: regenerate SKILL.md
github-actions[bot] f388616
fix: E2E failures from --include removal, --verbose to stderr, null o…
BYK 0e7fc30
fix: consola routes debug/info to stdout in non-TTY mode
BYK 14905d3
fix: --silent suppresses --verbose output, extract log helpers
BYK File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.