Skip to content

fix(recorder-core): declare final Drive size at part boundaries - #2891

Merged
richiemcilroy merged 2 commits into
CapSoftware:mainfrom
yashranaway:fix/recorder-core-drive-final-size
Oct 22, 2026
Merged

richiemcilroy merged 2 commits into
CapSoftware:mainfrom
yashranaway:fix/recorder-core-drive-final-size

Conversation

@yashranaway

@yashranaway yashranaway commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

the browser recorder uploads to google drive in 16 mb parts with an unknown total, and only the last request tells drive the final size. if a recording happened to stop right after an exact multiple of 16 mb had been flushed, there was nothing left to send, so no request ever declared the total and the drive upload stayed incomplete.

now when the buffer holds exactly a full drive part it keeps it until the next chunk or stop, so finishing always has a part to send with the real size. other providers are unchanged. tests stop at one and two part boundaries and check the final request.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge.

Summary

Keeps one full Google Drive part buffered so stopping at a part boundary still sends a request with the final size.

  • Google Drive uploads keep a full part back until more data arrives or recording stops.

Reviews (1) · Last reviewed commit: "fix(recorder-core): declare final Drive ..." · Reviewed by Greptile

@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

@vercel

vercel Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
cap-status Skipped Skipped Oct 22, 2026 12:23pm UTC

@vercel
vercel Bot temporarily deployed to Preview – cap-status October 22, 2026 07:45 Inactive
@vercel
vercel Bot temporarily deployed to Preview – cap-status October 22, 2026 12:23 Inactive
@richiemcilroy
richiemcilroy merged commit d5e397a into CapSoftware:main Oct 22, 2026
28 of 29 checks passed

This branch was previously deployed

1 inactive deployment
Preview – cap-status — de5313fc Deployed Oct 22, 2026 by vercel[bot]
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