Skip to content

DX-3088: version the upload protocol - #8

Merged
CahidArda merged 5 commits into
mainfrom
DX-3088-protocol-version
Oct 23, 2026
Merged

CahidArda merged 5 commits into
mainfrom
DX-3088-protocol-version

Conversation

@ytkimirti

@ytkimirti ytkimirti commented Sep 29, 2026 •

Copy link
Copy Markdown
Collaborator

Adds an integer protocol (1) to the upload route wire, separate from the package version: the client sends it on every POST, the server on GET constraints and every successful answer, all in the JSON body.
Missing or invalid means 1 and nothing is refused over it; each answer is read by its own number, so a deploy mixing releases mid-upload stays safe.
The contract is documented in src/shared/protocol.ts for blob-py to mirror.

@linear-code

linear-code Bot commented Sep 29, 2026

Copy link
Copy Markdown

DX-3088

@ytkimirti
ytkimirti marked this pull request as ready for review October 1, 2026 06:41
@CahidArda
CahidArda merged commit bdfe333 into main Oct 23, 2026
7 checks passed
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