devtron icon indicating copy to clipboard operation
devtron copied to clipboard

Bug: unable to change the branch in linked CI

Open jatin-jangir-0220 opened this issue 2 years ago • 2 comments

📜 Description

getting error like error while updating pipeline in api orchestrator/app/ci-pipeline/patch response { "code": 500, "status": "Internal Server Error", "errors": [ { "code": "000", "internalMessage": "[{error while updating linked pipeline}]", "userMessage": "error while updating linked pipeline" } ] }

Affected areas

CI

Additional affected areas

CD

Prod/Non-prod environments?

Prod

Is User unblocked?

Yes

How was the user un-blocked?

None

Impact on Enterprise

sp

👟 Steps to replicate the Issue

use linked ci and getting error in few pipelines

👍 Expected behavior

should able to change branch

👎 Actual Behavior

error

☸ Kubernetes version

any

Cloud provider

any

🌍 Browser

Chrome

✅ Proposed Solution

No response

👀 Have you spent some time to check if this issue has been raised before?

  • [X] I checked and didn't find any similar issue

🏢 Have you read the Code of Conduct?

AB#9455

jatin-jangir-0220 avatar Apr 19 '24 08:04 jatin-jangir-0220

Final Score: 200

github-actions[bot] avatar Apr 19 '24 08:04 github-actions[bot]

The user was updating ci pipeline having 11 child pipelines. The issue was due to corrupt data (wrong git material id )present in one of the child pipeline. For linked CI pipeline git material ID should be same as that of parent but in this case it was different. RCA: The pipeline having corrupt data was created using app create API. In app create api validations on linked pipeline are missing.

iamayushm avatar Apr 20 '24 16:04 iamayushm