Skip to content

fix: boilerplate CI + missing frontend Dockerfile (end-to-end ready)#1

Merged
madhyamakist merged 1 commit into
mainfrom
fix/boilerplate-end-to-end
Jul 11, 2026
Merged

fix: boilerplate CI + missing frontend Dockerfile (end-to-end ready)#1
madhyamakist merged 1 commit into
mainfrom
fix/boilerplate-end-to-end

Conversation

@madhyamakist

Copy link
Copy Markdown
Member

What this fixes

The boilerplate was NOT actually deployable/verifiable as-shipped:

  1. No CI existed at all — repo had no .github/ directory, so the claim that it 'should be connected to GitHub Actions and deploying' was false. Added .github/workflows/ci.yml that runs on pushes to main/feature/v0.1 and PRs: backend unit tests, evals (stub mode), frontend build, and a backend deploy-image build on main.
  2. docker compose up --build would faildocker-compose.yml references frontend/Dockerfile.frontend, which did not exist. Added it (Vite dev server on :5173, deps installed at runtime into the node_modules volume, matching the compose bind-mount setup).

Verified locally

  • backend tests/: 5 passed
  • evals/: 4 passed, 1 skipped (test_live_chat correctly gated on API key)
  • frontend: npm install + npm run build → clean (tsc + vite)
  • live server: /health, POST /api/chat, POST /goals + /run, GET /api/runs all return 200

Note for maintainer

  • AGENTS.md/README describe a src/ LangGraph skeleton; the actual code is backend/app/ (hand-rolled supervisor/worker, no LangGraph). Docs describe a different architecture than what ships. Should the docs be corrected or the code refactored to match? Left as-is pending your call — flagging, not changing.
  • Docker not installed in this env, so the full docker compose up was not executed; CI will exercise the image build on push. Tests/build/runtime were verified directly.

…te runs end-to-end

- .github/workflows/ci.yml: runs backend unit tests, evals (stub), frontend build, and deploys backend image on main
- frontend/Dockerfile.frontend: was referenced by docker-compose.yml but missing, so 'docker compose up --build' failed

Verified: backend tests 5 passed, evals 4 passed/1 skipped (live gated on key), frontend builds, live server returns 200 on /health /api/chat /goals /api/runs.
@madhyamakist
madhyamakist merged commit fce114a into main Jul 11, 2026
3 checks passed
@madhyamakist
madhyamakist deleted the fix/boilerplate-end-to-end branch July 11, 2026 20:13
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.

1 participant