Skip to content

[Task]: Investigate CodeQL CI Submodule Optimization #12103

@makubacki

Description

@makubacki

Feature Overview

Currently CodeQL GitHub workflow runs build all of the code including submodules. CodeQL analysis can be slowed down including submodule code when we're interested in issues specific to the edk2 codebase.

This issue tracks investigating whether analysis of submodule code can be excluded from the CodeQL build.

Solution Overview

Two main approaches are being considered:

  1. Remove the submodule code from the build by using a null library instance (if brought into the build via that instance)
  2. Modify the build/linking process to avoid building submodule code in a CodeQL instrumented build

Alternatives Considered

See solution

What packages are impacted?

Other

Urgency

Low

Are you going to implement the feature request?

I will implement the feature

Do you need maintainer feedback?

No maintainer feedback needed

Anything else?

Note: This is considered low priority and may be in the backlog for a while.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions