incubator-devlake
incubator-devlake copied to clipboard
[Bug][Blueprints] 400 error when adding Azure DevOps scope to existing project
Search before asking
- [X] I had searched in the issues and found no similar issues.
What happened
On a project with an existing github connection (such as #7503), adding an Azure DevOps connection to it gives a 400 error in the UI:
Inside lake microservice container, the error is the below:
time="2024-05-24 12:40:03" level=error msg="HTTP 400 error\n\tcaused by: error patching the blueprint (400)\n\tWraps: (2)\n\tWraps: (3) fork/exec ./run.sh: argument list too long\n\tWraps: (4) fork/exec ./run.sh\n\tWraps: (5) argument list too long\n\tError types: (1) *hintdetail.withDetail (2) *hintdetail.withDetail (3) *hintdetail.withDetail (4) *fs.PathError (5) syscall.Errno"
[GIN] 2024/05/24 - 12:40:03 | 400 | 4.889660007s | 10.253.240.52 | PATCH "/blueprints/2"
What do you expect to happen
AzureDevops scopes are added to existing project.
How to reproduce
- Create a project
- Successfully add data scopes from GitHub
- Try to add Azure DevOps scopes
Anything else
Same environment where #7503 is happening.
Version
1.0.0-beta6
Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct