Skip to content

Commit

Permalink
fix: stop logging inventory canary progress (#1361)
Browse files Browse the repository at this point in the history
This canary just logs the string 'Got a page of 1000 keys' 2-3 times per
second for however long it takes to finish this process. This is not
useful and obscuring useful log messages.


----

*By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache-2.0 license*

---------

Signed-off-by: github-actions <github-actions@github.com>
Co-authored-by: github-actions <github-actions@github.com>
  • Loading branch information
rix0rrr and github-actions committed Nov 22, 2023
1 parent d1c626f commit 3a398c7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/__tests__/__snapshots__/construct-hub.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/__tests__/devapp/__snapshots__/snapshot.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/backend/inventory/canary.lambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ export async function handler(event: InventoryCanaryEvent, context: Context) {
packageDataBucket,
continuationToken
)) {
console.log(`Got a page of ${keys.length} keys`);
for (const key of keys) {
const [, name, version] = constants.STORAGE_KEY_FORMAT_REGEX.exec(key)!;

Expand Down

0 comments on commit 3a398c7

Please sign in to comment.