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

improvement(k8s): less verbose Run/Test errors #4894

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

thsig
Copy link
Collaborator

@thsig thsig commented Jul 26, 2023

What this PR does / why we need it:

We now only log the full pod status on the debug log level and above when a Test or Run fails.

This makes e.g. logs for failing Tests much less verbose by default, which should be a UX improvement.

We now only log the full pod status on the debug log level and above
when a Test or Run fails.

This makes e.g. logs for failing Tests much less verbose by default,
which should be a UX improvement.
moduleName,
version,
success: false,
startedAt,
completedAt: new Date(),
command,
exitCode: err.detail.exitCode,
errorDetail: err.detail,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't seem to read this explicitly in the caller-side code. But this will be printed to the error.log if the RunResult is not successful, right? Then it's definitely good to have more details in the logs.

Copy link
Collaborator

@vvagaytsev vvagaytsev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍 Thank you!

It looks like #4904 duplicates this.

@thsig thsig merged commit ea40c01 into main Aug 1, 2023
@thsig thsig deleted the less-verbose-test-pod-error-logs branch August 1, 2023 11:25
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