Skip to content

refactor(cv): read CV data from YAML instead of Supabase - #175

Merged
95gabor merged 1 commit into
mainfrom
refactor/yaml-cv-source
Oct 8, 2026
Merged

95gabor merged 1 commit into
mainfrom
refactor/yaml-cv-source

Conversation

@95gabor

@95gabor 95gabor commented Oct 8, 2026

Copy link
Copy Markdown
Owner

Summary

Reverts the CV data source from Supabase to committed YAML (content/<slug>.yaml), keeping the Next.js migration.

  • lib/cv/fetch.ts now reads and validates (required sections) the YAML at build time; getCvProfile signature unchanged, so pages/llms.txt are untouched
  • Removed: lib/supabase, map-from-db, get-site-config (unused), supabase/ migrations, seed + supabase scripts, docker-build-env action, db:* scripts, @supabase/supabase-js and supabase deps
  • yaml moved from devDependencies to dependencies
  • Dockerfile/compose/CI/publish no longer need Supabase secrets or a local Supabase; publish drops the migrate job
  • .dockerignore now includes content/
  • Docs updated; the Supabase rewrite project docs are marked superseded

Follow-up (manual)

  • Remove now-unused repo secrets/vars: SUPABASE_DB_URL, SUPABASE_URL, SUPABASE_PUBLISHABLE_KEY
  • Pause/delete the cloud Supabase project when ready

Verification

Local: lint (0 errors), typecheck, pnpm build (no env vars needed), Playwright e2e 3/3 pass. Docker build not run locally; covered by CI.

🤖 Generated with Claude Code

- load content/<slug>.yaml at build time in lib/cv/fetch.ts
- remove Supabase client, types, migrations, seed and CI/publish scripts
- drop supabase deps and db:* scripts; yaml becomes a runtime dependency
- simplify Dockerfile, compose, CI and publish workflows (no secrets needed)
- update docs; mark Supabase rewrite project docs as superseded

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 8, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 48 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6beea943-3cd4-4866-98c1-4659a765e0f4
📥 Commits

Reviewing files that changed from the base of the PR and between 446bf87 and a6668b4.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (49)
  • .dockerignore
  • .env.example
  • .github/actions/docker-build-env/action.yaml
  • .github/workflows/ci.yaml
  • .github/workflows/publish.yaml
  • .gitignore
  • Dockerfile
  • README.md
  • SKILLS.md
  • docker-compose.yml
  • docs/.ai/README.md
  • docs/.ai/architecture.md
  • docs/.ai/coding-standards.md
  • docs/.ai/content-model.md
  • docs/.ai/workflows/edit-cv-content.md
  • docs/.ai/workflows/local-setup.md
  • docs/.ai/workflows/release.md
  • docs/.ai/workflows/run-and-verify.md
  • docs/README.md
  • docs/content.md
  • docs/projects/README.md
  • docs/projects/next-shadcn-supabase-rewrite.md
  • docs/projects/next-shadcn-supabase-rewrite/README.md
  • docs/projects/next-shadcn-supabase-rewrite/architecture.md
  • docs/projects/next-shadcn-supabase-rewrite/deploy.md
  • docs/projects/next-shadcn-supabase-rewrite/github-secrets.md
  • docs/projects/next-shadcn-supabase-rewrite/local-supabase.md
  • docs/projects/next-shadcn-supabase-rewrite/phases.md
  • docs/projects/next-shadcn-supabase-rewrite/supabase-schema.md
  • docs/references.md
  • docs/setup.md
  • docs/templates/task-brief.md
  • lib/cv/fetch.ts
  • lib/cv/map-from-db.ts
  • lib/get-site-config.ts
  • lib/supabase/server.ts
  • lib/supabase/types.ts
  • package.json
  • scripts/export-supabase-env.sh
  • scripts/prepare-static-site-prod.sh
  • scripts/prepare-static-site.sh
  • scripts/prepare-supabase-for-build.sh
  • scripts/seed-from-yaml.mts
  • scripts/supabase-push-prod.sh
  • scripts/supabase-start-quiet.sh
  • scripts/write-docker-build-secrets.sh
  • supabase/.gitignore
  • supabase/config.toml
  • supabase/migrations/20260706095641_create_cv_tables.sql
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

Lighthouse results

URL Performance Accessibility Best Practices SEO
http://127.0.0.1:4173/ 66% 99% 96% 100%

Updated automatically by CI.

github-actions Bot added a commit that referenced this pull request Oct 8, 2026
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

Latest full-page screenshot

Full-page PR screenshot

@95gabor
95gabor merged commit 31d0f5e into main Oct 8, 2026
11 checks passed
@95gabor
95gabor deleted the refactor/yaml-cv-source branch October 8, 2026 12:03
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