Skip to content

fix(seer): Add timeout recovery for Explorer chat - #122934

Open
gricha wants to merge 2 commits into
masterfrom
fix/seer-timeout-recovery
Open

fix(seer): Add timeout recovery for Explorer chat#122934
gricha wants to merge 2 commits into
masterfrom
fix/seer-timeout-recovery

Conversation

@gricha

@gricha gricha commented Aug 27, 2026

Copy link
Copy Markdown
Member

When a response times out, Explorer now shows a warning with Retry instead of leaving the chat in a dead-end error state. Retry resends the latest user message, and New Chat remains available.

getsentry/seer#7911 adds timeout and stalled failure reasons, and #122969 preserves them through Sentry's API boundary. This PR shows the warning only for timeouts and keeps the existing two-minute fallback while those backend changes roll out.

The timeout state keeps the composer usable:

Seer timeout recovery

Use Seer's explicit failure reason to distinguish timeouts from stalled sessions and show a retryable warning without removing the existing stale-session fallback.
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Aug 27, 2026
@gricha
gricha marked this pull request as ready for review August 27, 2026 21:50
@gricha
gricha requested a review from a team as a code owner August 27, 2026 21:50

@cursor cursor 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.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 23f69a9. Configure here.

Comment thread static/app/views/seerExplorer/hooks/useSeerExplorerPolling.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants