We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e5ede0 commit 7a3674aCopy full SHA for 7a3674a
agent/agentcontainers/api.go
@@ -944,7 +944,8 @@ func (api *API) cleanupSubAgents(ctx context.Context) error {
944
945
// maybeInjectSubAgentIntoContainerLocked injects a subagent into a dev
946
// container and starts the subagent process. This method assumes that
947
-// api.mu is held.
+// api.mu is held. This method is idempotent and will not re-inject the
948
+// subagent if it is already/still running in the container.
949
//
950
// This method uses an internal timeout to prevent blocking indefinitely
951
// if something goes wrong with the injection.
0 commit comments