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

fix(api): disallow hashing we using a fixit command #15026

Merged
merged 2 commits into from
Apr 26, 2024

Conversation

TamarZanzouri
Copy link
Contributor

Overview

follow up for #14908.
disallow hashing for fixit commands.

Test Plan

POST a fixit command and make sure the hash is None.

Risk assessment

low. set hash to None when using a fixit command

@TamarZanzouri TamarZanzouri requested a review from a team as a code owner April 26, 2024 15:11
Copy link
Member

@sfoster1 sfoster1 left a comment

Choose a reason for hiding this comment

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

ok, cool, nice fix!

Copy link
Member

@sanni-t sanni-t left a comment

Choose a reason for hiding this comment

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

LGTM!

Discussed with @TamarZanzouri- As @sfoster1 said in the other PR, we should look into making command intent be always required because the nullability can keep causing confusion. But it is quite an important change that might affect HTTP API (& probably JSON protocols) and would need dedicated testing so we should avoid making such a change this late into the QA process.

So the approach in this PR looks good and we will add a ticket to make the intent be required for post-release.

@TamarZanzouri TamarZanzouri merged commit 331eddc into edge Apr 26, 2024
20 checks passed
@TamarZanzouri TamarZanzouri deleted the added-fixit-to-not-hash branch April 26, 2024 18:20
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.

None yet

3 participants