Skip to content

feat(seer): Poll live autofix run status on overview - #122191

Merged
NicoHinderling merged 1 commit into
masterfrom
feat/seer-autofix-overview-status-frontend
Aug 18, 2026
Merged

feat(seer): Poll live autofix run status on overview#122191
NicoHinderling merged 1 commit into
masterfrom
feat/seer-autofix-overview-status-frontend

Conversation

@NicoHinderling

Copy link
Copy Markdown
Contributor

Polls live Autofix run status on the overview page so cards show a "Working…" spinner while a run is actively processing, and so a card moves sections (e.g. a PR merged directly on GitHub → "Merged") within ~10s — even when no run is running.

How

  • The overview hook now runs a light expand=status poll every POLL_INTERVAL (10s), alongside the enriched (scmInfo/issueStats/status) request. The poll pauses when the tab is hidden.
  • Each poll overlays the freshest per-run status onto the rendered cards (by seerRunId), so spinners update without re-fetching enrichment.
  • A (seerRunId, milestone) section signature is computed from each poll; when it changes (a run moved section, or appeared/disappeared) the enriched request is silently refetched, so badges/counts and bucketing stay consistent.
  • OverviewAction renders a Working… spinner when a run's status is processing.

Notes

  • Stacked on the backend PR feat(seer): Add status expand for live autofix run status #122190 (status expand) and blocked on that backend deploying — the poll is a no-op (status: null) until the endpoint ships.
  • Out of scope: live "checks passed"/"approved" badges — those are GitHub-sourced enrichment and need their own webhook mechanism, independent of this poll.
  • Follow-up (v2): swap the poll transport for Conduit/SSE once it is production-ready, keeping polling as the fallback.

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Aug 18, 2026
@github-actions

github-actions Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

📊 Type Coverage Diff

Metric Before After Delta
Coverage 94.36% 94.36% ±0%
Typed 134,662 134,689 🟢 +27
Untyped 8,046 8,047 🔴 +1
🔍 1 new type safety issue introduced

Type assertions (as) (1 new)

File Line Detail
static/app/views/seerWorkflows/overview/useAutofixOverview.ts 67 as AutofixOverviewResponse['runsByMilestone']Object.fromEntries( Object.entries(base.runsByMilestone).map(([milestone, runs]…

This is informational only and does not block the PR.

@NicoHinderling
NicoHinderling marked this pull request as ready for review August 18, 2026 04:34
Comment thread static/app/views/seerWorkflows/overview/useAutofixOverview.ts
Comment thread static/app/views/seerWorkflows/overview/useAutofixOverview.ts Outdated
@NicoHinderling
NicoHinderling force-pushed the feat/seer-autofix-overview-status-expand branch from 87ecd86 to 7c2d84f Compare August 18, 2026 05:19
@NicoHinderling
NicoHinderling requested a review from a team as a code owner August 18, 2026 05:19
@NicoHinderling
NicoHinderling force-pushed the feat/seer-autofix-overview-status-frontend branch from f19eb51 to 459b433 Compare August 18, 2026 05:19
@NicoHinderling
NicoHinderling force-pushed the feat/seer-autofix-overview-status-frontend branch from 459b433 to 9075548 Compare August 18, 2026 05:24
Comment thread static/app/views/seerWorkflows/overview/useAutofixOverview.ts
Comment thread static/app/views/seerWorkflows/overview/useAutofixOverview.ts Outdated
Comment thread static/app/views/seerWorkflows/overview/issueCard.tsx

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

There are 2 total unresolved issues (including 1 from previous review).

Fix All in Cursor

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

Reviewed by Cursor Bugbot for commit de70d94. Configure here.

Comment thread static/app/views/seerWorkflows/overview/useAutofixOverview.ts
@linear-code

linear-code Bot commented Aug 18, 2026

Copy link
Copy Markdown

AIML-3342

Base automatically changed from feat/seer-autofix-overview-status-expand to master August 18, 2026 16:36
Poll the overview endpoint with expand=status every 10s (paused when the
tab is hidden) alongside the enriched request, and overlay the freshest
per-run status onto the cards so a run actively working shows a "Working…"
spinner. A section signature computed from each poll refetches enrichment
only when a run changes section, and a best-effort poll that returns null
never clobbers a status already known.
@NicoHinderling
NicoHinderling force-pushed the feat/seer-autofix-overview-status-frontend branch from d14453c to 217b3df Compare August 18, 2026 16:54
@NicoHinderling
NicoHinderling enabled auto-merge (squash) August 18, 2026 16:57
@NicoHinderling
NicoHinderling merged commit 2564238 into master Aug 18, 2026
69 of 70 checks passed
@NicoHinderling
NicoHinderling deleted the feat/seer-autofix-overview-status-frontend branch August 18, 2026 17:02
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