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.
Most important of the fixes is the first one, which sets
TRUNK_LAUNCHER_QUIET=false
.The launcher currently completely suppresses all output (including all errors),
unless
TRUNK_LAUNCHER_QUIET
env var is set tofalse
.This prevents each and every one from debugging failed runs.
Redirecting file descriptors like that also disables all
set -vx
output,resulting in a complete blackout and painful debugging.
This PR will always enable launcher output, which is what I prefer, however if you don't like that, it may be changed, so that it's set only if
RUNNER_DEBUG == 1
.Also, you can migrate to
actions/download-artifact@v4
and rewrite this step:trunk-action/action.yaml
Lines 355 to 378 in 03cb46f