Skip to content

feat(seer): Gate autofix overview handoff on precomputed repo eligibility - #122229

Merged
NicoHinderling merged 1 commit into
masterfrom
feat/autofix-overview-coding-agent-dropdown
Aug 18, 2026
Merged

feat(seer): Gate autofix overview handoff on precomputed repo eligibility#122229
NicoHinderling merged 1 commit into
masterfrom
feat/autofix-overview-coding-agent-dropdown

Conversation

@NicoHinderling

Copy link
Copy Markdown
Contributor

Summary

Fixes the autofix overview dropdown flash: on first open of a run's "More Seer options" menu, it briefly showed only "Open Seer" and then popped the coding-agent handoff options in a moment later, once a per-card, fully-paginated Seer repos fetch drained.

Changes

  • Read the new hasReposConnected / hasNonGithubRepo booleans off the overview payload (issue.project, present under expand=scmInfo) to gate handoff options, instead of fetching the project's Seer repos per card.
  • useCodingAgents accepts an optional repoEligibility; when provided it skips the repos query entirely and derives the disabled-reason from the precomputed flags. When absent, it falls back to the repos query — so the change degrades gracefully before the backend fields exist.
  • The dropdown now shows a single loading state until its options are ready and reveals them together, instead of rendering the static "Open Seer" item first and staggering the agents in after.

Depends on

Backend PR #122226 (adds the hasReposConnected / hasNonGithubRepo fields). Frontend/backend are not atomically deployed; that PR should land first. This PR is safe to deploy independently because it falls back to the existing repos query when the fields are absent.

@NicoHinderling
NicoHinderling requested a review from a team as a code owner August 18, 2026 18:53
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Aug 18, 2026
…lity

Read hasReposConnected/hasNonGithubRepo off the autofix overview payload
(expand=scmInfo) to decide whether coding-agent handoff options are enabled,
instead of the per-card, fully-paginated Seer repos fetch that blocked the
dropdown and made options appear staggered on first open.

The dropdown now shows a single loading state until its options are ready and
then reveals them together, rather than rendering the static Open Seer item
first and popping the agents in a moment later. When the payload lacks the
eligibility fields (e.g. before the backend ships them), the hook falls back
to the repos query, so behavior degrades gracefully.
@NicoHinderling
NicoHinderling force-pushed the feat/autofix-overview-coding-agent-dropdown branch from 3b85f4f to e3a15b2 Compare August 18, 2026 19:09
@NicoHinderling
NicoHinderling merged commit 3424a99 into master Aug 18, 2026
69 of 70 checks passed
@NicoHinderling
NicoHinderling deleted the feat/autofix-overview-coding-agent-dropdown branch August 18, 2026 19:38
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