Suppress logs when running non-interactive mode#115
Conversation
There was a problem hiding this comment.
Pull request overview
This PR suppresses verbose logging in non-interactive mode to improve UX and perceived performance. The changes focus on removing intermediate log messages when running with the --yes flag, while preserving essential output.
Key changes:
- Streamlined output for non-interactive mode by removing intermediate log messages
- Consolidated final output to show only the connection string
- Improved error message structure by using a dedicated error object
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| packages/get-db/src/lib/texts.ts | Removed unused message functions and added structured error object for referrer validation |
| packages/get-db/src/lib/instant-postgres.ts | Removed verbose logging statements for connection strings and env file updates |
| packages/get-db/src/cli.ts | Conditionally suppressed intro art and non-interactive message; simplified final output |
| .changeset/four-guests-dig.md | Added changeset documentation for the log suppression feature |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@atilafassina I've opened a new pull request, #117, to work on those changes. Once the pull request is ready, I'll request review from you. |
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: atilafassina <2382552+atilafassina@users.noreply.github.com>
|
@atilafassina I've opened a new pull request, #118, to work on those changes. Once the pull request is ready, I'll request review from you. |
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: atilafassina <2382552+atilafassina@users.noreply.github.com>
logs are too verbose when running non-interactive.
This reduces the information to the bare essentials. Offering better UX and perceived-performance.
detailed description