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

Tone down logging in FlowExecutionList.iterator #303

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

jglick
Copy link
Member

@jglick jglick commented Aug 24, 2023

https://github.com/jenkinsci/workflow-job-plugin/blob/d9fa65f771dd7e6ff962e7540c867a36e6b2963b/src/main/java/org/jenkinsci/plugins/workflow/job/WorkflowRun.java#L992-L996 would probably mean https://github.com/jenkinsci/workflow-job-plugin/blob/d9fa65f771dd7e6ff962e7540c867a36e6b2963b/src/main/java/org/jenkinsci/plugins/workflow/job/WorkflowRun.java#L750-L755 was logged already, so the did not yet start message adds nothing of interest. (getOrNull is not the same as get except returning null rather than throwing IOException; it has a completely different implementation and does not look to force the execution to be loaded, as we wish to do here.)

@jglick jglick added the bug label Aug 24, 2023
@jglick jglick requested a review from dwnusbaum August 24, 2023 20:26
@jglick jglick enabled auto-merge August 24, 2023 20:29
@jglick jglick merged commit a2ff520 into jenkinsci:master Aug 24, 2023
@jglick jglick deleted the FlowExecutionList-logging branch August 24, 2023 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants