Skip to content

Revert "Reject short and torn uploads in ByteStream and FilesystemStore, and report QueryWriteStatus honestly (#2881)" - #2953

Merged
MarcusSorealheis merged 1 commit into
TraceMachina:mainfrom
corcillo:corcillo-revert-2881
Oct 16, 2026
Merged

MarcusSorealheis merged 1 commit into
TraceMachina:mainfrom
corcillo:corcillo-revert-2881

Conversation

@corcillo

Copy link
Copy Markdown
Collaborator

What and why

Reverts #2881 for now. It needs a follow-up change before it can go into a release, so it shouldn't ship in the next release on its own. It will be relanded together with that change.

This restores the previous behavior: ByteStream accepts an early finish_write, FilesystemStore commits an upload regardless of the ExactSize hint, and QueryWriteStatus reports complete = true with the store's on-disk size.

How was this verified?

A clean git revert of 264b7eb on current main. No later commit touches the four files, and they match their pre-#2881 state exactly.

Risk

Low. This brings back the gaps #2881 closed: short or torn uploads can be stored and reported as complete, and QueryWriteStatus can report the wrong committed size. That was the behavior before 2026-10-15.

AI assistance

I did a revert of the previous PR via an agent.

…re, and report QueryWriteStatus honestly (TraceMachina#2881)"

This reverts commit 264b7eb.
@vercel

vercel Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
nativelink Ready Ready Preview Oct 16, 2026 1:50pm UTC
nativelink-aidm Ready Ready Preview Oct 16, 2026 1:50pm UTC

Request Review

@MarcusSorealheis MarcusSorealheis 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.

lgtm

@MarcusSorealheis
MarcusSorealheis merged commit bd8c8d9 into TraceMachina:main Oct 16, 2026
38 checks passed

This branch was successfully deployed

2 active deployments
Preview – nativelink — 20a417bb Deployed Oct 16, 2026 by vercel[bot]
Preview – nativelink-aidm — 20a417bb Deployed Oct 16, 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