Skip to content

fix: stabilize sandbox suspension and uncertain Parsar submissions - #881

Merged
SaladDay merged 3 commits into
mainfrom
fix/parsar-slow-resume-request
Oct 26, 2026
Merged

SaladDay merged 3 commits into
mainfrom
fix/parsar-slow-resume-request

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

File-heavy idle sandboxes can exceed microsandbox's 4 MiB filesystem checkpoint budget, fail suspension and resume repeatedly. Set a bounded 64 MiB budget in the isolated SDK configuration while retaining ownership and native integrity checks.

When a Web follow-up request loses its response during environment restoration, Parsar now confirms receipt using the original idempotency key, then follows the existing durable Turn ledger instead of reporting a failed submission. Explicit 4xx rejections still fail; Feishu retains its existing delivery retries. No capacity or bot-binding changes.

Validation:

  • Parsar: all 85 tests pass; the new regression fails against the original implementation.
  • Live Web follow-up: HTTP 200 after 30.4 seconds, then completed with 40,000 files intact and one execution marker; no execution retry.
  • Independent full-diff review: no remaining in-scope findings.
  • Native Linux helper: go test, go vet and build pass.
  • Live suspension: 40,000 files produced 13.1 MiB filesystem state; capture, restore, file/context verification and a second suspension passed. Capacity remains 3/14.

The snapshot budget applies when a VM starts. Deployment must replace the adapter-owned SDK config alongside the helper; an existing running VM retains its original budget.

@SaladDay
SaladDay enabled auto-merge (squash) October 26, 2026 06:39
@SaladDay
SaladDay merged commit 10ec70a into main Oct 26, 2026
19 checks passed
@SaladDay
SaladDay deleted the fix/parsar-slow-resume-request branch October 26, 2026 06:39
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