Page MenuHomeSoftware Heritage

Fix deserialization of extra_headers.
ClosedPublic

Authored by vlorentz on Aug 19 2020, 2:53 PM.

Details

Summary

kafka_to_value didn't recursively convert to tuples, so they were
of type Tuple[List[bytes], ...] instead of Tuple[Tuple[bytes, bytes], ...]

Diff Detail

Repository
rDJNL Journal infrastructure
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 D3806 (id=13409)

Rebasing onto ce6cb80ee1...

Current branch diff-target is up to date.
Changes applied before test
commit 4d3cb983615da70196f74f51b5972dc0a3862784
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Aug 19 14:52:58 2020 +0200

    Fix deserialization of extra_headers.
    
    kafka_to_value didn't recursively convert to tuples, so they were
    of type Tuple[List[bytes], ...] instead of Tuple[Tuple[bytes, bytes], ...]

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

This revision is now accepted and ready to land.Aug 19 2020, 3:43 PM
This revision was automatically updated to reflect the committed changes.