Skip to content

fix(gca): announce max sizes where 32bytes too large - #3048

Merged
toktok-releaser merged 1 commit into
TokTok:masterfrom
Green-Sky:gca_announce_sizing
May 23, 2026
Merged

fix(gca): announce max sizes where 32bytes too large#3048
toktok-releaser merged 1 commit into
TokTok:masterfrom
Green-Sky:gca_announce_sizing

Conversation

@Green-Sky

@Green-Sky Green-Sky commented May 21, 2026

Copy link
Copy Markdown
Member

Analysis complained on the sender side that it might overflow. In practice this could never happen.


This change is Reviewable

@github-actions github-actions Bot added the bug Bug fix for the user, not a fix to a build script label May 21, 2026
@Green-Sky
Green-Sky force-pushed the gca_announce_sizing branch from 9cf376b to 06ff743 Compare May 21, 2026 08:03
@Green-Sky
Green-Sky marked this pull request as ready for review May 21, 2026 08:04
@Green-Sky Green-Sky added this to the v0.2.23 milestone May 21, 2026
@Green-Sky
Green-Sky requested a review from a team May 21, 2026 08:40
@JFreegman

Copy link
Copy Markdown
Member

It's been a few years since I looked at this code. How is it 32 bytes too large?

Comment thread toxcore/group_announce.h
@Green-Sky
Green-Sky force-pushed the gca_announce_sizing branch from 06ff743 to 38affe5 Compare May 21, 2026 15:53
@Green-Sky Green-Sky changed the title fix: group chat announce max sizes where 32bytes too large fix(gca): announce max sizes where 32bytes too large May 21, 2026

@JFreegman JFreegman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@JFreegman reviewed 5 files and all commit messages.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained.

@codecov

codecov Bot commented May 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.42%. Comparing base (da995d4) to head (38affe5).
⚠️ Report is 7 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3048      +/-   ##
==========================================
+ Coverage   68.10%   69.42%   +1.32%     
==========================================
  Files         184      184              
  Lines       34361    34361              
==========================================
+ Hits        23401    23856     +455     
+ Misses      10960    10505     -455     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Green-Sky
Green-Sky force-pushed the gca_announce_sizing branch from 38affe5 to 5080b21 Compare May 23, 2026 12:47
@toktok-releaser
toktok-releaser merged commit 5080b21 into TokTok:master May 23, 2026
106 of 107 checks passed
@Green-Sky
Green-Sky deleted the gca_announce_sizing branch May 23, 2026 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Bug fix for the user, not a fix to a build script

Development

Successfully merging this pull request may close these issues.

3 participants