Closed xremming closed 1 month ago
@jdx I realized that the changes from #129 don't actually work since the log_level
defaults to info in the action.yml file. I'll make a PR later today to restore the behaviour that I did originally, always overriding the process.env["MISE_LOG_LEVEL"]
when running in debug mode. 🤦🏼
Doh, I should've tested the most recent change myself
Classic case of only testing the initial changes and not the ones getting merged.
Would love to write a test case for this but I have no idea how to do that... 🤔 Looks like debug mode can be enabled with an environment variable but is there a way to check the output includes debug output in a nice way? 🤔
Not quite sure what variable needs to be read but based on prior experience and a quick glance at the docs this seems possible.
Basically I am wishing that when a run fails and you use the "Re-run failed jobs" with "Enable debug logging" it would automatically always set the
log_level
todebug
.