fix: add missing backend deps/env and stabilize frontend CI#22
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
backend/pyproject.tomlto addsupabase,sqlglot, andcryptographyto runtime dependencies to enable providers, SQL parsing, and encryption support.backend/.env.examplewithENCRYPTION_KEY,FRONTEND_URL,SUPABASE_SERVICE_KEY,ENVIRONMENT, andGROQ_API_KEYplaceholders to document required runtime settings.frontend/package.jsonto add thereactflowdependency and normalize JSON formatting.frontend/src/app/(dashboard)/page.tsxto remove escaped-quote issues..github/workflows/ci.ymlto set default frontend environment variables (NEXT_PUBLIC_API_URL,NEXT_PUBLIC_SUPABASE_URL,NEXT_PUBLIC_SUPABASE_ANON_KEY) sonext.config.jsvalidation passes in CI, and replacedpnpmsteps withnpm/package-lock.json-based installs to align with the repo lockfile.Testing
cd backend && find . -name "*.py" -exec python -m py_compile {} \;which completed successfully. (success)cd frontend && cat package.json | python -m json.toolwhich completed successfully. (success)rgwhich reported no problems. (success)cd frontend && npm installwhich failed in this environment with a registry403 Forbiddenerror preventing a local install. (failure due to external registry)NEXT_PUBLIC_API_URL=http://localhost:8000 NEXT_PUBLIC_SUPABASE_URL=https://example.supabase.co NEXT_PUBLIC_SUPABASE_ANON_KEY=test-key npm run buildwhich failed becausenode_moduleswere not available from the failed install and the build reported module-not-found errors. (failure)next.config.jswill not throw for missingNEXT_PUBLIC_*vars during CI runs (prevents the prior cause of CI frontend failures).Codex Task