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

Do not set stdoutErr at the end of EOF retry #941

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

TheRealHaoLiu
Copy link
Member

stdoutErr is use to determine errDetail that's used in kw.UpdateBasicStatus(WorkStateFailed, errDetail, stdout.Size())

in case where we retried 5 time and did not read any new log messages it is not an error it's the expected happy path so we should not set stdoutErr

stdoutErr is use to determine `errDetail` that's used in `kw.UpdateBasicStatus(WorkStateFailed, errDetail, stdout.Size())`

in case where we retried 5 time and did not read any new log messages it is not an error it's the expected happy path so we should not set stdoutErr
Copy link

sonarqubecloud bot commented Feb 6, 2024

Quality Gate Failed Quality Gate failed

Failed conditions

4.4% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@codecov-commenter
Copy link

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (9f05dd2) 36.57% compared to head (de7554e) 36.52%.
Report is 1 commits behind head on devel.

@@            Coverage Diff             @@
##            devel     #941      +/-   ##
==========================================
- Coverage   36.57%   36.52%   -0.05%     
==========================================
  Files          42       42              
  Lines        7878     7884       +6     
==========================================
- Hits         2881     2880       -1     
- Misses       4826     4835       +9     
+ Partials      171      169       -2     
Files Coverage Δ
pkg/workceptor/kubernetes.go 2.51% <0.00%> (-0.02%) ⬇️

... and 3 files with indirect coverage changes

Copy link
Contributor

@AaronH88 AaronH88 left a comment

Choose a reason for hiding this comment

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

lgtm

@AaronH88 AaronH88 merged commit cae6862 into ansible:devel Feb 7, 2024
14 of 15 checks passed
@TheRealHaoLiu TheRealHaoLiu deleted the happy-eof branch February 7, 2024 16:20
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