Skip to content

Conversation

@edoardopirovano
Copy link
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 edoardopirovano requested a review from a team as a code owner August 15, 2022 15:58
@edoardopirovano edoardopirovano force-pushed the edoardo/trap-cache-telemetry branch from 3b448b5 to 6162433 Compare August 15, 2022 16:59
@edoardopirovano
Copy link
Contributor Author

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

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

This is now ready for review again.

Copy link
Contributor

@henrymercer henrymercer left a comment

Choose a reason for hiding this comment

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

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

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