Skip to content

fix: avoid re-using AuthInstanceID for sub agents (#22196)#22212

Merged
f0ssel merged 1 commit intorelease/2.29from
danielle/cherry-2.29/gh-22196
Feb 23, 2026
Merged

fix: avoid re-using AuthInstanceID for sub agents (#22196)#22212
f0ssel merged 1 commit intorelease/2.29from
danielle/cherry-2.29/gh-22196

Conversation

@DanielleMaywood
Copy link
Contributor

Parent agents were re-using AuthInstanceID when spawning child agents. This caused GetWorkspaceAgentByInstanceID to return the most recently created sub agent instead of the parent when the parent tried to refetch its own manifest.

Fix by not reusing AuthInstanceID for sub agents, and updating GetWorkspaceAgentByInstanceID to filter them out entirely.


Cherry picked from 911d734

@DanielleMaywood DanielleMaywood added the cherry-pick/v2.29 Needs to be cherry-picked to the 2.29 release branch label Feb 20, 2026
Parent agents were re-using AuthInstanceID when spawning child agents.
This caused GetWorkspaceAgentByInstanceID to return the most recently
created sub agent instead of the parent when the parent tried to refetch
its own manifest.

Fix by not reusing AuthInstanceID for sub agents, and updating
GetWorkspaceAgentByInstanceID to filter them out entirely.
@DanielleMaywood DanielleMaywood force-pushed the danielle/cherry-2.29/gh-22196 branch from 08a92c7 to b3b5eb9 Compare February 20, 2026 12:54
@DanielleMaywood DanielleMaywood marked this pull request as ready for review February 20, 2026 13:28
@f0ssel f0ssel merged commit 2ca88b0 into release/2.29 Feb 23, 2026
46 of 48 checks passed
@f0ssel f0ssel deleted the danielle/cherry-2.29/gh-22196 branch February 23, 2026 22:37
@github-actions github-actions bot locked and limited conversation to collaborators Feb 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cherry-pick/v2.29 Needs to be cherry-picked to the 2.29 release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants