New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
215: Verify webrev links before considering publication successful #345
Conversation
|
Looks good, just a small suggestion on narrowing the range of successful HTTP status codes
.build(); | ||
try { | ||
var response = client.send(request, HttpResponse.BodyHandlers.ofString()); | ||
if (response.statusCode() < 400) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (response.statusCode() < 400) { | |
if (respons.statusCode() >= 200 && response.statusCode() < 400) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think < 200's propagate outside of the http client implementation, so should be reasonably safe.
@rwestberg This change now passes all automated pre-integration checks. When the change also fulfills all project specific requirements, type
Since the source branch of this PR was last updated there has been 1 commit pushed to the
|
Thanks for reviewing! |
/integrate |
@rwestberg |
Mailing list message from Robin Westberg on skara-dev: Changeset: 3c8b6bc 215: Verify webrev links before considering publication successful Reviewed-by: ehelin ! bots/mlbridge/src/main/java/module-info.java |
Hi all,
Please review this change which ensures that webrev links can be successfully reached before returning from the publication step.
Best regards,
Robin
Progress
Issue
SKARA-215: Verify webrev links before considering publication successful
Approvers