Skip to content

Redundant newItem.SetStatus(models.ItemFresh)#425

Merged
NGTmeaty merged 1 commit intointernetarchive:mainfrom
vbanos:double-fresh
Aug 12, 2025
Merged

Redundant newItem.SetStatus(models.ItemFresh)#425
NGTmeaty merged 1 commit intointernetarchive:mainfrom
vbanos:double-fresh

Conversation

@vbanos
Copy link
Copy Markdown
Collaborator

@vbanos vbanos commented Aug 11, 2025

When we create a new item via NewItem or NewItemWithID, we set status as ItemFresh in the constructor.
So, it is not necessary to set it again.

When we create a new item via `NewItem` or `NewItemWithID`, we set
status as `ItemFresh` in the constructor.
So, it is not necessary to set it again.
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Aug 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@5741de8). Learn more about missing BASE report.
⚠️ Report is 114 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #425   +/-   ##
=======================================
  Coverage        ?   55.57%           
=======================================
  Files           ?      119           
  Lines           ?     7313           
  Branches        ?        0           
=======================================
  Hits            ?     4064           
  Misses          ?     2925           
  Partials        ?      324           
Flag Coverage Δ
e2etests 37.47% <ø> (?)
unittests 31.93% <ø> (?)

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 dd277b0 into internetarchive:main Aug 12, 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