Store pipeline ID and error message in Redis
What does this MR do and why?
Before we can make pipeline creation from pipelines/new
async, we need to store the newly created pipeline's ID or (on failure) the error message. This will allow us to redirect users to the pipeline page on success and to render errors on failure.
This MR updates the PipelineCreations::Request
model to store a pipeline ID and an error message when it receives them from the succeeded
or failed
methods. It updates CreatePipelineService
to pass that information to those methods. We'll be surfacing that information through GraphQL for frontend use in the next MR.
Related to Backend: Implement PipelineCreations::Request i... (#488392)
Edited by Avielle Wolfe