Skip to content

added /diagnostics page for installation / org list visibility#241

Closed
MattG57 wants to merge 1 commit into
mainfrom
diagnostics-for-account-and-installations
Closed

added /diagnostics page for installation / org list visibility#241
MattG57 wants to merge 1 commit into
mainfrom
diagnostics-for-account-and-installations

Conversation

@MattG57
Copy link
Copy Markdown
Collaborator

@MattG57 MattG57 commented Aug 21, 2025

created Diagnostics page to confirm installation and account list details

@github-actions
Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

timestamp: new Date().toISOString(),
appConnected: !!app.github.app,
totalInstallations: app.github.installations.length,
installations: [] as any[],

Check failure

Code scanning / ESLint

Disallow the `any` type Error

Unexpected any. Specify a different type.
totalInstallations: app.github.installations.length,
installations: [] as any[],
errors: [] as string[],
appInfo: null as any,

Check failure

Code scanning / ESLint

Disallow the `any` type Error

Unexpected any. Specify a different type.
suspendedAt: installation.suspended_at,
suspendedBy: installation.suspended_by,
hasOctokit: !!octokit,
octokitTest: null as any,

Check failure

Code scanning / ESLint

Disallow the `any` type Error

Unexpected any. Specify a different type.
installationDiag.octokitTest = {
success: true,
appName: authTest.data?.name || 'Unknown',
appOwner: (authTest.data?.owner as any)?.login || 'Unknown',

Check failure

Code scanning / ESLint

Disallow the `any` type Error

Unexpected any. Specify a different type.
diagnostics.appInfo = {
name: appInfo.data?.name || 'Unknown',
description: appInfo.data?.description || 'No description',
owner: (appInfo.data?.owner as any)?.login || 'Unknown',

Check failure

Code scanning / ESLint

Disallow the `any` type Error

Unexpected any. Specify a different type.
})
export class MainDiagnosticsComponent {
isLoading = false;
lastResult: any = null;

Check failure

Code scanning / ESLint

Disallow the `any` type Error

Unexpected any. Specify a different type.
export class InstallationDiagnosticsDialogComponent {
constructor(
public dialogRef: MatDialogRef<InstallationDiagnosticsDialogComponent>,
@Inject(MAT_DIALOG_DATA) public data: any

Check failure

Code scanning / ESLint

Disallow the `any` type Error

Unexpected any. Specify a different type.
}

validateInstallations() {
return this.http.get<any>(`${this.apiUrl}/validate-installations`);

Check failure

Code scanning / ESLint

Disallow the `any` type Error

Unexpected any. Specify a different type.
@MattG57 MattG57 closed this Aug 21, 2025
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