Skip to content

Remove multiple redundant log.Start()#431

Merged
NGTmeaty merged 1 commit intointernetarchive:mainfrom
vbanos:remove-log-start
Aug 13, 2025
Merged

Remove multiple redundant log.Start()#431
NGTmeaty merged 1 commit intointernetarchive:mainfrom
vbanos:remove-log-start

Conversation

@vbanos
Copy link
Copy Markdown
Collaborator

@vbanos vbanos commented Aug 13, 2025

We keep log.Start() in the pipeline where all components are initialized and remove every other log.Start() call.

Using log.Start() multiple times doesn't have any effect since it uses sync.Once to run log init only once.

We keep `log.Start()` in the pipeline where all components are
initialized and remove every other `log.Start()` call.

Using `log.Start()` multiple times doesn't have any effect since it uses
`sync.Once` to run log init only once.
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Aug 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.09%. Comparing base (064e4d5) to head (3633d4f).
⚠️ Report is 109 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #431      +/-   ##
==========================================
- Coverage   55.56%   55.09%   -0.47%     
==========================================
  Files         119      119              
  Lines        7291     7284       -7     
==========================================
- Hits         4051     4013      -38     
- Misses       2916     2947      +31     
  Partials      324      324              
Flag Coverage Δ
e2etests 37.51% <ø> (-0.05%) ⬇️
unittests 31.03% <ø> (-0.84%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@NGTmeaty NGTmeaty merged commit 4ab899b into internetarchive:main Aug 13, 2025
2 checks passed
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