02 / IT · Analysis
Letta Code includes queued instructions in retries
Sandbox transfer tests now count cleanup as successful when the resource is already gone.

Letta updated its coding agent, Letta Code, in v0.34.72 to include queued instructions in model retries for users who send follow-up instructions while a run is in progress. Letta listed the change in its GitHub release notes dated 27 Nov 2026.
Previously, a retry could leave pending instructions out of the request to the model provider. The new version includes instructions still in the queue when it builds that request. Text-only inputs can share a request even when their image policies differ, while each image keeps the policy tied to its original message identifier, OTID.
The same release changed how sandbox transfer tests handle cleanup when a resource is already gone. The retry integration test used scripted provider responses, according to its author. The author of the cleanup change reported that the live sandbox transfer integration test was not run locally.
When a model response stream times out, the listener runs through its stop procedure and retries once. The retry test checked the second request's inputs, which user it ran as and which run it belonged to, the change author said.
The author reported that 186 listener and recovery tests passed across 16 files. All the new regression tests failed on the base branch and passed after the fix. The author also reported that bun run check passed all 13 checks, including lint and type checks.
Sandbox transfer test cleanup
After a transfer test in a sandbox, an isolated execution environment, a cleanup request could return 404 and fail the entire test even if the transfer itself passed its checks. The updated tests count cleanup as successful when the sandbox, conversation or agent is already gone.
Errors from sandbox requests now retain their HTTP status codes so the existing cleanup code can identify missing resources. The same code retries cleanup requests after temporary server errors.
The change author reported that all five tests passed in bun test src/test-utils/teleport-fixture-retry.test.ts. One case checked that cleanup could recognise a missing resource from a 404 status carried by a plain Error object.