-
Notifications
You must be signed in to change notification settings - Fork 268
Closed
Closed
Copy link
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Pages for a task contain a list of artifacts. If there are more than 1000 artifacts, pagination kicks in and only the first 1000 are shown. To navigate the list of tasks, the user has to click on >.
To Reproduce
Steps to reproduce the behavior:
- Go to https://firefox-ci-tc.services.mozilla.com/tasks/VooOdpPAQsK2xFYyH2uDOQ#artifacts
- On the right, expand "Artifacts".
- Go to bottom of the artifacts list.
- Click
>. - Nothing changes.
Expected behavior
Switch to next watch of artifacts
Taskcluster version
43.2.0
Additional context
Retrieving the second batch works with the API (first batch).
The query to the graphql endpoint reports a bad request. Request data:
{"operationName":"PageArtifacts","variables":{"runId":0,"taskId":"VooOdpPAQsK2xFYyH2uDOQ","artifactsConnection":{"limit":1000,"cursor":"WyJWb29PZHBQQVFzSzJ4Rll5SDJ1RE9RIiwwLCJwdWJsaWMvdGVzdF9pbmZvL2Jyb3dzZXJ0aW1lLXJlc3VsdHMvY25uLW5hdi93aW5kb3dyZWNvcmRpbmctMTY0MTgzMDExNjcyMC41Mi9mcmFtZS05NjktNTgyNzIucG5nIl0=","previousCursor":"$$FIRST$$"}},"query":"query PageArtifacts($taskId: ID!, $runId: Int!, $connection: PageConnection!) {\n artifacts(taskId: $taskId, runId: $runId, connection: $connection) {\n ...Artifacts\n __typename\n }\n}\n\nfragment Artifacts on ArtifactsConnection {\n pageInfo {\n hasNextPage\n hasPreviousPage\n cursor\n previousCursor\n nextCursor\n __typename\n }\n edges {\n node {\n name\n contentType\n __typename\n }\n __typename\n }\n __typename\n}\n"}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working