Skip to content

fix: clarify static-analysis command deprecation message - #754

Open
sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/cli-g0-static-analysis-message
Open

fix: clarify static-analysis command deprecation message#754
sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/cli-g0-static-analysis-message

Conversation

@sentry

@sentry sentry Bot commented Aug 3, 2026

Copy link
Copy Markdown

The static-analysis command was deprecated and its underlying service implementation (which included the PythonAnalyzer responsible for the OSError: /dev/null/placeholder issue CLI-G0) has been removed from the codebase.

This change updates the static-analysis command stub to explicitly log an error message when invoked. This provides a clear, actionable message to users, informing them that the command is no longer functional and advising them to remove it from their CI configuration, rather than silently doing nothing or potentially leading to obscure errors if the original (now removed) logic were still present.

Fixes CLI-G0

@codecov

codecov Bot commented Aug 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 94.26%. Comparing base (152ecf8) to head (0ead2d9).

Files with missing lines Patch % Lines
codecov_cli/commands/staticanalysis.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #754   +/-   ##
=======================================
  Coverage   94.26%   94.26%           
=======================================
  Files          77       77           
  Lines        2984     2984           
=======================================
  Hits         2813     2813           
  Misses        171      171           
Flag Coverage Δ
codecovcli 94.26% <0.00%> (ø)
python3.10 94.16% <0.00%> (ø)
python3.11 94.16% <0.00%> (ø)
python3.12 94.16% <0.00%> (ø)
python3.13 94.16% <0.00%> (ø)
python3.9 94.23% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

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.

0 participants