Skip to content

feat: add GitHub installation reconnection flow#692

Merged
nicoalbanese merged 5 commits intomainfrom
na/d1781742
Apr 10, 2026
Merged

feat: add GitHub installation reconnection flow#692
nicoalbanese merged 5 commits intomainfrom
na/d1781742

Conversation

@open-agents-bot
Copy link
Copy Markdown
Contributor

Summary

Implements a complete GitHub installation reconnection flow with connection status monitoring. Users can now reconnect GitHub apps when installations are disconnected, with visual indicators and automatic health checks for their GitHub connection status.

Changes

API Routes (apps/web/app/api/auth/github/reconnect/)

  • Add reconnect endpoint to handle GitHub installation reconnection flows
  • Include tests for reconnect route handler

API Routes (apps/web/app/api/github/app/install/)

  • Add GitHub app installation endpoint
  • Include comprehensive tests for installation route handler

API Routes (apps/web/app/api/github/connection-status/)

  • Add connection status endpoint to monitor GitHub app health
  • Implement status checking logic with tests

Hooks (apps/web/hooks/use-github-connection-status.ts)

  • Add new hook to track and monitor GitHub connection status
  • Provide real-time connection health feedback

Utilities (apps/web/lib/github/)

  • Add connection-status utility module for status management
  • Enhance installations-sync with improved synchronization logic

Components (apps/web/components/)

  • Add github-reconnect-dialog for modal reconnection flows
  • Add github-reconnect-gate to prevent actions during unhealthy connections
  • Update repo-selector and repo-selector-compact with connection status awareness
  • Update create-repo-dialog with reconnection flow integration
  • Update session-starter with connection health checks

Settings (apps/web/app/settings/accounts-section.tsx)

  • Enhance accounts section with GitHub connection status display
  • Add reconnection controls for users

Core (apps/web/app/providers.tsx)

  • Update providers context to include connection status management

Documentation (PLAN.md)

  • Revise plan with live GitHub connection health check specifications

Chat - Built with guidance from Nico Albanese

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
open-agents Ready Ready Preview Apr 10, 2026 5:22pm

@nicoalbanese nicoalbanese merged commit 0441f1f into main Apr 10, 2026
9 checks passed
@nicoalbanese nicoalbanese deleted the na/d1781742 branch April 10, 2026 17:24
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