Skip to content

Commit 2ebdbaa

Browse files
committed
Update the warning message after running variant analysis
Adds more information about onboarding new repos.
1 parent a74dfea commit 2ebdbaa

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

extensions/ql-vscode/src/remote-queries/run-remote-query.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ export function parseResponse(owner: string, repo: string, response: QueriesResp
353353
}
354354
if (response.errors.repositories_without_database?.length) {
355355
logMessage += `\n\nRepositories without databases:\n${response.errors.repositories_without_database.join(', ')}`;
356+
logMessage += '\nThese repositories have been added to the database storage service and we will attempt to create a database for them next time the store is updated.';
356357
}
357358
}
358359

extensions/ql-vscode/src/vscode-tests/no-workspace/remote-queries/run-remote-query.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ describe('run-remote-query', () => {
7777
'',
7878
'Some repositories could not be scheduled.',
7979
'',
80-
'Repositories without databases:\ne/f, g/h'].join('\n')
80+
'Repositories without databases:\ne/f, g/h',
81+
'These repositories have been added to the database storage service and we will attempt to create a database for them next time the store is updated.'].join('\n')
8182
);
8283
});
8384

@@ -107,7 +108,8 @@ describe('run-remote-query', () => {
107108
'e/f, g/h',
108109
'',
109110
'Repositories without databases:',
110-
'i/j, k/l'].join('\n')
111+
'i/j, k/l',
112+
'These repositories have been added to the database storage service and we will attempt to create a database for them next time the store is updated.'].join('\n')
111113
);
112114
});
113115
});

0 commit comments

Comments
 (0)