Description
While setting up the repository to work on a new feature, I discovered that the main branch is currently failing to build across multiple services due to several critical bugs and unresolved Git merge conflicts. These issues prevent new contributors from successfully spinning up the project locally.
Specifically, I found and diagnosed:
- Docker Setup:
docker-compose up fails immediately due to missing GROQ_API_KEY and JWT_SECRET variables being strictly required without fallbacks in the .env.example.
- Frontend Build: The React
Dockerfile fails at npm ci due to strict peer dependency conflicts with react-i18next.
- Frontend Vite Errors: Running
npm run build crashes due to syntax errors in Footer.jsx (duplicate display keys) and Header.jsx (re-declared baseStyle and displayLabel variables).
- Python Backend: A
<<<<<<< HEAD unresolved Git merge conflict exists in requirements.txt, crashing the pip install build step.
- Java Backend: A massive, multi-line unresolved Git merge conflict exists in
SecurityConfig.java, which causes the Spring Boot compiler to throw severe syntax errors (';' expected, illegal start of expression) and completely fail the build.
Steps to Reproduce
- Fork and clone the
main branch.
- Run
cp .env.example .env.
- Run
docker-compose up -d --build.
- Observe the cascade of build failures across the frontend, Python, and Java containers.
Expected Behavior
The main branch should build cleanly without throwing syntax errors, dependency conflicts, or exposing raw Git merge markers to the compilers.
Actual Behavior
Instead of building successfully, the process fails at multiple stages with the following errors:
- Docker (
docker-compose up): Fails immediately, throwing required variable GROQ_API_KEY is missing and required variable JWT_SECRET is missing.
- Frontend (
npm ci): Throws an ERESOLVE error due to a strict peer dependency conflict with react-i18next@17.0.8 expecting an older version of i18next.
- Frontend (
npm run build): Vite crashes throwing Duplicate key "display" in object literal in Footer.jsx and The symbol "baseStyle" has already been declared in Header.jsx.
- Python Backend (
pip install): Fails with Invalid requirement: '<<<<<<< HEAD' due to an unresolved Git merge conflict marker in requirements.txt.
- Java Backend (
mvn package): The compiler crashes throwing multiple syntax errors (';' expected, illegal start of expression) because it is trying to parse massive, unresolved Git merge conflict markers (<<<<<<< HEAD, =======) left inside SecurityConfig.java.
Browser
No response
Version
No response
Relevant Log Output
Description
While setting up the repository to work on a new feature, I discovered that the
mainbranch is currently failing to build across multiple services due to several critical bugs and unresolved Git merge conflicts. These issues prevent new contributors from successfully spinning up the project locally.Specifically, I found and diagnosed:
docker-compose upfails immediately due to missingGROQ_API_KEYandJWT_SECRETvariables being strictly required without fallbacks in the.env.example.Dockerfilefails atnpm cidue to strict peer dependency conflicts withreact-i18next.npm run buildcrashes due to syntax errors inFooter.jsx(duplicatedisplaykeys) andHeader.jsx(re-declaredbaseStyleanddisplayLabelvariables).<<<<<<< HEADunresolved Git merge conflict exists inrequirements.txt, crashing thepip installbuild step.SecurityConfig.java, which causes the Spring Boot compiler to throw severe syntax errors (';' expected,illegal start of expression) and completely fail the build.Steps to Reproduce
mainbranch.cp .env.example .env.docker-compose up -d --build.Expected Behavior
The
mainbranch should build cleanly without throwing syntax errors, dependency conflicts, or exposing raw Git merge markers to the compilers.Actual Behavior
Instead of building successfully, the process fails at multiple stages with the following errors:
docker-compose up): Fails immediately, throwingrequired variable GROQ_API_KEY is missingandrequired variable JWT_SECRET is missing.npm ci): Throws anERESOLVEerror due to a strict peer dependency conflict withreact-i18next@17.0.8expecting an older version ofi18next.npm run build): Vite crashes throwingDuplicate key "display" in object literalinFooter.jsxandThe symbol "baseStyle" has already been declaredinHeader.jsx.pip install): Fails withInvalid requirement: '<<<<<<< HEAD'due to an unresolved Git merge conflict marker inrequirements.txt.mvn package): The compiler crashes throwing multiple syntax errors (';' expected,illegal start of expression) because it is trying to parse massive, unresolved Git merge conflict markers (<<<<<<< HEAD,=======) left insideSecurityConfig.java.Browser
No response
Version
No response
Relevant Log Output