Skip to content

remove github service, update routes, schema and resolvers to match n…#629

Open
neSpecc wants to merge 5 commits intomasterfrom
task-manager-2
Open

remove github service, update routes, schema and resolvers to match n…#629
neSpecc wants to merge 5 commits intomasterfrom
task-manager-2

Conversation

@neSpecc
Copy link
Member

@neSpecc neSpecc commented Feb 25, 2026

This PR improves GitHub integration by moving to workspace-level installations and supporting multiple GitHub App installations per workspace, as well as multiple GitHub OAuth authorizations per user.

Key changes

GitHub integration

  • Support for multiple GitHub App installations per workspace (new WorkspaceModel methods and GraphQL updates).
  • Refactored installation state store (Redis) to include workspaceId, projectId, userId, and timestamp for better flow tracking and CSRF protection.
  • Removed legacy project-level installation logic.

User model

  • Support for multiple GitHub OAuth authorizations per user (upsert, lookup, active retrieval).

GraphQL

  • Added types for workspace integrations and GitHub installations.
  • Extended TaskManagerGitHubRepository with repoLanguage.

Dependencies

  • Migrated to @hawk.so/github-sdk and updated @hawk.so/types.
  • Removed legacy GitHub service usage.

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