GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: add minimumVersion values for language overlay flags by sam-robson · Pull Request #3550 · github/codeql-action

Conversation

@sam-robson

@sam-robson sam-robson commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

Add per-language minimumVersion values to the overlay analysis feature flags, so that each language's overlay feature is only enabled when the CLI version supports it.

Also remove feature flags for languages not yet GA or in staff-ship (actions, cpp, rust, swift)

Risk assessment

For internal use only. Please select the risk level of this change:

  • Low risk: Changes are fully under feature flags, or have been fully tested and validated in pre-production environments and are highly observable, or are documentation or test only.

Which use cases does this change impact?

Workflow types:

  • Managed - Impacts users with dynamic workflows (Default Setup, Code Quality, ...).

Products:

  • Code Scanning - The changes impact analyses when analysis-kinds: code-scanning.
  • Code Quality - The changes impact analyses when analysis-kinds: code-quality.

Environments:

  • Dotcom - Impacts CodeQL workflows on github.com and/or GitHub Enterprise Cloud with Data Residency.
  • GHES - Impacts CodeQL workflows on GitHub Enterprise Server.

How did/will you validate this change?

  • Unit tests - I am depending on unit test coverage (i.e. tests in .test.ts files).

If something goes wrong after this change is released, what are the mitigation and rollback strategies?

  • Feature flags - All new or changed code paths can be fully disabled with corresponding feature flags.

How will you know if something goes wrong after this change is released?

  • Telemetry - I rely on existing telemetry or have made changes to the telemetry.
    • Dashboards - I will watch relevant dashboards for issues after the release. Consider whether this requires this change to be released at a particular time rather than as part of a regular release.
    • Alerts - New or existing monitors will trip if something goes wrong with this change.

Are there any special considerations for merging or releasing this change?

  • No special considerations - This change can be merged at any time.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Consider adding a changelog entry for this change.
  • Confirm the readme and docs have been updated if necessary.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Copilot AI review requested due to automatic review settings March 5, 2026 17:11
@sam-robson
sam-robson requested a review from a team as a code owner March 5, 2026 17:11
henrymercer
henrymercer reviewed Mar 5, 2026
View reviewed changes

@henrymercer henrymercer left a comment

Copy link
Copy Markdown
Contributor

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.

Nice! I checked the version numbers and they all look good. Consider adding a unit test that when a language isn't in OVERLAY_ANALYSIS_CODE_SCANNING_FEATURES overlay isn't enabled (see the existing tests in src/config-utils.test.ts). Otherwise this looks good to merge.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

sam-robson reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Copilot AI reviewed Mar 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@github-actions github-actions Bot added the size/M Should be of average difficulty to review label Mar 5, 2026
@sam-robson
sam-robson force-pushed the sam-robson/overlay-per-lang-min-bundle-version branch 3 times, most recently from 4991213 to be82d93 Compare March 6, 2026 09:15
@sam-robson
sam-robson requested a review from henrymercer March 6, 2026 15:03
mbg
mbg previously approved these changes Mar 6, 2026
View reviewed changes
henrymercer
henrymercer previously approved these changes Mar 9, 2026
View reviewed changes
Comment thread src/config-utils.test.ts
Comment on lines +2014 to +2020
// Verify that a language without a per-language overlay feature flag cannot have
// overlay analysis enabled, even when the base overlay feature flag is on.
// Using cpp here as it doesn't currently have overlay support — update this if
// cpp gains overlay support.
test.serial(
checkOverlayEnablementMacro,
"No overlay analysis for language without per-language overlay feature flag",

@henrymercer henrymercer Mar 9, 2026

Copy link
Copy Markdown
Contributor

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.

We could potentially write another test that checks that this stays up to date, specifically checking that C++ doesn't get added to OVERLAY_ANALYSIS_FEATURES. I'm OK with merging as is though.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/config-utils.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@sam-robson
sam-robson dismissed stale reviews from henrymercer and mbg via 08925cd March 9, 2026 12:04
@sam-robson
sam-robson enabled auto-merge March 9, 2026 13:11
@sam-robson
sam-robson requested review from henrymercer and mbg March 9, 2026 13:11
mbg
mbg reviewed Mar 9, 2026
View reviewed changes

@mbg mbg left a comment

Copy link
Copy Markdown
Member

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.

08925cd just seems to include the updated comment and no test (despite the commit message) - I assume this isn't intentional?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@sam-robson
feat: add minimumVersion values for existing language-specific overla…
e046976
…y feature flags
@sam-robson
sam-robson force-pushed the sam-robson/overlay-per-lang-min-bundle-version branch from 08925cd to 18af9a6 Compare March 9, 2026 16:45
@sam-robson
test: verify overlay analysis is disabled for languages without per-l…
867f2b0
…anguage feature flags
@sam-robson
sam-robson force-pushed the sam-robson/overlay-per-lang-min-bundle-version branch from 18af9a6 to 867f2b0 Compare March 9, 2026 16:46
@sam-robson
Merge branch 'main' into sam-robson/overlay-per-lang-min-bundle-version
8bddab0
@sam-robson

sam-robson commented Mar 9, 2026

Copy link
Copy Markdown
Contributor Author

08925cd just seems to include the updated comment and no test (despite the commit message) - I assume this isn't intentional?

Oops, a failed amended commit - I only intended to update the comment

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sam-robson
sam-robson requested a review from mbg March 9, 2026 20:47
@sam-robson
Merge branch 'main' into sam-robson/overlay-per-lang-min-bundle-version
79ea59d
henrymercer
henrymercer approved these changes Mar 10, 2026
View reviewed changes
@sam-robson
sam-robson added this pull request to the merge queue Mar 10, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Mar 10, 2026

Uh oh!

There was an error while loading. Please reload this page.

@henrymercer
henrymercer added this pull request to the merge queue Mar 11, 2026
Merged via the queue into main with commit 2e7e91f Mar 11, 2026
253 of 255 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@henrymercer
henrymercer deleted the sam-robson/overlay-per-lang-min-bundle-version branch March 11, 2026 10:51
This was referenced Mar 16, 2026
Merge main into releases/v4 #3574
Merged
Merge releases/v4 into releases/v3 #3577
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@henrymercer henrymercer henrymercer approved these changes
@mbg mbg Awaiting requested review from mbg

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size/M Should be of average difficulty to review

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@sam-robson @mbg @henrymercer
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.