Page MenuHomeSoftware Heritage

Use json instead of msgpack for serializers
ClosedPublic

Authored by olasd on Oct 25 2022, 3:51 PM.

Details

Summary

Recent celery versions generate serialized messages with mime types incompatible
with older versions when using msgpack

Test Plan

avoids noise on production workers when running celery CLI commands.

Diff Detail

Repository
rDSCH Scheduling utilities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D8768 (id=31617)

Rebasing onto aeb870a700...

Current branch diff-target is up to date.
Changes applied before test
commit bde27a9e4262373486ed8c3e48bfbfe5171a9432
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Tue Oct 25 15:46:26 2022 +0200

    Use json instead of msgpack for serializers
    
    Recent celery versions generate serialized messages with mime types incompatible
    with older versions when using msgpack

See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/564/ for more details.

olasd requested review of this revision.Oct 25 2022, 3:56 PM
vlorentz added a subscriber: vlorentz.

* sigh *

This revision is now accepted and ready to land.Oct 25 2022, 4:12 PM
This revision was automatically updated to reflect the committed changes.