🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

[Bug][github_graphql] 502 when collecting pull requests #3708

Closed

Description

@likyh

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

image

sometimes PrCollector in graphql will raise 502.

What do you expect to happen

collect success.

How to reproduce

  1. use graphql_github to collect https://github.com/apache/jackrabbit-oak
  2. it will raise 502.

Anything else

The reason is too much data on each page. Now 30 pr, 30 * most 100 commits will bind to one graphql query. But I think it will be too slow if set to less than 30 pr per page. In past, the number is 100 pr per page.

Maybe we need a dynamic page size. It could request 100 per page and reduce less if 502 got.

Version

main

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. added
    type/bug
    on Nov 10, 2022
  2. changed the title [-][Bug][github_graphql] Bug title [/-] [+][Bug][github_graphql] 502 when pr collecting[/+] on Nov 10, 2022
  3. github-actions commented on Dec 11, 2022

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

  4. yumengwang03 commented on Dec 12, 2022

    @yumengwang03
    Contributor

    @likyh Do we want to put this bug in v0.15? cc @klesh

  5. likyh commented on Dec 27, 2022

    @likyh
    ContributorAuthor

    @likyh Do we want to put this bug in v0.15? cc @klesh

    No, I don't think so.

  6. added this to the v0.16.0 milestone on Dec 27, 2022
  7. github-actions commented on Jan 27, 2023

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

  8. github-actions commented on Feb 7, 2023

    @github-actions
    Contributor

    This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.

  9. modified the milestones: v0.16.0, v0.17.0 on Mar 7, 2023
  10. github-actions commented on Apr 9, 2023

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

  11. changed the title [-][Bug][github_graphql] 502 when pr collecting[/-] [+][Bug][github_graphql] 502 when collecting pull requests[/+] on Apr 10, 2023
  12. Startrekzky commented on Apr 10, 2023

    @Startrekzky
    Contributor

    This is solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Staletype/bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions