Skip to content

[pull] main from tldraw:main#610

Merged
pull[bot] merged 1 commit into
code:mainfrom
tldraw:main
Jun 21, 2026
Merged

[pull] main from tldraw:main#610
pull[bot] merged 1 commit into
code:mainfrom
tldraw:main

Conversation

@pull

@pull pull Bot commented Jun 21, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

In order to speed up the SDK publish workflow, this PR uploads static
assets to the CDN with bounded concurrency instead of one file at a
time.

Previously `uploadStaticAssets` walked the assets tree and `await`ed
each R2 `PutObjectCommand` sequentially, so every upload waited for the
previous one to finish even though they're fully independent. With many
asset files this dominated the publish step. The upload now collects
every file up front and processes them through a small worker pool (16
concurrent uploads), so wall time drops to roughly the previous time
divided by the concurrency limit while staying well-behaved against R2.

### Change type

- [x] `improvement`

### Test plan

This runs only during the package publish workflow
(`internal/scripts/lib/upload-static-assets.ts`) and is exercised the
next time SDK packages are published. No behavior changes beyond upload
ordering and concurrency.

### Code changes

| Section        | LOC change |
| -------------- | ---------- |
| Config/tooling | +33 / -11  |
@pull pull Bot locked and limited conversation to collaborators Jun 21, 2026
@pull pull Bot added the ⤵️ pull label Jun 21, 2026
@pull
pull Bot had a problem deploying to bemo-canary June 21, 2026 15:13 Failure
@pull
pull Bot merged commit 4a5df36 into code:main Jun 21, 2026
@pull
pull Bot had a problem deploying to deploy-production June 21, 2026 15:13 Failure
@pull
pull Bot had a problem deploying to deploy-staging June 21, 2026 15:13 Failure
@pull
pull Bot had a problem deploying to vsce publish June 21, 2026 15:13 Failure
@pull
pull Bot had a problem deploying to bemo-canary June 21, 2026 15:13 Failure
@pull
pull Bot had a problem deploying to deploy-staging June 21, 2026 15:13 Error
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant