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

Log some simple stats about the upload by robertbrignull · Pull Request #38 · github/codeql-action · GitHub

Log some simple stats about the upload - #38

Merged
robertbrignull merged 2 commits into
masterfrom
upload_stats
May 18, 2020
Merged

robertbrignull merged 2 commits into
masterfrom
upload_stats

Conversation

Copy link
Copy Markdown
Contributor

Log a few simple stats about the upload we're making, as requested by @marcogario. The logging is done at debug level so most users won't see it, but it could be useful for us.

This makes the assumption that the sarif file is valid and will fail if it isn't, but I intend to introduce validation of the sarif files imminently in another PR.

Merge / deployment checklist

  • Run test builds as necessary. Can be on this repository or elsewhere as needed in order to test the change - please include links to tests in other repos!
    • CodeQL using init/analyze actions
    • 3rd party tool using upload action
  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.

marcogario 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

LGTM

Copy link
Copy Markdown
Contributor Author

Here are some demos:

##[debug]Raw upload size: 130372 bytes
##[debug]Base64 zipped upload size: 15640 bytes
##[debug]Number of results in upload: 25
##[debug]Raw upload size: 319626 bytes
##[debug]Base64 zipped upload size: 19856 bytes
##[debug]Number of results in upload: 752

robertbrignull merged commit 886b7d3 into master May 18, 2020
robertbrignull deleted the upload_stats branch May 18, 2020 13:29
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