You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: resolve race condition in TestWorkspaceAgent instance identity tests
The TestWorkspaceAgent/GoogleCloud test was flaky because the agent
could start and attempt authentication before the workspace build
resources (including the agent with its instance ID) were fully
inserted into the database.
This fix ensures that workspace resources are queryable before starting
the agent, preventing the 404 error when the agent tries to authenticate
with its instance ID.
The same fix has been applied to all instance identity tests (Azure,
AWS, and Google Cloud) to prevent similar race conditions.
Fixescoder/internal#778
Co-authored-by: sreya <4856196+sreya@users.noreply.github.com>
0 commit comments