Known Issue: Travis CI reports "Expected - Waiting for status to be reported" on the GitHub Status API, but the status never arrives

known-issue

#1

Symptom

Your repository stopped receiving status updates. In your PR, you see something like this:

Explanation

As part of our gradual migration to the Travis CI GitHub App, that now uses GitHub Checks to report build statuses, we kept posting both GitHub Checks as well as the old commit statuses for some time to not break repositories using the commit statuses in their protected branches settings and give time to do the change to use the new Checks instead.

As of October 4th, those repositories on travis-ci.com which are managed by GitHub Apps no longer receive updates to the GitHub Commit Status API. Instead, Build Statuses will be posted to the GitHub Check Runs API.

Remedy

To fix this issue, update your repositories using protected branches to require GitHub Checks as follows:

  1. Go to the repository’s Branch Settings page (https://github.com/OWNER/REPO/settings/branches).
  2. In the “Branch Protection Settings” section, click “Edit” for a protected branch
  3. Scroll down to the second box, “Require status checks to pass before merging.” Select either “Travis CI - Pull Request” or “Travis CI - Branch” or both. (Note: “continuous-integration/travis-ci” is the Status API event which is deprecated)
  4. Save your changes

Original post here: https://github.com/travis-ci/travis-ci/issues/10204


#2

#3

#4