Skip to content

Avoid sandbox lifecycle updates on run start#75

Merged
laotoutou merged 1 commit intomainfrom
hz/remove-runtime-start-update-refresh
Apr 27, 2026
Merged

Avoid sandbox lifecycle updates on run start#75
laotoutou merged 1 commit intomainfrom
hz/remove-runtime-start-update-refresh

Conversation

@laotoutou
Copy link
Copy Markdown
Contributor

@laotoutou laotoutou commented Apr 27, 2026

Summary

  • remove synchronous TTL refresh from runtime StartRun so message startup only calls the wrapper
  • make runtime TTL refresh only call sandbox refresh, without lifecycle update
  • avoid proactive sandbox lifecycle/existence API calls in EnsureRuntime for existing runtimes with wrapper endpoints

Tests

  • go test ./internal/managedagentsruntime ./internal/managedagents

@laotoutou laotoutou force-pushed the hz/remove-runtime-start-update-refresh branch from 23d55c7 to 1fb583d Compare April 27, 2026 10:31
@laotoutou laotoutou merged commit 32dd5eb into main Apr 27, 2026
4 checks passed
@laotoutou laotoutou deleted the hz/remove-runtime-start-update-refresh branch April 27, 2026 10:46
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.

2 participants