[PR #206] feat: keep aenv sandbox leases alive during commands #251

Open
opened 2026-10-29 14:21:29 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/kvcache-ai/AgentENV/pull/206
Author: @yingdi-shan
Created: 8/22/2026
Status: 🔄 Open

Base: main ← Head: feat/aenv-exec-keepalive


📝 Commits (1)

  • 9615b1d feat: keep aenv sandbox leases alive during commands

📊 Changes

4 files changed (+115 additions, -66 deletions)

View changed files

📝 crates/aenv/src/commands/connect.rs (+16 -63)
📝 crates/aenv/src/commands/exec.rs (+11 -3)
➕ crates/aenv/src/commands/keepalive.rs (+87 -0)
📝 crates/aenv/src/commands/mod.rs (+1 -0)

📄 Description

Summary

  • refresh the sandbox lease once for aenv exec while the command runs
  • run lease refreshes independently from command and terminal streaming
  • move blocking sandbox metadata/connect requests off the Tokio runtime thread

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/kvcache-ai/AgentENV/pull/206 **Author:** [@yingdi-shan](https://github.com/yingdi-shan) **Created:** 8/22/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/aenv-exec-keepalive` --- ### 📝 Commits (1) - [`9615b1d`](https://github.com/kvcache-ai/AgentENV/commit/9615b1df833e4ebac2d090e9e725fdc5a3e6efbb) feat: keep aenv sandbox leases alive during commands ### 📊 Changes **4 files changed** (+115 additions, -66 deletions) <details> <summary>View changed files</summary> 📝 `crates/aenv/src/commands/connect.rs` (+16 -63) 📝 `crates/aenv/src/commands/exec.rs` (+11 -3) ➕ `crates/aenv/src/commands/keepalive.rs` (+87 -0) 📝 `crates/aenv/src/commands/mod.rs` (+1 -0) </details> ### 📄 Description ## Summary - refresh the sandbox lease once for `aenv exec` while the command runs - run lease refreshes independently from command and terminal streaming - move blocking sandbox metadata/connect requests off the Tokio runtime thread --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kvcache-ai/AgentENV#251
No description provided.