The RPC framework can't serialize them.
Resolves sentry issue SWH-LOADER-CORE-DD
Differential D3638
Don't pass non-sequence iterables to the storage API. vlorentz on Jul 29 2020, 10:43 AM. Authored by
Details
The RPC framework can't serialize them. Resolves sentry issue SWH-LOADER-CORE-DD Also adding the StorageInterface type annotation, so that this becomes
Diff Detail
Event TimelineComment Actions I gather this fixes [1] thus the icinga warnings on the check loading deposit failure. [1] https://sentry.softwareheritage.org/share/issue/1dce997a8f524b93a232c6757a8cd3f7/ Comment Actions Build is green Patch application report for D3638 (id=12799)Rebasing onto 04455fbe16... Current branch diff-target is up to date. Changes applied before testcommit 7b5ddd8080e13e0fc138feed5f13aa729c41ecae Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Wed Jul 29 10:43:00 2020 +0200 Don't pass non-sequence iterables to the storage API. The RPC framework can't serialize them. Also adding the StorageInterface type annotation, so that this becomes type-checked with swh.core>v0.1.2 and swh.storage>v0.11.5. See https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/227/ for more details. |