You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
perf(platform): staging packs URL entries by request size, not by the bytes they download #4732
sessionStageFiles packs stage entries into POSTs of at most 1.5 MiB of serialized JSON and 512 files (chunkStageFiles, services/platform/backend/core/node_only/sandbox/helpers/session_client.ts:1358-1407), and each POST runs under one 30 s deadline (postStageFiles, L1422-1425). A URL entry is a few hundred bytes of JSON whatever the size of the object runnerd must download (SessionStageFile.url, L1322-1334). One batch can therefore ask runnerd to fetch hundreds of large objects inside a single 30 s deadline — many large task attachments, or a large skill bundle — and the deadline fails the stage although every download is healthy. Verified on main at 73d03a9.
Suggested fix
Carry the expected size on URL entries (the blob row knows it) and pack URL entries by expected bytes as well (for example at most ~150–200 MB per POST), or scale the POST deadline with the batch's expected bytes. Unit-test chunkStageFiles with large URL entries.
Landed on the feature line: feature train #5184 merged into release/0.6 on 2026-10-31 by rebase, and this issue's change is commit d333796 (perf(platform): pack stage requests by the bytes they download, task TALE-138). It ships with Tale 0.6.0. GitHub closes an issue only for a commit on main, so the feature-train role closes it here.
Activity
perf(platform): pack stage requests by the bytes they download
perf(platform): pack stage requests by the bytes they download
perf(platform): pack stage requests by the bytes they download
perf(platform): pack stage requests by the bytes they download
perf(platform): pack stage requests by the bytes they download
tale-code-bot commentedon Oct 31, 2026
Landed on the feature line: feature train #5184 merged into
release/0.6on 2026-10-31 by rebase, and this issue's change is commit d333796 (perf(platform): pack stage requests by the bytes they download, task TALE-138). It ships with Tale 0.6.0. GitHub closes an issue only for a commit onmain, so the feature-train role closes it here.perf(platform): pack stage requests by the bytes they download
perf(platform): pack stage requests by the bytes they download
perf(platform): pack stage requests by the bytes they download
perf(platform): pack stage requests by the bytes they download
3 remaining items
perf(platform): pack stage requests by the bytes they download
perf(platform): pack stage requests by the bytes they download
perf(platform): pack stage requests by the bytes they download
perf(platform): pack stage requests by the bytes they download
perf(platform): pack stage requests by the bytes they download
perf(platform): pack stage requests by the bytes they download
perf(platform): pack stage requests by the bytes they download
perf(platform): pack stage requests by the bytes they download
perf(platform): pack stage requests by the bytes they download
perf(platform): pack stage requests by the bytes they download
perf(platform): pack stage requests by the bytes they download
perf(platform): pack stage requests by the bytes they download
perf(platform): pack stage requests by the bytes they download
perf(platform): pack stage requests by the bytes they download
perf(platform): pack stage requests by the bytes they download