Skip to content

fix: prevent colscan from housekeeper, comment find and count operations on mongo#64

Merged
cezar-tech merged 1 commit intotakenet:mainfrom
cezar-tech:main
Mar 20, 2025
Merged

fix: prevent colscan from housekeeper, comment find and count operations on mongo#64
cezar-tech merged 1 commit intotakenet:mainfrom
cezar-tech:main

Conversation

@cezar-tech
Copy link
Copy Markdown
Collaborator

No description provided.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.93%. Comparing base (5a2182c) to head (87ae186).
Report is 41 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #64      +/-   ##
==========================================
- Coverage   82.11%   81.93%   -0.19%     
==========================================
  Files          26       27       +1     
  Lines        3696     3780      +84     
==========================================
+ Hits         3035     3097      +62     
- Misses        519      542      +23     
+ Partials      142      141       -1     
Files with missing lines Coverage Δ
internal/queue/queue.go 91.54% <100.00%> (+0.10%) ⬆️
internal/queue/queue_housekeeper.go 79.56% <100.00%> (+0.22%) ⬆️
internal/queue/storage/memory_storage.go 75.31% <100.00%> (ø)
internal/queue/storage/mongo_storage.go 80.88% <100.00%> (+1.16%) ⬆️
internal/queue/storage/storage.go 0.00% <ø> (ø)

... and 1 file with indirect coverage changes

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

* prevent colscan on accidental empty queue configuration housekeeper jobs
* add comments do mongo operations for debugging

Signed-off-by: Cézar Augusto Nascimento e Silva <cezar.silva@blip.ai>
@cezar-tech cezar-tech merged commit 8e98210 into takenet:main Mar 20, 2025
5 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.

2 participants