Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable debug logging for the validation scripts when GitHub Actions debug logging is enabled #610

Merged
merged 2 commits into from
May 8, 2024

Conversation

tylerbertrand
Copy link
Member

@tylerbertrand tylerbertrand commented May 2, 2024

Currently the GitHub actions for executing the experiments does not include a way to enable debug logging for the validation scripts. This is problematic if there is an issue that only reproduces in CI. This PR updates the experiment actions to read the default environment variable RUNNER_DEBUG to toggle debug logging for the validation scripts. If jobs are re-run with the "Enable debug logging" box checked, the RUNNER_DEBUG environment variable is set, and debug logging will be enabled for the validation scripts.

@tylerbertrand tylerbertrand marked this pull request as draft May 3, 2024 03:05
…e for the validation scripts

This environment variable is set when the "Enable debug logging" box is checked when rerunning GitHub Actions jobs

Signed-off-by: Tyler Bertrand <[email protected]>
@tylerbertrand tylerbertrand changed the title Add input parameter toggling debug logging to experiment actions Enable debug logging for the validation scripts when GitHub Actions debug logging is enabled May 3, 2024
@tylerbertrand tylerbertrand marked this pull request as ready for review May 3, 2024 21:47
@tylerbertrand tylerbertrand merged commit 5e10b33 into main May 8, 2024
5 checks passed
@tylerbertrand tylerbertrand deleted the tb/actions-debug branch May 8, 2024 17:42
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.

3 participants