-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Proposal for saving the error details of YAML loading steps.
Steps in the process of processing a PR where there is a YAML load error:
- Our webhook receives the PR
- It is sent to GithubHandler's processRequest method
- processRequest tries to fetch the YAML file
- fetchProboYamlConfigFromGithub is called to get the YAML
- Error callback is found
- Build up an error and post back to Github
I propose that we also save the update that was sent to GH in the local build store. This will also provide a point to emit this error via our eventbus to other services or webhooks that anyone using this project wants. The build object here should have a steps array, where this error should be saved. We'd just make sure that the step we save there is the same format as other steps.
Metadata
Metadata
Assignees
Labels
No labels