GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Overlay: Check database metadata for overlayBaseSpecifier by kaspersv · Pull Request #3340 · github/codeql-action Conversation
Contributor
This PR adds an additional validity check for overlay-base databases before uploading an overlay-base to the actions cache or using an overlay-base for overlay analysis. The additional check consists of running Risk assessmentFor internal use only. Please select the risk level of this change:
Which use cases does this change impact?Workflow types:
Products:
Environments:
How did/will you validate this change?
If something goes wrong after this change is released, what are the mitigation and rollback strategies?
How will you know if something goes wrong after this change is released?
Are there any special considerations for merging or releasing this change?
Merge / deployment checklist
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
kaspersv
force-pushed
the
kaspersv/check-for-overlayBaseSpecifier
branch
from
35d5d53 to
6391bd0
Compare
kaspersv
force-pushed
the
kaspersv/check-for-overlayBaseSpecifier
branch
4 times, most recently
from
fd0d09f to
aff036b
Compare
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pull request overviewThis PR adds an additional validation check for overlay-base databases by running Key changes:
Reviewed changesCopilot reviewed 13 out of 13 changed files in this pull request and generated 4 comments. Show a summary per file
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page.
|
| logger.info(`${warningPrefix}: no overlayBaseSpecifier defined`); | |
| logger.warning(`${warningPrefix}: no overlayBaseSpecifier defined`); |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The info log-level is intentional. The extractor is allowed to decide not to produce an overlay-base. This will for instance happen for Go if the extractor is asked to produce an overlay-base for a traced build. In that case the Go extractor will decide not to produce an overlay-base and we shouldn't generate a warning for that case.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
c96efdb to
505fdd0
Compare
505fdd0 to
c4efbda
Compare
|
Rebased on top of #3341. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
A couple of suggestions otherwise this looks good 👍
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
| logger.info(`${warningPrefix}: no overlayBaseSpecifier defined`); | ||
| return false; | ||
| } else { | ||
| logger.info( |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Should this be a debug level log? I had a quick look and it looks like this is not within a log group.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Yes, it makes sense to log at debug log-level in the else branch, to avoid logging unnecessarily in the default case where an overlayBaseSpecifier is present. I would still like to keep the log that no overlayBaseSpecifier was present at info level.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-authored-by: Henry Mercer <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.