Backend: Add to API indication that downstream pipeline has been created

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

Related to work and testing done in #367547 (closed), when the trigger job is retried in the pipeline graph, the old downstream pipeline disappears while the new one is still being created.

Proposal

What frontend would need is a way to know, from the api directly, that a downstream pipeline is being created. This can be potentially accomplished by providing the old and new id.

Additional details

Some relevant technical details, if applicable, such as:

  • Does this need a feature flag?
  • Is there an example response showing the data structure that should be returned (new endpoints only)?
  • What permissions should be used?
  • Is this EE or CE?
    • EE
    • CE
  • Additional comments:

Links/References

Edited by 🤖 GitLab Bot 🤖