dosubot[bot] commented on issue #8585:
URL: 
https://github.com/apache/incubator-devlake/issues/8585#issuecomment-3319884196

   <!-- Greeting -->
   Hi @spenpal! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the 
incubator-devlake team.
   
   <!-- Answer -->
   You're right about the mismatches: the backend uses Go 1.20.5 and libgit2 
v1.3.2, while the devcontainer uses Go 1.22 and libgit2 v1.3.0, and only 
includes MySQL, not PostgreSQL. These discrepancies can cause build failures 
and inconsistent behavior across environments, as discussed in [issue 
#8584](https://github.com/apache/incubator-devlake/issues/8584) and [issue 
#8553](https://github.com/apache/incubator-devlake/issues/8553). The main 
docker-compose file supports both MySQL and PostgreSQL, but the devcontainer 
setup does not ([PR 
#8554](https://github.com/apache/incubator-devlake/pull/8554)).
   
   For PostgreSQL, the core backend works, but migration scripts and dashboards 
are MySQL-centric, so using PostgreSQL may require patching migration scripts 
and updating dashboard configs ([issue 
#8350](https://github.com/apache/incubator-devlake/issues/8350), [issue 
#8463](https://github.com/apache/incubator-devlake/issues/8463), [issue 
#8564](https://github.com/apache/incubator-devlake/issues/8564)). No recent PRs 
have fixed these mismatches or added PostgreSQL to the devcontainer yet.
   
   To align environments, update the devcontainer Dockerfile to match backend 
versions (Go 1.20.5, libgit2 v1.3.2) and add a PostgreSQL service to the 
devcontainer docker-compose file, mirroring the main docker-compose-dev.yml. 
This will help ensure consistent builds and database options for all 
contributors.
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/036e5ee8-7715-4bee-8e65-0f265bf8360d?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/036e5ee8-7715-4bee-8e65-0f265bf8360d?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/036e5ee8-7715-4bee-8e65-0f265bf8360d?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/036e5ee8-7715-4bee-8e65-0f265bf8360d?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/036e5ee8-7715-4bee-8e65-0f265bf8360d?feedback_type=hallucination)
 | [Report 
šŸ›](https://app.dosu.dev/response-feedback/036e5ee8-7715-4bee-8e65-0f265bf8360d?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/036e5ee8-7715-4bee-8e65-0f265bf8360d?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat
 with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/b4e8e847-d479-4541-83a8-d88d83fea5c9/ask?utm_source=githu
 b)&nbsp;[![Join 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/incubator-devlake/issues/8585)


-- 
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]

Reply via email to