Skip to content

Conversation

@TineoC
Copy link
Collaborator

@TineoC TineoC commented Feb 7, 2026

Description

This PR addresses the "network error" reported by users (e.g., @henry07) when running the application locally using Docker Compose. The issue was caused by a race condition where the backend attempted to connect to the database before it was fully ready (specifically during the pgvector build).

Additionally, this PR cleans up the development environment by removing deprecated Kubernetes and Devbox configuration files and documentation to simplify the onboarding process for new contributors.

Related Issue

Fixes #459

Manual Tests

  1. Ran docker compose up --build on a clean environment.
  2. Verified that the backend container waits for the db container's healthcheck (pg_isready) before starting.
  3. Verified the JJ chatbot and feedback forms function correctly without "network error".
  4. Confirmed devbox and deploy/ directories are gone and README.md is updated.

Automated Tests

  • Verified Docker Compose healthcheck logic locally.

Documentation

  • Updated README.md, CLAUDE.md, and docs/DATABASE_CONNECTION.md to reflect the simplified Docker Compose workflow and removed all Kubernetes/Devbox references.

Reviewers

@Sahil S

Notes

  • Dockerfile.prod is retained for CI/CD compatibility, but docker-compose.prod.yml was removed as it was redundant for local development.
  • The environment file typo (config/env/env.dev -> config/env/dev.env) has been corrected across all documentation.

@sahilds1 sahilds1 self-requested a review February 7, 2026 18:43
@sahilds1 sahilds1 assigned sahilds1 and TineoC and unassigned sahilds1 Feb 7, 2026
@taichan03
Copy link
Collaborator

this looks okay to me to merge

@taichan03 taichan03 merged commit 109b6c7 into CodeForPhilly:develop Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix backend network errors and cleanup dev environment

3 participants