Skip to content

Docs/honesty pass#7

Merged
Eswar809 merged 2 commits into
mainfrom
docs/honesty-pass
May 7, 2026
Merged

Docs/honesty pass#7
Eswar809 merged 2 commits into
mainfrom
docs/honesty-pass

Conversation

@Eswar809
Copy link
Copy Markdown
Owner

@Eswar809 Eswar809 commented May 7, 2026

No description provided.

Eswar809 added 2 commits May 7, 2026 23:10
- README: corrected the dashboard-index field name from `(user_id, created_at)` to `(chatId, createdAt)` to match prisma/schema.prisma. There is no User model — the composite index is on Message(chatId, createdAt).
- README: added the schema-recovery story (commit b85d4f5 dropped the Chat/Message/GeneratedApp block; recovered from b85d4f5^ with `npx prisma validate` before re-committing — recovery commit is 34b9565).
- README: replaced the unmarked "Live Demo" block with a status note + link to the deployment runbook.
- README: surfaced Sandpack rendering, Mistral support, and the Neon serverless adapter (all already in package.json + route code).
- prisma/optimization.md: expanded the 1-line stub into a real before/after with the actual `findMany` query, the EXPLAIN ANALYZE command to reproduce, and an honesty caveat that the 25% number is a single local measurement, not a load test.

Every claim in the rewritten README traces to a code file in this repo.
- deployment.md: replaced the 1-line stub with a runbook covering env-var setup (DATABASE_URL, GEMINI_API_KEY, MISTRAL_API_KEY, optional S3 vars), the automatic `prisma migrate deploy` step in the build script, schema-change workflow, code-only and code+schema rollback paths, and a smoke-test checklist. Includes the real schema-recovery sequence (`git show b85d4f5^:prisma/schema.prisma > prisma/schema.prisma && npx prisma validate`) as the hard-recovery example.
- .env.example: replaced the wrong `OPENAI_API_KEY` (the project uses Gemini and Mistral, not OpenAI) with `GEMINI_API_KEY`, `MISTRAL_API_KEY`, and the optional S3_UPLOAD_* vars used by `app/api/s3-upload/route.ts`. Updated the DATABASE_URL example to include `?sslmode=require` for Neon.
@netlify
Copy link
Copy Markdown

netlify Bot commented May 7, 2026

Deploy Preview for devscodex failed. Why did it fail? →

Name Link
🔨 Latest commit a39194a
🔍 Latest deploy log https://app.netlify.com/projects/devscodex/deploys/69fcd312f08e890008a3d685

@Eswar809 Eswar809 merged commit 5087094 into main May 7, 2026
0 of 6 checks passed
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