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

Fix really long log issues in remote runners #801

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

tateexon
Copy link
Contributor

@tateexon tateexon commented Dec 13, 2023

readStdPipe can now read any size string coming in whereas before it would top out at the default bufio buffer size.
When pushing logs through a test running in k8s to the remote runner we now break them up in chunks of 50,000 since going much larger can cause issues with kubectl and also github actions runners.

@codecov-commenter
Copy link

codecov-commenter commented Dec 13, 2023

Codecov Report

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

Comparison is base (dc1b07f) 20.19% compared to head (8e84add) 17.72%.
Report is 1 commits behind head on main.

Files Patch % Lines
k8s/client/cmd.go 88.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #801      +/-   ##
==========================================
- Coverage   20.19%   17.72%   -2.47%     
==========================================
  Files          27       32       +5     
  Lines        3462     4198     +736     
==========================================
+ Hits          699      744      +45     
- Misses       2688     3378     +690     
- Partials       75       76       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tateexon tateexon force-pushed the triage-max-log-length-in-remote-runner branch from 1baff97 to 913ea99 Compare December 13, 2023 17:53
@tateexon tateexon force-pushed the triage-max-log-length-in-remote-runner branch from 913ea99 to b8f361d Compare December 13, 2023 18:08
@tateexon tateexon force-pushed the triage-max-log-length-in-remote-runner branch from b8f361d to 3d4b513 Compare December 13, 2023 18:33
@tateexon tateexon force-pushed the triage-max-log-length-in-remote-runner branch from 3d4b513 to 3f22399 Compare December 13, 2023 18:55
@tateexon tateexon force-pushed the triage-max-log-length-in-remote-runner branch from 3f22399 to b0d289d Compare December 13, 2023 19:21
@cl-sonarqube-production
Copy link

SonarQube Quality Gate

Quality Gate failed

Failed condition 5.0% 5.03% Duplicated Lines (%) on New Code (is greater than 3%)

See analysis details on SonarQube

@tateexon tateexon changed the title Triage really long logs issues Fix really long log issues in remote runners Dec 13, 2023
@tateexon tateexon marked this pull request as ready for review December 13, 2023 22:04
@tateexon tateexon requested review from sebawo and a team as code owners December 13, 2023 22:04
@tateexon tateexon merged commit aae0fd8 into main Dec 13, 2023
15 of 16 checks passed
@tateexon tateexon deleted the triage-max-log-length-in-remote-runner branch December 13, 2023 22:50
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.

4 participants