Skip to content

feat(cli): support RAILPACK_VERBOSE and improve mise debug logging#536

Merged
iloveitaly merged 3 commits into
railwayapp:mainfrom
iloveitaly:railpack-verbose
Mar 27, 2026
Merged

feat(cli): support RAILPACK_VERBOSE and improve mise debug logging#536
iloveitaly merged 3 commits into
railwayapp:mainfrom
iloveitaly:railpack-verbose

Conversation

@iloveitaly

Copy link
Copy Markdown
Collaborator

Motivation

Debugging mise execution failures is difficult because logs lack the full command string and the captured stdout/stderr. Additionally, the CLI lacks environment variable support for toggling verbosity, which is necessary for CI environments where passing flags is often inconvenient.

Description

  • Map the RAILPACK_VERBOSE environment variable to the --verbose CLI flag.
  • Update the mise provider to log the full command string, stdout, and stderr at the debug level to improve observability during failures.

Screenshots / Test

  • Verified RAILPACK_VERBOSE=1 correctly enables verbose logging.
  • Confirmed that debug logs now include the full mise command and its output during execution.

Links

(None)

- Prevent command failure when no railpack containers are running by removing the subshell dependency for container stopping.

Generated-by: aiautocommit
- Log the full command string explicitly to facilitate debugging.
- Add debug logging for command standard output and error output.

Generated-by: aiautocommit
@iloveitaly iloveitaly merged commit 5e78e1f into railwayapp:main Mar 27, 2026
226 of 227 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant