Ref T9478. This should probably be configurable eventually, but for now treat any 200-block status as success. Also show the result code.
Details
Details
- Reviewers
hach-que chad - Maniphest Tasks
- T9478: Working with harbormaster.sendmessage
- Commits
- Restricted Diffusion Commit
rP14d6325394bb: Acccept any HTTP 2xx status as success in Harbormaster
- Hit a bad URI, saw "HTTP 503" + failure.
- Hit a good URI, saw "HTTP 200" + success.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- httpstatus
- Lint
Lint Passed Severity Location Code Message Advice src/applications/harbormaster/step/HarbormasterHTTPRequestBuildStepImplementation.php:79 XHP16 TODO Comment - Unit
Tests Passed - Build Status
Buildable 8159 Build 9321: Run Core Tests Build 9320: arc lint + arc unit