Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn labelanalysis and staticanalysis views into noops #1233

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Swatinem
Copy link
Contributor

As part of deprecating ATS, this turns all the views into noops that return empty objects.

Checking in with the requests that the CLI sends, returning an empty external_id and absent_labels for the labelanalysis will result in the CLI falling back to using the clientside requested labels.

Similarly, returning an empty list of filepaths means that the CLI will not do any further uploads.

@Swatinem Swatinem requested a review from a team March 21, 2025 13:38
@Swatinem Swatinem self-assigned this Mar 21, 2025
Copy link
Contributor

✅ Sentry found no issues in your recent changes ✅

As part of deprecating ATS, this turns all the views into noops that return empty objects.

Checking in with the requests that the CLI sends, returning an empty `external_id` and `absent_labels` for the labelanalysis will result in the CLI falling back to using the clientside requested labels.

Similarly, returning an empty list of `filepaths` means that the CLI will not do any further uploads.
@Swatinem Swatinem force-pushed the swatinem/noop-analysis branch from 5ee2450 to 51da428 Compare March 21, 2025 13:39
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.

1 participant