Skip to content

Optimize Beam sandbox startup and package declarations - #76

Open
luke-lombardi wants to merge 5 commits into
masterfrom
ll/computesdk-burst-cache
Open

Optimize Beam sandbox startup and package declarations#76
luke-lombardi wants to merge 5 commits into
masterfrom
ll/computesdk-burst-cache

Conversation

@luke-lombardi

@luke-lombardi luke-lombardi commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • reuse prepared sandbox stubs across processes with image-aware cache keys
  • allow callers to defer create-time readiness and terminate by container ID
  • publish @beamcloud/beam-js@1.0.17
  • remove the ambiguous download/downloadFile aliases while preserving readBytes/readText

Why

The prepared-stub cache removes redundant preparation and readiness round trips from burst creation. The filesystem aliases caused a supply-chain scanner to correlate independent file reads with the sandbox process API. Native reads still use the same Beam endpoint through readBytes and readText.

Validation

  • 145/145 JavaScript SDK tests passed
  • CJS, ESM, and declaration builds passed
  • packed runtime exports are unchanged
  • emitted sandbox runtime and declarations contain no download API
  • npm integrity and gitHead for @beamcloud/beam-js@1.0.17 match this branch

@luke-lombardi luke-lombardi changed the title fix: burst cache Optimize Beam sandbox startup and package declarations Jul 30, 2026
@luke-lombardi
luke-lombardi force-pushed the ll/computesdk-burst-cache branch from 9fbbddc to a0019c7 Compare July 30, 2026 16:10
@luke-lombardi
luke-lombardi force-pushed the ll/computesdk-burst-cache branch from a0019c7 to 712a2bf Compare July 30, 2026 16:22
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