GitHub Code Quality in public preview #177488
Replies: 29 comments 58 replies
-
This is an amazing feature! Especially great to see a blend of AI scan and CodeQL. I have couple of questions:
|
BetaWas this translation helpful?Give feedback.
-
Also, we just turned on GitHub Code Quality for our open source organisation! Check it out here: github.com/logchange Thanks to the GitHub team for creating this feature — it’s already making our reviews smoother! 🚀 |
BetaWas this translation helpful?Give feedback.
-
BetaWas this translation helpful?Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Great to see this come to public preview! Do you anticipate enabling additional quality checkers to provide results to GitHub Code Quality, similar to how GHAS supports uploading SARIF files from tools which are capable of exporting data in that format? For example, our developers already use popular tools for their respective ecosystems (e.g., ruff for Python) locally and in their pipelines, and being able to understand these code quality findings at scale through GitHub Code Quality would be incredibly helpful |
BetaWas this translation helpful?Give feedback.
-
This is great and looks like its finding some real issues. It really needs to run on PR and allow the repo to gate based on level (i.e. Warning Error) |
BetaWas this translation helpful?Give feedback.
-
Is there some way to get the Code Quality info via the Github API's? |
BetaWas this translation helpful?Give feedback.
-
Did you forget to mention Rust or is that somehow not supported despite being the most loved language for several years in a row (according to stackoverflow)? 🤔 |
BetaWas this translation helpful?Give feedback.
-
I tried to set code quality thresholds for pull requests |
BetaWas this translation helpful?Give feedback.
-
It needs to be easy to tell Code Quality to ignore specific files (especially minified files). https://github.com/check-spelling-sandbox/adk-python/security/quality
|
BetaWas this translation helpful?Give feedback.
-
Consider: ![]() Compare: https://github.com/check-spelling-sandbox/adk-python/security/quality/rules/js%2Fuseless-expression ![]() |
BetaWas this translation helpful?Give feedback.
-
This has the potential to be so useful! Reviewing your work and getting valuable feedback is so crucial, and this will be another way for organizations to do so; even individuals can improve their work from such feedback. Good stuff! |
BetaWas this translation helpful?Give feedback.
-
I found this dashboard really helpful, a couple of potential features I'd love to see
|
BetaWas this translation helpful?Give feedback.
-
I see that CodeQL already supports C / C++, are there any plans to extend this feature to officially support them too? |
BetaWas this translation helpful?Give feedback.
-
Hey @carogalvin - congrats on the public preview release! I’m using it in a few personal projects, and love it! Do you see this becoming available in GHES in a future release? |
BetaWas this translation helpful?Give feedback.
-
@carogalvin is there something else I need to do? I checked a few repos and not available in any. |
BetaWas this translation helpful?Give feedback.
-
Question about the billing model - I don't want to enable the preview for my org if I don't understand the billing model for later: ![]() What are "premium requests?" Are those Copilot Premium Requests? If so:
|
BetaWas this translation helpful?Give feedback.
-
First of all the feature is looking great :). Is it possible to exclude certain paths from code scanning/review? The use case is that we have some auto-generated code that I would like to exclude. |
BetaWas this translation helpful?Give feedback.
-
BetaWas this translation helpful?Give feedback.
-
Thank you for this amazing feature! |
BetaWas this translation helpful?Give feedback.
-
Hi, Overall, I really like this new Code Quality feature - it has already caught several important issues in my code and is proving very valuable. I’d like to suggest a few improvements to the new feature.
a. It would be very helpful to have the ability to dismiss Code Quality comments via the GitHub CLI, not only through the web UI. “Accepted - fixed or will be fixed in another branch (following proper Git flow).”
I need a way to retrieve all Code Quality findings via the GitHub CLI. This would allow me to process the output programmatically in my AI-powered IDE workflows. Regards, |
BetaWas this translation helpful?Give feedback.
-
@carogalvin Please answer this questions for better clarity.
Awaiting your response. Thanks |
BetaWas this translation helpful?Give feedback.
-
A very interesting feature, indeed! Unfortunately for us, it takes about 50 minutes for each PR on C# code, which is not an option at this moment. Will there be the possibility to enable only scheduled/on demand runs instead of on every PR + scheduled like now? Also, it seems that the requirement to have GitHub Advanced Security (GHAS) for private repositories is not enforced anymore. Can the underlying action https://github.com/github/codeql-action be used independently in our workflows or it still requires GHAS for private repositories? That's what the license says:
cc @ebndev |
BetaWas this translation helpful?Give feedback.
-
❓ Code Quality suggested that a Slack link is incorrect Due to the link being from a future timestamp 💀 ![]() |
BetaWas this translation helpful?Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Great feature and the 'ai-findings' has found some otherwise hard to spot issues, however there are a lot of false positives. I know this is a beat/preview and I don't mind much, but it'd be good to be able to dismiss or report a finding as 'not helpful'/'false positive'. e.g. one I saw yesterday, in my README I had:
CoPilot AI Findings suggested I change to iOS 16 and said:
|
BetaWas this translation helpful?Give feedback.
This comment has been minimized.
This comment has been minimized.
-
Still can't overlay test coverage. 😏 |
BetaWas this translation helpful?Give feedback.
-
Wanted to test on our GHE, but doesn't worked with forked pull requests... |
BetaWas this translation helpful?Give feedback.
-
The new dismiss function is very cumbersome especially when it has multiple false positives. You have no click the dismiss button which opens a modal to select a reason and when you close the modal it scrolls back to the top of the PR review which causes you to lose your place with in the review. We are running into this issue multiple times when it catches a potential null reference issue even though it may have been checked at a higher level in the sequence of events/methods or even if its marked required at a model level but is leveraging nullability for other technical reasons. |
BetaWas this translation helpful?Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Our initial Code Quality testing with java revealed some missing checks that we would expect from static analysis. For example try-with-resources wasn't found in a sample PR we opened. The integration between CodeQL custom queries and the Code Quality product is a bit murky. It seems like there are resource leak rules in the CodeQL repo, so we're a bit confused why we didn't get a hit. |
BetaWas this translation helpful?Give feedback.













Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
GitHub Code Quality is now available in public preview! It turns every pull request into an opportunity to improve. With in-context findings, one-click Copilot fixes, and reliability and maintainability scores, you spend less time chasing nits and more time building. It’s there when you need it most, surfacing quality issues both in the pull request and the backlog so you can fix technical debt on your schedule.
Who this is for
Developers and engineering teams who want in‑context feedback about the quality of their code and an easier way to turn technical debt into reviewable fixes.
Highlights
How to try it
Coming soon
Availability and pricing
GitHub Code Quality is available today for GitHub Enterprise Cloud and Team, but not available on Enterprise Server. It's free during the preview period, however scans will incur Actions minutes.
Learn more
Check out our GitHub Code Quality documentation
🌟Leave a comment!
Join the discussion and leave feedback in the comments below!
Disclaimer: The UI for features in public preview is subject to change.
BetaWas this translation helpful?Give feedback.
All reactions