Not stripping them causes test failures (because of the unexpected
field) and crash in production (because bytes cannot be serialized to
JSON).
Resolves the two deposit failures in T3815.
Differential D6867
Strip 'offset_bytes' from date dicts to support swh-model 4.0.0 Authored by vlorentz on Dec 21 2021, 12:03 PM. Tags None Subscribers None
Details
Not stripping them causes test failures (because of the unexpected Resolves the two deposit failures in T3815.
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D6867 (id=24881)Rebasing onto 9807be11d0... First, rewinding head to replay your work on top of it... Applying: Strip 'offset_bytes' from date dicts to support swh-model 4.0.0 Changes applied before testcommit ae3633f13b6fbef0402de42a15a969eab6ef2530
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date: Tue Dec 21 12:01:56 2021 +0100
Strip 'offset_bytes' from date dicts to support swh-model 4.0.0
Not stripping them causes test failures (because of the unexpected
field) and crash in production (because bytes cannot be serialized to
JSON).See https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/683/ for more details. Comment Actions Build is green Patch application report for D6867 (id=24891)Rebasing onto d2dfc416d1... First, rewinding head to replay your work on top of it... Fast-forwarded diff-target to base-revision-684-D6867. Changes applied before testSee https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/684/ for more details. |