Skip to content

GitHub API Rate Limit #772

Closed
Closed

Description

@Smarticles101

Sometimes, the journey test on travis-ci will fail to only test against the files changed because the rate limit has been exceeded.

{
  "message": "API rate limit exceeded for 52.54.31.11. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)",
  "documentation_url": "https://developer.github.com/v3/#rate-limiting"
}

Activity

  1. stkent commented on Oct 18, 2017

    @stkent
    Contributor

    @Smarticles101 any ideas for this one?

  2. Smarticles101 commented on Oct 19, 2017

    @Smarticles101
    MemberAuthor

    Perhaps we could clone master and get the diff between master and the branch the build is on? That's the only idea I have other than actually authenticating with github's api

  3. ilya-khadykin commented on Oct 19, 2017

    @ilya-khadykin
    Contributor

    I've faced the same problem while creating issues for Python track. The goal was to create over 70 issues, but after 35-40 created issues I've started getting this response

    Didn't research much, but it's annoying

  4. Smarticles101 commented on Sep 17, 2018

    @Smarticles101
    MemberAuthor

    Has anyone looked into this since? I think a good option at this point would be to pull master inside the travis environment (rather than using the github api) to get a diff.

  5. FridaTveit commented on Sep 17, 2018

    @FridaTveit
    Contributor

    No, I haven't looked into it. However, with the changes to the journey-test script, the builds are now really fast. So I think it would be fine to keep everything as it is. It means some more tests will run every time we run into this issue, but it shouldn't really matter with the builds being faster anyway 🙂 What do you think @Smarticles101, @sjwarner-bp? 🙂

  6. sjwarner-bp commented on Sep 17, 2018

    @sjwarner-bp
    Contributor

    There hasn't been too much pain around this for a little while now I think, and with our super-fast builds now I think I am happy for everything around there to remain the same for the moment 🙂

  7. Smarticles101 commented on Sep 17, 2018

    @Smarticles101
    MemberAuthor

    @FridaTveit since I've been out of the loop for a while, I'll check in on the journey-test script to become more familiar with recent changes. Glancing at the travis page, some PRs are still taking quite a long time. Such as #1506 which went over 30 minutes when it should have just ran the two-fer test I believe.

  8. FridaTveit commented on Sep 24, 2018

    @FridaTveit
    Contributor

    That's strange, I hadn't noticed that! In which case, it's probably worth having a look at to see if it's something we can fix 🙂

    Personally I haven't found slow builds to be much of a problem. I don't usually get to the PRs quick enough to have to wait for the builds to finish, and when I open PRs myself I'm not so desparate to get them merged that I mind waiting 🙂

    But other people might have had different experiences?

    And either way, if it's something we can easily fix then it's always great to have faster builds! 🙂

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions