-
Notifications
You must be signed in to change notification settings - Fork 423
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
Send EL response before Triggers finish processing #1132
Send EL response before Triggers finish processing #1132
Conversation
The following is the coverage report on the affected files.
|
/assign @wlynch |
/assign @savitaashture |
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.
We should update the commit + PR description to be more git blame friendly.
Otherwise LGTM!.
fb2064e
to
2f8fbf4
Compare
In the current version of the product, the HTTP request to the EventListener endpoint waits for all triggers to process to determine if a resource was created. This is not in line with the suggestion by the source control systems for webhook endpoints. This change updates the endpoint to respond as soon as the triggers have been selected for processing. BREAKING CHANGE: With this change the EventListener will stop responding with `201 Created` status code when it creates resources. Instead it will always respond with a `202 Accepted` response code. Fixes tektoncd#931
2f8fbf4
to
2ce9b99
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: savitaashture, wlynch The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Changes
Note: This is @jmcshane 's PR #1077 that I rebased.
In the current version of the product, the HTTP request to the EventListener
endpoint waits for all triggers to process to determine if a resource was
created. This is not in line with the suggestion by the source control
systems for webhook endpoints. This change updates the endpoint to respond
as soon as the triggers have been selected for processing.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Release Notes