Skip to content

feat: surface merge conflict warning in checks panel - #206

Merged
AmethystLiang merged 1 commit into
mainfrom
surface-more-ci-info
Mar 29, 2026
Merged

AmethystLiang merged 1 commit into
mainfrom
surface-more-ci-info

Conversation

@AmethystLiang

Copy link
Copy Markdown
Contributor

Summary

  • Adds mergeable field (MERGEABLE | CONFLICTING | UNKNOWN) to PRInfo type, fetched from GitHub's gh CLI
  • Displays an amber conflict warning banner in the Checks Panel when the PR branch has merge conflicts
  • Extracts ChecksList and MergeConflictWarning components into checks-helpers.tsx to keep ChecksPanel.tsx under the 400-line lint limit

Test plan

  • Existing tests updated with mergeable field in all PRInfo mocks/assertions
  • Verify conflict warning renders when a PR has merge conflicts
  • Verify no warning shows for mergeable PRs or unknown state
  • Verify checks list still renders and sorts correctly after extraction

@AmethystLiang
AmethystLiang merged commit e2bb603 into main Mar 29, 2026
1 check passed
@AmethystLiang
AmethystLiang deleted the surface-more-ci-info branch March 29, 2026 23:27
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
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.

1 participant