FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add telemetry for TRAP caching by edoardopirovano · Pull Request #1182 · github/codeql-action · GitHub

Add telemetry for TRAP caching - #1182

Merged
edoardopirovano merged 2 commits into
mainfrom
edoardo/trap-cache-telemetry
Aug 16, 2022
Merged

edoardopirovano merged 2 commits into
mainfrom
edoardo/trap-cache-telemetry

Conversation

Copy link
Copy Markdown
Contributor

This PR adds some telemetry for TRAP caching including the times and sizes of the cache uploads/downloads and the languages that we are using TRAP caching for. Almost all of the code change is adding a dependency that computes the recursive size of folders. This is a little jarring, but is I think simpler than writing that code ourselves which is potentially somewhat awkward. I'm definitely open to other suggestions on if there's a simpler way to get the size of the cache, though.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

edoardopirovano requested a review from a team as a code owner August 15, 2022 15:58
edoardopirovano force-pushed the edoardo/trap-cache-telemetry branch from 3b448b5 to 6162433 Compare August 15, 2022 16:59

Copy link
Copy Markdown
Contributor Author

Changing to draft as we need a difference dependency with a more open license.

edoardopirovano force-pushed the edoardo/trap-cache-telemetry branch from 6162433 to 20daf81 Compare August 16, 2022 09:58
edoardopirovano added the Update dependencies Trigger PR workflow to update dependencies label Aug 16, 2022
github-actions Bot removed the Update dependencies Trigger PR workflow to update dependencies label Aug 16, 2022
edoardopirovano force-pushed the edoardo/trap-cache-telemetry branch from 9f4066c to 7a0f475 Compare August 16, 2022 10:18
edoardopirovano added the Update dependencies Trigger PR workflow to update dependencies label Aug 16, 2022
github-actions Bot removed the Update dependencies Trigger PR workflow to update dependencies label Aug 16, 2022
edoardopirovano force-pushed the edoardo/trap-cache-telemetry branch from 7d3ceb9 to 4139682 Compare August 16, 2022 10:54

Copy link
Copy Markdown
Contributor Author

This is now ready for review again.

Comment thread src/init-action.ts Outdated
Comment thread src/config-utils.ts
Comment thread src/config-utils.ts Outdated
Comment thread src/analyze-action.ts
Comment thread src/analyze-action.ts Outdated
Comment thread src/analyze-action.ts Outdated
Comment thread src/trap-caching.ts Outdated

henrymercer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Minor comment around the get-folder-size package, otherwise LGTM.

Comment thread package.json
Comment thread src/trap-caching.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL