Skip to content

Conversation

@rcchopra
Copy link

No description provided.

@rishabh-arya95 rishabh-arya95 requested a review from Copilot July 25, 2025 05:56
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds GitHub Apps support to the SCM client library by introducing a new AppsService interface and implementing it across all supported SCM drivers.

  • Adds a new AppsService interface with methods for managing GitHub Apps and installations
  • Implements the apps service for all SCM drivers, with full functionality for GitHub and stub implementations returning ErrNotSupported for other drivers
  • Includes comprehensive test coverage for the GitHub Apps implementation

Reviewed Changes

Copilot reviewed 26 out of 26 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
scm/apps.go Defines the AppsService interface and related data structures for GitHub Apps
scm/client.go Adds the Apps field to the main Client struct
scm/driver/github/apps.go Full implementation of AppsService for GitHub with conversion functions
scm/driver/github/apps_test.go Comprehensive test suite for GitHub Apps functionality
scm/driver/github/user.go Adds nil check to convertUser function
scm/driver/*/apps.go Stub implementations returning ErrNotSupported for non-GitHub drivers
scm/driver/*/driver.go Initializes Apps service in each driver's New function
scm/driver/github/testdata/*.json Test data files for GitHub Apps API responses

rcchopra and others added 5 commits July 25, 2025 15:41
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
@rishabh-arya95 rishabh-arya95 merged commit 523c18d into LambdaTest:master Jul 26, 2025
1 check passed
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.

2 participants