Closed Bug 1265867 Opened 8 years ago Closed 5 years ago

Client doesn't handle paginated results well

Categories

(Tree Management Graveyard :: Treeherder: Client Libraries, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: wlach, Unassigned)

Details

:erahm recently pointed me at this push, wondering why he wasn't seeing any linux64 builds on the treeherder client:

https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&revision=ae7413abfa4d3954a6a4ce7c1613a7100f367f9a&filter-tier=1&filter-tier=3&filter-tier=2

He tried to get the same results on the client as follows:

client.get_jobs('mozilla-central', result_set_id=5667)

... but that didn't work, because by default we only return 10 results paginated. You have to specify the count and offset manually, which is totally unintuitive. We should handle this case better (probably just by auto-getting all paginated results, or something similar).
Priority: -- → P5

The python client is not being actively maintained any more.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.