Repository navigation
Conversation
Add --log-format, --result-format and --no-status next to --log-level, each with a DEVSY_* variable. Remove -v, --verbose, -q, --quiet, --debug, --log-output and provider versions --json; they fail with an error that names the replacement. Forward the log level to child processes with --log-level.
✅ Deploy Preview for devsydev canceled.
|
|
Important Review skippedToo many files! This PR contains 112 files, which is 12 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.
|
✅ Deploy Preview for images-devsy-sh canceled.
|
buildAgentCommand still sent the removed --debug flag. The ci e2e still passed --quiet. The microsandbox timing parser read JSON log lines with a trailing quote.
|
@greptileai review |
Confidence Score: 5/5
[High impact] The latest changes appear safe to merge. SummaryThe PR replaces overlapping output flags with separate controls for logs, results, and progress.
No new actionable issues were found in the latest changes. Reviews (3) · Last reviewed commit: "fix(cli): return an invalid log level er..." · Reviewed by Greptile |
The CLI adds --result-format json for run(), and provider versions no longer has --json.
Platform commands replace the root pre-run hook, so Init ran before flags were parsed and --log-level did nothing for the daemon debug setting. Add log.SetLevel and call it from the shared host run wrapper and the platform provider hook.
Skipping the default level let a child with DEVSY_LOG_LEVEL set diverge from a parent explicitly at warn.
|
@greptileai review |
…mmands applyEnvOverrides exited the process on a bad --log-level, so the root never rendered the structured CLI error. Use PersistentPreRunE and return the error.
|
@greptileai review |
|
@coderabbitai full review |
Action not completed
|
Cause
Output control was split across
-v,--debug,-q,--log-output, a hidden--log-formatalias and per-command--json.--log-formatcould not takeauto.Fix
--log-format,--result-formatand--no-statusbeside--log-level, each with aDEVSY_*variable.unknown flagand the replacement.--log-levelto children. Platform commands apply it and return an invalid level as a CLI error.--log-formatand drops--jsonfromprovider versions.Test evidence
Commit c32d47c. Local
go test(193 packages),golangci-lint(CI flags) pass. Not run here: Windows, e2e. Hosted CI pending.