You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit beff199
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: submitqueue/extension/validator/github/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ URIs that are not GitHub change IDs are skipped, so the validator composes with
33
33
34
34
## Failures
35
35
36
-
A rejection is an error naming the pull request and the rule it breaks. A failure to read GitHub — a transport error, an HTTP status, a GraphQL error such as a pull request that does not exist — is returned wrapped, and an HTTP status stays in the chain as `platform/http.StatusError` so `platform/errs/http`can classify it. Neither is classified here, as for any extension, and the validate stage currently rejects the request on either.
36
+
A rejection is an error naming the pull request and the rule it breaks, wrapping `validator.ErrRejected`; the validate stage terminates the request with it as the reason. A failure to read GitHub — a transport error, an HTTP status, a GraphQL error such as a pull request that does not exist — does not wrap it, so the validate stage hands it to the consumer's classifiers like any other stage failure: an HTTP status stays in the chain as `platform/http.StatusError`, so `platform/errs/http`retries a 5xx or 429 and dead-letters a 403 or 404.
0 commit comments