Skip to content

chore(deps): unpin tensorlake to ^0.5.158 (create waits on the server) - #540

Open
diptanu wants to merge 1 commit into
computesdk:masterfrom
tensorlakeai:chore/unpin-tensorlake-0.5.158
Open

diptanu wants to merge 1 commit into
computesdk:masterfrom
tensorlakeai:chore/unpin-tensorlake-0.5.158

Conversation

@diptanu

@diptanu diptanu commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Unpins tensorlake from the exact 0.5.148 back to a caret range, now ^0.5.158, and refreshes pnpm-lock.yaml.

The exact pin was added in #506 because tensorlake@0.5.149 depended on an unpublished @tensorlakeai/tensorlake@0.5.149. That was a broken publish on our side (sorry). Every release from 0.5.150 on ships with its @tensorlakeai/tensorlake and @tensorlakeai/native-* packages, and the lockfile here resolves 0.5.158 with all six native packages.

@computesdk/tensorlake is unchanged: its ^0.5.135 range already admits 0.5.158. No other lockfile entries move.

Why this matters for the burst TTI numbers

From 0.5.136 through 0.5.157, the default Sandbox.create() in the TypeScript SDK sent the create with wait: false, got a 202, polled GET /sandboxes/{id} once while the sandbox was still starting, then slept a fixed 2 s before polling again. On the 2026-10-20 run that put ~2.2 s of fixed client-side sleep into every Tensorlake TTI sample: our server promoted the 100 sandboxes to Running at p50 219 ms / p95 285 ms after the POST, while the harness measured p50 2765 ms / p95 2858 ms, with a 2.35 to 2.58 s spread between the create POST and the destroy DELETE on every sample.

tensorlake@0.5.158 (tensorlakeai/tensorlake#1040) makes Sandbox.create() wait on the server's own state change instead, so the create returns as soon as the sandbox is Running. Nothing about what the benchmark measures changes; the adapter still calls Sandbox.create() and then run("sh", ["-c", "node -v"]).

Verification

  • pnpm install --frozen-lockfile --ignore-scripts, pnpm -r --filter './packages/**' run build, and pnpm typecheck pass with the new lockfile (pnpm 10.33.0, Node 24).
  • tti.bench.ts --iterations 10 --concurrency 10 --provider tensorlake --no-ingest from a laptop (so each request carries ~300 ms more than the Namespace runner would see), same shape both runs:
SDK TTI samples
0.5.148 (current pin) 3.31 to 3.37 s, median 3.34 s
0.5.158 (this PR) 9 of 10 between 1.74 and 1.76 s, one 2.48 s, median 1.75 s

The result files those local runs wrote were discarded; this PR only touches package.json and pnpm-lock.yaml.

🤖 Generated with Claude Code


Devin Review

0.5.148 was pinned because 0.5.149 depended on an unpublished
@tensorlakeai/tensorlake build. Every release from 0.5.150 on is
published with its native packages, and 0.5.158 makes the default
Sandbox.create() wait on the server instead of polling every 2 s,
which was adding ~2.2 s of fixed client-side sleep to burst TTI.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@open-cla

open-cla Bot commented Oct 23, 2026

Copy link
Copy Markdown

Contributor License Agreement

All contributors are covered by a CLA.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

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.

1 participant