Needed to write tests for the fix to T4586.
Details
- Reviewers
anlambert - Group Reviewers
Reviewers - Maniphest Tasks
- T4586: max_matching_nodes is applied before filtering for node type
- Commits
- rDGRPHbc4e710a50e5: http_client: Add max_matching_nodes parameter to visit_nodes()
Diff Detail
- Repository
- rDGRPH Compressed graph representation
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 31924 Build 49969: Phabricator diff pipeline on jenkins Jenkins console · Jenkins Build 49968: arc lint + arc unit
Event Timeline
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DGRPH/job/tests-on-diff/250/
See console output for more information: https://jenkins.softwareheritage.org/job/DGRPH/job/tests-on-diff/250/console
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DGRPH/job/tests-on-diff/252/
See console output for more information: https://jenkins.softwareheritage.org/job/DGRPH/job/tests-on-diff/252/console
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DGRPH/job/tests-on-diff/254/
See console output for more information: https://jenkins.softwareheritage.org/job/DGRPH/job/tests-on-diff/254/console
Build is green
Patch application report for D8579 (id=30952)
Rebasing onto 8549673d02...
First, rewinding head to replay your work on top of it... Applying: http_client: Add max_matching_nodes parameter to visit_nodes()
Changes applied before test
commit 92f4da382d83df4c6bf77401340ddefd54c63b61 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Sep 29 15:39:27 2022 +0200 http_client: Add max_matching_nodes parameter to visit_nodes()
See https://jenkins.softwareheritage.org/job/DGRPH/job/tests-on-diff/256/ for more details.
swh/graph/http_naive_client.py | ||
---|---|---|
201 | Should it not be yield from res instead ? |
swh/graph/http_naive_client.py | ||
---|---|---|
201 | er I guess, but it's functionally equivalent to return res from a function instead of yield from res from a generator when res is an iterator; that's why generators have the same type signature as a function returning an iterator |
swh/graph/http_naive_client.py | ||
---|---|---|
201 | Ack, I was not sure about that fact. |
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DGRPH/job/tests-on-diff/258/
See console output for more information: https://jenkins.softwareheritage.org/job/DGRPH/job/tests-on-diff/258/console