Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pagination in graphql streams seems broken #165

Closed
laurentS opened this issue Nov 10, 2022 · 0 comments · Fixed by #168
Closed

Pagination in graphql streams seems broken #165

laurentS opened this issue Nov 10, 2022 · 0 comments · Fixed by #168
Assignees
Labels
bug Something isn't working

Comments

@laurentS
Copy link
Contributor

When running the tap on the dependencies stream, it enters an endless loop which seems to be caused by an invalid pagination logic. From the logs (only the last field differs):

2022-11-10 16:12:28,891 INFO METRIC: {"metric_type": "timer", "metric": "http_request_duration", "value": 2.874029, "tags": {"stream": "dependencies", "endpoint": "", "http_status_code": 200, "status": "succeeded", "context": {"org": "mapswipe", "repo": "mapswipe", "repo_id": 68943183, "per_page": 100, "nextPageCursor_1": "Mg"}}}
2022-11-10 16:12:31,102 INFO METRIC: {"metric_type": "timer", "metric": "http_request_duration", "value": 2.148324, "tags": {"stream": "dependencies", "endpoint": "", "http_status_code": 200, "status": "succeeded", "context": {"org": "mapswipe", "repo": "mapswipe", "repo_id": 68943183, "per_page": 100, "nextPageCursor_1": null}}}

Those 2 messages keep repeating until the tap is killed.

@laurentS laurentS added the bug Something isn't working label Nov 10, 2022
@ericboucher ericboucher self-assigned this Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants