-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
only set the build timestamps exactly once #15483
only set the build timestamps exactly once #15483
Conversation
@csrwng ptal |
hm. need to rework how starttime is handled still. |
0f3146e
to
f3d5ce1
Compare
@csrwng ok now it should be ready for review. |
/test extended_builds |
@bparees so now we set the log snippet even if the build is not failed. Is that ok? |
hm.. well we won't find a log snippet to set unless the pod failed, but i should probably make the check better. |
313d341
to
6aaa9eb
Compare
@csrwng updated. |
note that the idea here is to rely on update.IsEmpty() now. |
You should also check whether LogSnippet is empty before setting it. |
6aaa9eb
to
0ce1e41
Compare
good catch. done. |
/lgtm |
/approve no-issue |
A follow up for a test that verifies builds only write once ina variety of scenarios would be appreciated. |
Link to release 3.6 pr here please. |
incidentally our shouldIgnore check on handleBuild should already be keeping us out of a lot of this code (any build that's failed, with a timestamp, and with a logsnippet, will be ignored) so it's a bit of belt+suspenders. |
0ce1e41
to
cd8b86d
Compare
cd8b86d
to
30a160d
Compare
30a160d
to
525798c
Compare
lgtm re-added, only change was to the tests. |
/test extended_builds |
backport PR: #15487 |
/retest |
/approve no-issue |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bparees, csrwng Associated issue requirement bypassed by: bparees The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/retest |
1 similar comment
/retest |
Automatic merge from submit-queue (batch tested with PRs 15447, 15411, 15483, 15478, 15481) |
fixes bug https://bugzilla.redhat.com/show_bug.cgi?id=1475557