Skip to content

Conversation

@andinux
Copy link
Collaborator

@andinux andinux commented Nov 5, 2025

This PR fixes the payload encoder’s buffer bookkeeping and adds coverage to catch regressions:

  • adjust cloudsync_buffer_check so the first row allocates space for the payload header before reusing or growing the working buffer
  • add unit-level “Payload Buffer” scenarios that replicate the Android test sequence and verify encoded length for blobs up to 10 MB, making the payload helper size configurable

@andinux andinux self-assigned this Nov 5, 2025
@andinux andinux added the bug Something isn't working label Nov 5, 2025
@andinux andinux merged commit 0964d9c into main Nov 5, 2025
15 checks passed
@andinux andinux deleted the fix/payload-buffer-reserve branch November 5, 2025 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants