osf.io icon indicating copy to clipboard operation
osf.io copied to clipboard

[CR][ENG-6022] Hotfix: fix postcommit celery bug for spam checks

Open felliott opened this issue 1 year ago • 0 comments

Purpose

Something in python-upgrade started adding complex objects to the request headers. These headers were being passed into the celery task call for spam-checking. Because the complex objects can't be serialized, the task was failing. Knock that off.

Changes

Stop adding request headers to spam check kwargs. We already set the necessary kwargs.

QA Notes

Will be dev-tested.

Documentation

None.

Side Effects

None expected.

Ticket

https://openscience.atlassian.net/browse/ENG-6022

felliott avatar Aug 26 '24 19:08 felliott