feat(seer): Gate autofix overview handoff on precomputed repo eligibility - #122229
Merged
NicoHinderling merged 1 commit intoAug 18, 2026
Merged
Conversation
mtopo27
approved these changes
Aug 18, 2026
NicoHinderling
force-pushed
the
feat/autofix-overview-coding-agent-dropdown
branch
from
August 18, 2026 19:04
b70f270 to
3b85f4f
Compare
…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
force-pushed
the
feat/autofix-overview-coding-agent-dropdown
branch
from
August 18, 2026 19:09
3b85f4f to
e3a15b2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
hasReposConnected/hasNonGithubRepobooleans off the overview payload (issue.project, present underexpand=scmInfo) to gate handoff options, instead of fetching the project's Seer repos per card.useCodingAgentsaccepts an optionalrepoEligibility; 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.Depends on
Backend PR #122226 (adds the
hasReposConnected/hasNonGithubRepofields). 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.