Details
Diff Detail
- Repository
- rDCIDX Metadata indexer
- Branch
- more-type-checks
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 4010 Build 5258: tox-on-jenkins Jenkins Build 5257: arc lint + arc unit
Event Timeline
Build is green
See https://jenkins.softwareheritage.org/job/DCIDX/job/tox/313/ for more details.
As always with this kind of diff, I'm quite puzzled: we add a lot of 'if' conditions (on types), but what are the unexpected types that the code may encounter? As is, we just (silently) ignore a bunch of values.
I get it that we parse (normally) structured files from the wide, so we shall expect nothing valid. But shouldn't we at least notify the failure? shouldn't there be a metedata entry that state the parsing was successful, partial or a complete failure?
Also, you add many defensive statements, but none of them are actually tested, unless I'm mistaken. Once again, please add tests for these invalid input resiliency checks.
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DCIDX/job/tox/380/
See console output for more information: https://jenkins.softwareheritage.org/job/DCIDX/job/tox/380/console
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DCIDX/job/tox/382/
See console output for more information: https://jenkins.softwareheritage.org/job/DCIDX/job/tox/382/console
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DCIDX/job/tox/383/
See console output for more information: https://jenkins.softwareheritage.org/job/DCIDX/job/tox/383/console
Build is green
See https://jenkins.softwareheritage.org/job/DCIDX/job/tox/384/ for more details.
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DCIDX/job/tox/386/
See console output for more information: https://jenkins.softwareheritage.org/job/DCIDX/job/tox/386/console
Build is green
See https://jenkins.softwareheritage.org/job/DCIDX/job/tox/387/ for more details.
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DCIDX/job/tox/393/
See console output for more information: https://jenkins.softwareheritage.org/job/DCIDX/job/tox/393/console