Skip to content

Fix negative counter handling - #19

Draft
neelp03 wants to merge 2 commits into
v2from
codex/find-and-fix-a-bug-in-codebase
Draft

Fix negative counter handling#19
neelp03 wants to merge 2 commits into
v2from
codex/find-and-fix-a-bug-in-codebase

Conversation

@neelp03

@neelp03 neelp03 commented Jul 11, 2025

Copy link
Copy Markdown
Owner

Summary

  • prevent negative values in MemoryStore.Increment
  • test negative increments for new keys

Testing


https://chatgpt.com/codex/tasks/task_e_6870cf2099d883298a522ff278a3a978

@codecov

codecov Bot commented Jul 11, 2025

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 66.66667% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
store/memory.go 66.66% 2 Missing and 1 partial ⚠️
Flag Coverage Δ
unittests 73.74% <66.66%> (-0.18%) ⬇️

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

Files with missing lines Coverage Δ
store/memory.go 96.36% <66.66%> (-2.67%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@neelp03
neelp03 changed the base branch from main to v2 July 11, 2025 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant