Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up{{ message }}
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
Apparently the latest deployment status can be
nullwhile there is a deployment in progress,which we account for within the service class schema accordingly:
shields/services/github/github-deployments.service.js
Lines 28 to 32 in ea24784
However, our service tests do not:
shields/services/github/github-deployments.tester.js
Lines 6 to 15 in ea24784
Ran into this earlier while trying to test a Dependabot PR while Dependabot/Repo Ranger were merging other PRs leading to shields-staging being deployed to during. I know this hasn't exactly been a frequent issue, but probably wouldn't hurt to make some tweaks, either by handling the
nullcase more deliberately in the service class (for example, in what circumstance(s) does this occur and could we map the rawnullto a more user-friendly badge message) or updating the service test validation schema