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 — Deprecate the 'cleanup-level' option by henrymercer · Pull Request #2999 · github/codeql-action

Conversation

@henrymercer

@henrymercer henrymercer commented Aug 4, 2025

Copy link
Copy Markdown
Contributor

The CodeQL Action has not written intermediate results to the database since version 2.2.5, so this option now has little to no practical use.

This PR keeps the input around but marks it as deprecated in the description and adds an info level log notifying users that they can safely remove the input from their workflows.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

Sorry, something went wrong.

Uh oh!

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

All reactions
@henrymercer
Deprecate the 'cleanup-level' option
e95a3a9
@henrymercer
henrymercer requested a review from a team as a code owner August 4, 2025 16:53
Copilot AI review requested due to automatic review settings August 4, 2025 16:53

This comment was marked as outdated.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

@henrymercer
Add changelog note
f9d6919
@henrymercer
henrymercer force-pushed the henrymercer/deprecate-cleanup-level branch from 1702cb6 to f9d6919 Compare August 4, 2025 17:00
@henrymercer
henrymercer requested a review from mbg August 5, 2025 09:53
mbg
mbg previously approved these changes Aug 5, 2025
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.

Nice! That's convenient given the changes that were needed for overlay databases. Thanks for noticing this and making the change.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread CHANGELOG.md Resolved

Uh oh!

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

@henrymercer @mbg
Improve changelog formatting
87e59d0
Co-authored-by: Michael B. Gale <[email protected]>
@henrymercer
henrymercer dismissed mbg’s stale review via 87e59d0 August 5, 2025 10:08
Copilot AI review requested due to automatic review settings August 5, 2025 10:08
Copilot AI reviewed Aug 5, 2025
View reviewed changes

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.

Pull Request Overview

This PR deprecates the cleanup-level input option for the CodeQL Action's analyze step, as it no longer serves a practical purpose since the Action stopped writing intermediate results to the database in version 2.2.5.

  • Removes the cleanup-level input parameter usage and hardcodes cleanup behavior
  • Adds deprecation warning to inform users they can safely remove this input
  • Updates action description and changelog to reflect the deprecation

Reviewed Changes

Copilot reviewed 8 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/analyze-action.ts Adds deprecation warning and changes cleanup level logic to use hardcoded values
lib/analyze-action.js Generated JavaScript equivalent of the TypeScript changes
src/analyze-action-input.test.ts Removes test stub for deprecated cleanup-level input
src/analyze-action-env.test.ts Removes test stub for deprecated cleanup-level input
lib/analyze-action-input.test.js Generated JavaScript test file changes
lib/analyze-action-env.test.js Generated JavaScript test file changes
analyze/action.yml Updates input description to mark as deprecated and removes default value
CHANGELOG.md Documents the deprecation change

Sorry, something went wrong.

Uh oh!

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

All reactions
@henrymercer
henrymercer requested a review from mbg August 5, 2025 10:08
@henrymercer
henrymercer enabled auto-merge August 5, 2025 10:09
mbg
mbg approved these changes Aug 5, 2025
View reviewed changes
@henrymercer
henrymercer merged commit bbfff2f into main Aug 5, 2025
@henrymercer
henrymercer deleted the henrymercer/deprecate-cleanup-level branch August 5, 2025 10:22
@github-actions github-actions Bot mentioned this pull request Aug 7, 2025
Merge main into releases/v3 #3012
Merged
6 of 8 tasks
This was referenced Sep 16, 2026
ci(actions): bump github/codeql-action/autobuild from 4.37.8 to 4.38.0 VBCreators/AI-RAG#35
Open
Upgrade CodeQL actions from v3.38.0 to v4.38.0 shmindmaster/heatlot#4
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
@mbg mbg mbg approved these changes

Uh oh!

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

Assignees

No one assigned

Labels

None yet

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.

3 participants

@henrymercer @mbg
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.