-
Notifications
You must be signed in to change notification settings - Fork 168
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
kola/harness.go: add info to recently expired snooze #3515
Conversation
Skipping CI for Draft Pull Request. |
fa1a2e0
to
d06ac67
Compare
From a quick look, you probably want to squash your commits :-) |
Now that was a quick response, thanks :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a super important review comment ™️
/retest |
This currently doesn't tell me much information about which test was unsnoozed recently:
|
I think this information would be most useful if it was presented to the user along with the failure message.. i.e. The user is more likely to skip over the "header" at the top and just look at the failure message itself and we'll end up in the same situation we are in today where someone goes down the road of investigating a test failure when the problem is already well known. If we could get something like what was described in #3462 (comment) that would be more helpful (though I admit this would be harder to achieve):
I'd be happy to modify that to include an emoji :) What you have in this PR already is useful too, though. So we could maybe print the information at the top like you are doing now AND include it along with a failure. WDYT? |
Agreed.
I will try now to include it along with the failure, as it was originally stated in the linked issue. |
mantle/cmd/kola/testiso.go
Outdated
// CheckLastSnooze is verifying if the last snooze recently expired | ||
func CheckLastSnooze(snoozeDate string) { | ||
if snoozeDate != "" { | ||
snoozeDate, err := time.Parse(kola.SnoozeFormat, snoozeDate) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should that be snoozeFormat
due that the revert change you did?
/do-not-merge |
/ok-to-test |
/retest |
Just to summarize the work on this issue I would like to extend my gratitude to everyone for their patience. I was stuck in a loophole trying to re-work what was already done some months ago. Since I had no previous exposure to Go I was taking time in finding a way around it. First I was focusing on the testiso.go where I spotted an opportunity to modify 'FAIL' result prompt. Without an understanding of the correct usage of functions/methods in Go I was ignoring the |
4d15d95
to
f439356
Compare
Due to recent developments, this is no longer required. |
Fix: #3462