Skip to content

fix(web): Add awaiting_events to incident poller active states (fixes #398) - #421

Open
stroland02 wants to merge 1 commit into
superloglabs:mainfrom
stroland02:fix-issue-398
Open

fix(web): Add awaiting_events to incident poller active states (fixes #398)#421
stroland02 wants to merge 1 commit into
superloglabs:mainfrom
stroland02:fix-issue-398

Conversation

@stroland02

@stroland02 stroland02 commented Jul 27, 2026

Copy link
Copy Markdown

This PR fixes a bug where the incident detail page would stop polling for updates while an agent run was in the \�waiting_events\ state. Because the web poller's canonical active-state mirror omitted \�waiting_events, the page would not automatically observe subsequent PR-event-driven resume, status, or transcript updates without a manual refresh. Adding \�waiting_events\ to the \ACTIVE_AGENT_RUN_STATES\ set ensures that polling continues as expected. A regression test has also been added. Fixes #398.


Summary by cubic

Keep polling on the incident page while an agent run is in the awaiting_events state, so PR comment/merge/close updates appear without a refresh. Adds awaiting_events to ACTIVE_AGENT_RUN_STATES and a regression test.

Written for commit 610bbdc. Summary will update on new commits.

Review in cubic

@superlog-app superlog-app Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Observability review

All clear — no observability concerns found.

Keep shipping :shipit:

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Re-trigger cubic

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.

The web poller omits a worker-active state that can resume from external events

1 participant