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

No JSON response format validation in PurgeHistory Ops #188

Merged
merged 1 commit into from
Sep 9, 2020

Conversation

davidmrdavid
Copy link
Collaborator

Addresses: #183

We've consistently had issues with aioHttp, which tries to validate the format of durable-extension and function-host messages, resulting in exceptions. We got hit by the same issue yet again in ticket listed above. I believe this should be the last instance of this sneaky bug.

@davidmrdavid
Copy link
Collaborator Author

I thought about how to unit test this fix but, since we're fixing the usage of an external API flag, it strikes me as an awkward thing to do; especially considering that this change does not really change any logic on our end, it's just a decoding fix.

Our unit testing framework does include some utilities to test this, found here but I figured it may be best to include those as part of another, non-blocking, task. What do y'all think?

@cgillum
Copy link
Member

cgillum commented Sep 8, 2020

Personally, I think it's fine to take on the larger testing work item separately from this PR.

@davidmrdavid
Copy link
Collaborator Author

Sounds good, task is here: #191

Copy link

@ConnorMcMahon ConnorMcMahon left a comment

Choose a reason for hiding this comment

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

LGTM!

@davidmrdavid davidmrdavid merged commit 63b1d23 into dev Sep 9, 2020
@davidmrdavid davidmrdavid deleted the dajusto/mimetype branch September 9, 2020 22:46
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