Skip to content

chore(ci): suppress CodeQL file coverage deprecation warning#8916

Merged
sriramveeraghanta merged 2 commits intopreviewfrom
chore/suppress-codeql-file-coverage-warning
Apr 20, 2026
Merged

chore(ci): suppress CodeQL file coverage deprecation warning#8916
sriramveeraghanta merged 2 commits intopreviewfrom
chore/suppress-codeql-file-coverage-warning

Conversation

@sriramveeraghanta
Copy link
Copy Markdown
Member

@sriramveeraghanta sriramveeraghanta commented Apr 20, 2026

Summary

  • Adds CODEQL_ACTION_FILE_COVERAGE_ON_PRS: false env var to the CodeQL workflow to explicitly opt into the new default behavior where file coverage computation is skipped on PRs for improved analysis performance.
  • Resolves the deprecation warning: "Starting April 2026, the CodeQL Action will skip computing file coverage information on pull requests."

Test plan

  • Verify the CodeQL action runs without the file coverage warning on a PR trigger

Summary by CodeRabbit

  • Chores
    • Disabled CodeQL file coverage reporting for pull requests.
    • This change reduces noise from per-file coverage reports on PRs while retaining other security scanning and analysis.

Explicitly opt into the new default behavior where CodeQL skips
computing file coverage information on pull requests for improved
analysis performance.
Copilot AI review requested due to automatic review settings April 20, 2026 09:49
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 20, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f5b81ded-0038-4c9f-9f58-e21eebea8672

📥 Commits

Reviewing files that changed from the base of the PR and between 5c30895 and 276e3fb.

📒 Files selected for processing (1)
  • .github/workflows/codeql.yml
✅ Files skipped from review due to trivial changes (1)
  • .github/workflows/codeql.yml

📝 Walkthrough

Walkthrough

Added a job-level environment variable CODEQL_ACTION_FILE_COVERAGE_ON_PRS set to "false" in the CodeQL analysis workflow, disabling file coverage reporting on pull requests while leaving other analysis behavior unchanged.

Changes

Cohort / File(s) Summary
CodeQL Workflow Configuration
​.github/workflows/codeql.yml
Added job-level environment variable CODEQL_ACTION_FILE_COVERAGE_ON_PRS: "false" to disable CodeQL file coverage reporting on PRs. No other workflow steps or control flow were modified.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐇 I nudged a flag in CI tonight,
Coverage whispers out of sight,
CodeQL hums its steady tune,
PRs skip a little moonlit rune,
Hoppity—builds stay calm and bright.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: adding an environment variable to suppress the CodeQL file coverage deprecation warning in the CI workflow.
Description check ✅ Passed The PR description includes a clear summary explaining the purpose and the deprecation warning being resolved, but the description template sections (Type of Change, Screenshots, References) are not fully addressed.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/suppress-codeql-file-coverage-warning

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the CodeQL GitHub Actions workflow to explicitly disable file coverage computation on pull requests, aligning with the upcoming CodeQL Action default and removing the deprecation warning.

Changes:

  • Adds CODEQL_ACTION_FILE_COVERAGE_ON_PRS: false at the job env level for the CodeQL analysis job.

Comment thread .github/workflows/codeql.yml Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@sriramveeraghanta sriramveeraghanta merged commit da41f14 into preview Apr 20, 2026
12 checks passed
@sriramveeraghanta sriramveeraghanta deleted the chore/suppress-codeql-file-coverage-warning branch April 20, 2026 10:09
PhilippeCaira pushed a commit to PhilippeCaira/plane that referenced this pull request Apr 22, 2026
…ne#8916)

* chore(ci): suppress CodeQL file coverage deprecation warning

Explicitly opt into the new default behavior where CodeQL skips
computing file coverage information on pull requests for improved
analysis performance.

* Update .github/workflows/codeql.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants