Newly created project finds pipelines from previously existing project with the same name
Summary
Newly created project achieves pipelines from previously existing project with the same name
Steps to reproduce
- Create new project.
- Setup any CI/CD pipeline.
- Trigger pipeline.
- Remove project clicking
Remove projectinGeneral -> Settings -> Advanced, during pipeline execution. - Agree to remove project.
- Create new project with the same group and name.
- Go to
CI/CD -> Pipelines. - Observe pipelines from removed project.
- Click on any of pipeline stages leads to
Something went wrong on our end.
What is the current bug behavior?
Pipelines from previous project are shown.
What is the expected correct behavior?
Empty pipeline list is expected.
Relevant logs and/or screenshots
The screen after clicking on any of pipeline stages:

Stage details HTTP request:
Request URL: https://gitlab.com/inayelle/<project>/pipelines/132867130/stage.json?stage=build%2Fany
Request Method: GET
Status Code: 404
Remote Address: 172.65.251.78:443
Referrer Policy: origin-when-cross-origin
Output of checks
This bug happens on GitLab.com
Edited by Jason Yavorsky