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(sdk): Fix a substract with overflow in LinkedChunk #3578

Merged

Conversation

Hywan
Copy link
Member

@Hywan Hywan commented Jun 19, 2024

This patch fixes a panic in LinkedChunk where we substract with overflow when fetching the latest position of an item in an empty Chunk.


@Hywan Hywan requested a review from a team as a code owner June 19, 2024 10:18
@Hywan Hywan requested review from poljar and removed request for a team June 19, 2024 10:18
Copy link

codecov bot commented Jun 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.84%. Comparing base (6340eea) to head (edcd573).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3578      +/-   ##
==========================================
- Coverage   83.85%   83.84%   -0.02%     
==========================================
  Files         254      254              
  Lines       25984    25984              
==========================================
- Hits        21790    21786       -4     
- Misses       4194     4198       +4     

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

Copy link
Contributor

@poljar poljar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense.

@Hywan Hywan merged commit 0cd93a2 into matrix-org:main Jun 19, 2024
38 checks passed
@Hywan Hywan mentioned this pull request Jun 19, 2024
37 tasks
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