Page MenuHomePhabricator

[land-bot] Improve error reporting when fetching revision status fails
ClosedPublic

Authored by jasonbcox on May 19 2020, 16:54.

Details

Summary

Prior to this patch, the request can fail for a number of reasons and provide
no helpful info to investigate the issue.

Test Plan
vim land-patch.sh    # edit the domain on the REVISION_STATUS line to a non-existent domain
CONDUIT_TOKEN=invalid ./land-patch --dry-run -r D5930   # Failed to connect to non-existent domain
git reset --hard <this-patch>
CONDUIT_TOKEN=invalid ./land-patch --dry-run -r D5930   # Gives Conduit error as expected
CONDUIT_TOKEN=<valid-token> ./land-patch --dry-run -r D5930   # Still errors as expected since this revision isn't accepted

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.May 21 2020, 11:56