khsadira opened a new issue, #8482: URL: https://github.com/apache/incubator-devlake/issues/8482
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues. ### What happened When attempting to build DevLake with the teambition plugin enabled, the Swagger documentation generation step (swag init) fails due to a missing type reference in the file scope_api.go. Specifically, the comment annotations reference models.TeambitionRepo, but the type is either undefined or not properly exported/imported. This causes swag to fail and abort the make all process, preventing successful Docker builds or local development. Having the following error while in the CI also: ``` 209.8 2025/06/25 07:18:45 ParseComment error in file /app/plugins/teambition/api/scope_api.go :cannot find type definition: models.teambitionRepo 209.8 make: *** [Makefile:46: swag] Error 1 ------ WARNING: No output specified with docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load Dockerfile:93 ``` ### What do you expect to happen The CI should correctly build. ### How to reproduce 1. Set GO_PLUGINS=teambition 2. Run make all (or make swag) 3. Observe the error related to missing type definition during Swagger generation ### Anything else happening since: 691b14f01750246db097b3c0466c9a34d470148a ### Version 691b14f01750246db097b3c0466c9a34d470148a ### 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](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
