-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Add logging for extractor archive size and improve CodeQL installation error handling #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Snapshot WarningsEnsure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. OpenSSF Scorecard
Scanned Files
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR improves the robustness of CodeQL installation by adding a fallback mechanism and enhances diagnostics with extractor archive size logging. The changes add error handling resilience to the CodeQL setup process and provide better visibility into download operations.
- Added fallback CodeQL installation using GitHub CLI when standard installation fails
- Enhanced logging with extractor archive size information for better diagnostics
- Updated Docker image to include CodeQL extension for GitHub CLI support
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
src/main.rs | Implements fallback CodeQL installation using GitHub CLI when standard installation fails |
src/extractors.rs | Adds logging of extractor archive size in MB and bytes with warning for unavailable size info |
Dockerfile | Installs CodeQL extension for GitHub CLI to support fallback installation method |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This pull request introduces improvements to the installation workflow for CodeQL and adds logging for extractor archive sizes. The most significant change is the addition of a fallback installation method using the GitHub CLI if the standard CodeQL installation fails. Additionally, the Docker image is updated to include the CodeQL extension for the GitHub CLI.
CodeQL Installation Workflow:
gh codeql set-version
) if the standard installation fails, improving robustness and reliability of the setup process.Logging and Diagnostics: