Disable GraphQL polling for terminated workspaces UI tab
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
MR: Pending
Description
When a workspace has actual_state and desired_state as Terminated, a user sees it in the Terminated
tab of their workspaces list UI.
We should stop polling for updates for such workspaces. Not doing so results in errors like this where the associated agent no longer exists and we results in a 500 which eats up our error budget.
UPDATE: The above root cause analysis may not be correct. This is related to QA E2E tests on staging environment, and may be related to the automated deletion of records. See detailed analysis in this comment below.
Acceptance criteria
-
We should not get sentry errors for this category of errors.
Implementation plan
TODO
Edited by Chad Woolley