BRK287 · Breakout

Trusted code at scale, from legacy to AI

  • Friday 20 November
  • 32 min
  • Catalogue level: (200) Intermediate
  • Our depth rating: 200
  • Worth watching: 1/3

Speakers: Subhash Arja, Eric Tooley

Watch on Microsoft’s site from 05:31

Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.

What the session covers

Subhash Arja (GitHub Advanced Security) presents GitHub Code Quality, generally available since July, which combines deterministic CodeQL rules with AI detection for context-dependent issues and links findings to Agentic Autofix, which opens pull requests for review. Demos show enabling Code Quality, a merge-blocking ruleset, inline PR findings with Copilot fixes, test coverage per pull request, bulk remediation of about 11 backlog findings by Copilot and org-level quality trends. Cited impact: over 67% of PR findings come with Copilot fix suggestions, over 70% are fixed the same day and the backlog falls by 50% on average within six months. The roadmap covers agentic reporting, MISRA/AUTOSAR compliance reports, a cyclomatic complexity metric and a trial experience. Pricing is $10 per committer plus consumption from the shared Copilot AI credit pool.

Best for: Engineering leads and GitHub administrators who want to enforce code quality and burn down tech debt with Copilot-driven remediation.

Session timeline by chapter

New material starts at 05:31. The first five and a half minutes are a Formula One analogy, an audience poll and a GA recap; at 05:31 the explanation of CodeQL plus AI detection and Agentic Autofix begins.

Where to skip: Skip to 05:31 for the architecture (CodeQL plus AI, Agentic Autofix); the bulk-autofix and org trends demo at 19:52 and the roadmap at 23:23 are the core. The demos at 12:30–19:52 are standard setup and can be skimmed; the pricing answer at 29:20 is useful for licensing questions.

Chapters (12)

  1. 00:00 Recap Depth 100 · Novelty 0/3

    Speed paradox: balancing AI-driven development velocity with quality control

    Subhash Arja, director of product management for GitHub Advanced Security, introduces the session with a Formula One analogy: code creation is the straightaway, while code reviews and quality and security gates are the turns. AI has multiplied development output, which raises the question of how to keep code reviews consistent when output grows tenfold. He states GitHub's belief that all code, whether written by developers or by AI, should be secure and high quality by default, with quality built into the platform instead of added on at the end.

  2. 03:33 Recap Depth 100 · Novelty 1/3

    Audience poll on quality tools and GitHub Code Quality as a native platform capability

    A show-of-hands poll finds many attendees already use a code quality tool, with SonarQube named most often. The speaker recaps that GitHub Code Quality became generally available in July after a public preview. He positions it as built natively into GitHub, avoiding the plugins, context switching and separate dashboards of standalone tools, while still integrating with other tools.

  3. 05:31 Deep dive Depth 300 · Novelty 2/3

    How Code Quality works: CodeQL plus AI detection, Agentic Autofix, coverage and gates

    Detection combines deterministic CodeQL rules, which find dead code, invalid formatting and inefficient patterns cost-efficiently, with AI checks for context-dependent issues such as misleading variable names or poor error messages. Each finding connects to Agentic Autofix, described as released earlier this month, which runs an agentic loop that identifies, implements and verifies a fix and opens a pull request for review. Visibility comes from test coverage for major frameworks and repo- and org-level trend dashboards, and governance from pull request quality gates. Code quality is framed around four areas: maintainability, reliability, test coverage and AI-era risks such as black-box generated code and inconsistent styles between developers and agents.

  4. 09:43 Deep dive Depth 200 · Novelty 1/3

    Code Quality across the SDLC and measured customer impact

    Code Quality runs at pull request creation with inline findings and Copilot autofix suggestions, at merge time through rulesets that keep tech debt out, and continuously on existing code through CodeQL and LLM repository scans where Agentic Autofix fixes issues in bulk. The speaker cites that over 67% of PR findings come with Copilot fix suggestions, over 70% of PR findings are fixed the same day, and customers see on average a 50% backlog reduction within six months. He contrasts this with customers of other tools accumulating tens of thousands of unfixable quality bugs.

  5. 12:30 Demo Depth 200 · Novelty 1/3

    Demo: enabling Code Quality, a merge-blocking ruleset and inline PR findings

    On a racing telemetry dashboard repository, the speaker enables Code Quality in repository settings and opts in to AI findings, which scan the backlog for languages CodeQL does not support, on every push or on a schedule. He shows a code quality ruleset with bypasses, target branches and enforcement that blocks merges when findings are at warning level or higher. In a pull request, the GitHub Code Quality bot posts inline alerts with explanations; the developer asks Copilot for more detail and can commit the suggested fix directly or add it to a batch.

  6. 16:47 Demo Depth 200 · Novelty 1/3

    Demo: test coverage in pull requests and merge blocking by quality gates

    Each pull request shows a code coverage summary split by backend and frontend; main is at 73% and the first PR does not change it. An agent can generate a test coverage harness and baseline for supported frameworks, currently JaCoCo, with more being added, and Copilot can then raise coverage. A second PR adding backend API tests shows backend coverage rising by 13% to 86% with no frontend impact. The first PR shows merging blocked because findings at warning severity or above were detected; an override is possible but recorded in the audit log and can be prevented.

  7. 19:52 Demo Depth 200 · Novelty 2/3

    Demo: backlog scanning, bulk Agentic Autofix and org-level quality trends

    The Security and quality tab has a Code quality section that separates standard findings from CodeQL and AI findings from the LLM. The speaker opens a 'useless assignment to local variable' finding, selects about 11 findings and assigns them to Copilot, which runs an agentic loop, verifies the code still works and opens a pull request for review. At the organization level, a report shows score distribution across repositories for reliability and maintainability, and a recently added trends view tracks the last 14 or 30 days grouped by health score and severity, with a health table ranking repositories.

  8. 23:23 New Depth 200 · Novelty 2/3

    Roadmap: agentic reporting, MISRA/AUTOSAR compliance reports, cyclomatic complexity

    For the coming months, GitHub plans more agentic reporting on test coverage and quality metrics, aimed at CISOs and CTOs, including tracking coverage over time alongside maintainability and reliability. It also plans compliance standards and reports for regulated industries such as automotive, citing MISRA and AUTOSAR. Cyclomatic complexity, a frequently requested metric, is planned as an additional industry-standard metric.

  9. 24:52 Deep dive Depth 100 · Novelty 1/3

    Recap of detect-remediate-govern loop, GHAS suite fit and licensing model

    The speaker summarizes Code Quality as covering detection (CodeQL plus AI), remediation (Copilot and Agentic Autofix) and governance (rulesets, merge gates, reporting) for legacy, new and AI-generated code, sharing one engine and rule book with security. Code Quality belongs to the GitHub Advanced Security suite alongside secret protection, code security and supply chain security, but requires a separate license combining a per-committer and a usage-based AI component. A trial experience for Code Quality is being built, similar to those for code security and secret protection.

  10. 26:52 Q&A Depth 300 · Novelty 1/3

    Q&A: custom coding standards via CodeQL query packs and why gates matter with agents

    Asked about adding organization-specific standards, the speaker explains that customers build custom CodeQL query packs, for example for MISRA, and then apply merge gates and rulesets to them. Asked why AI-generated code in greenfield repos still needs Code Quality, he says Copilot coding agent already runs review tools during generation, but Code Quality enforces consistent coding standards across developers and differently configured agents so tech debt does not accumulate when people leave.

  11. 29:20 Q&A Depth 200 · Novelty 1/3

    Q&A: Azure DevOps availability and Code Quality pricing at $10 per committer

    The speaker believes Code Quality is already in Azure DevOps, promising to confirm, and notes GitHub Advanced Security capabilities usually reach Azure DevOps with some lag. On pricing, he says Copilot no longer requires a separate license, as announced at GitHub Universe. Code Quality costs $10 per committer currently, plus a consumption component drawing from the shared Copilot AI credit pool.

  12. 31:49 Closing Depth 100 · Novelty 0/3

    Closing remarks

    With no further questions, the speaker thanks the audience and offers to stay afterwards for questions and roadmap discussions.

Announcements (6)

  • 06:29 not stated GitHub Code Quality

    Agentic Autofix

    GitHub Copilot runs an agentic loop that identifies, implements and verifies fixes for code quality findings and creates a pull request for review.

    Speaker’s quote (at 06:29)
    „Every finding connects to Agentic Autofix, another feature that we released earlier this month, so that Copilot can propose the fix“
  • 22:17 not stated GitHub Code Quality

    Code Quality trends

    Organization-level view tracking repository quality over the last 14 or 30 days, grouped by health score and severity.

    Speaker’s quote (at 22:17)
    „The other capability that we added recently was about trends. And so you can track trends over time of repos overall“
  • 23:23 roadmap GitHub Code Quality

    Agentic reporting for test coverage and quality metrics

    Planned reporting that tracks test coverage and quality metrics over time for CISOs and CTOs.

    Speaker’s quote (at 23:23)
    „So reporting on code coverage or test coverage and quality metrics is a priority for us, especially for CISOs and CTOs.“
  • 23:49 roadmap GitHub Code Quality

    Compliance standards reporting (MISRA, AUTOSAR)

    Planned compliance standards and report generation for regulated industries such as automotive.

    Speaker’s quote (at 23:49)
    „We're also looking to build out a set of compliance standards and reporting for a variety of industries, especially things like automotive“
  • 24:16 roadmap GitHub Code Quality

    Cyclomatic complexity metric

    Planned industry-standard cyclomatic complexity metric for reporting and tracking over time.

    Speaker’s quote (at 24:16)
    „we're also looking to add industry standard metrics like cyclomatic complexity to our product.“
  • 26:24 roadmap GitHub Code Quality

    GitHub Code Quality trial experience

    A trial experience for Code Quality, similar to those for code security and secret protection, is being built.

    Speaker’s quote (at 26:24)
    „We're building out a trial experience for code quality as well, like we have for code security and secret protection.“

Demos (3)

  • 12:30 You can try it yourself GitHub Code Quality

    A software engineer enables Code Quality on a repository, enforces quality standards with a ruleset and reviews and fixes inline findings in a pull request.

    Steps (9)
    1. Open the repository Settings and go to the Code quality section.
    2. Turn on Code Quality with the enable toggle.
    3. Opt in to AI findings and choose the scan cadence: on every push or on a timed schedule.
    4. Open Rulesets and create or open a code quality ruleset.
    5. Set bypasses and target branches (default branch in the demo).
    6. Enable enforcement of code quality results so that findings at warning level or higher block the merge.
    7. Open a pull request and review the inline alerts posted by the GitHub Code Quality bot.
    8. Ask Copilot for more information about a finding.
    9. Commit the suggested fix directly or add it to the batch of pull request changes.

    Prerequisites: GitHub repository with Code Quality enabled; Code Quality requires a separate license (per committer plus AI usage).

  • 16:47 Not stated GitHub Code Quality

    Developers and reviewers track how a pull request changes test coverage and see merges blocked when quality findings violate the ruleset.

    Steps (7)
    1. Open a pull request and view the code coverage overview, split into backend and frontend.
    2. Check the current coverage of main (73% in the demo) and the PR's impact.
    3. Use the agent to generate a test coverage harness and baseline for a supported framework such as JaCoCo.
    4. Open a PR that adds backend API tests and view the coverage change (+13% to 86% for backend, no frontend impact).
    5. Return to the PR with open findings and check the merge status marked with an X.
    6. Click the merge status to see why merging is blocked (findings at warning severity or above).
    7. Optionally bypass the block, which is tracked in the audit log.

    Prerequisites: Code Quality enabled with a ruleset enforcing code quality results; a supported coverage framework (JaCoCo mentioned).

  • 19:52 Not stated GitHub Code Quality

    An engineering lead burns down legacy quality debt in bulk with Copilot and tracks quality across the organization's repositories.

    Steps (7)
    1. Open the Security and quality tab of the repository and go to the Code quality section.
    2. Review standard findings (CodeQL) and open a finding such as 'useless assignment to local variable'.
    3. Select all listed findings (about 11 in the demo) and choose Assign to Copilot.
    4. Wait for Copilot to fix and verify the issues and review the pull request it creates.
    5. Open the AI findings list and use the same Copilot fix option.
    6. At the organization level, open the quality report to see score distribution for reliability and maintainability.
    7. Open trends, choose the last 14 or 30 days and group by health score or severity; review the health table ranking.

    Prerequisites: Code Quality enabled with repository scanning; AI findings opted in for LLM findings; organization access for reports.

Watch on Microsoft’s site: BRK287