Skip to content

Refresh the current PR's CI status periodically #3020

Closed

Description

@joshaber

As of #2918 we load and store the CI status for PRs.

We should also refresh the current PR's CI status periodically. We could be kinda smart:

  • We'll probably need to refresh it shortly after they push.
  • If the status is pending, refresh pretty frequently (every minute?)
  • Once the status goes red or green, we can back off and check less often, until the next push.

Activity

  1. added this to the 1.1 milestone on Oct 11, 2017
  2. j-f1 commented on Oct 11, 2017

    @j-f1
    Contributor

    Would it be possible to change the GitHub API for statuses to support ?since= like /notifications? This way, the API would return an empty array if there are no changes, allowing more-frequent fetches.

  3. locked as resolved and limited conversation to collaborators on Jul 19, 2018
  4. unlocked this conversation on Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions