Skip to content

Revert: AI summary enrichment backfill (slice 3) (#113) - #114

Merged
gusmar2017 merged 1 commit into
mainfrom
revert/slice-3-ai-summary-pr113
Jul 27, 2026
Merged

Revert: AI summary enrichment backfill (slice 3) (#113)#114
gusmar2017 merged 1 commit into
mainfrom
revert/slice-3-ai-summary-pr113

Conversation

@gusmar2017

Copy link
Copy Markdown
Contributor

Summary

Auto-revert of #113. Post-merge production verification (mcpfind-recovery-driver, per Step 4 of the SKILL.md gate pipeline) found that every /servers/[slug] detail page began returning HTTP 404 on mcpfind.org immediately after the merge, while /servers and /categories list pages remained healthy (HTTP 200).

Root cause

apps/web/lib/queries.ts's SERVER_DETAIL_COLUMNS was changed to select() two new columns (ai_summary, ai_summary_generated_at) added by migration supabase/migrations/006_ai_summary.sql. That migration file was added to the repo but was never applied against the live production Supabase database — this repo's CI/CD has no migration-apply step. The Supabase query for the detail page therefore fails at runtime (columns don't exist in the live schema), getServerBySlug returns null, and the page calls notFound().

This is a case of green CI / green Vercel preview masking a real production integration failure — build-time type-checks and tests don't hit the real production database schema, so nothing caught the missing-migration gap before merge.

What this PR does

Straight git revert of the squash-merge commit 8fadf84378dbe88dfffa62ae88188151fe0630cf — removes the migration file, the backfill script, and the page/query changes. No manual conflict resolution needed (clean revert).

Follow-up (not in this PR)

Before re-attempting slice 3: migration 006 needs an actual apply step against production Supabase (e.g. supabase db push or equivalent), and the column-select change should only ship once the columns provably exist live — ideally the Validator's pre-merge check should include a live schema check against production Supabase, not just CI type-check + Vercel preview build success.

🤖 Generated by the mcpfind-recovery-driver auto-merge harness.

@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mcp-find-web Ready Ready Preview, Comment Jul 27, 2026 11:20pm

Request Review

@gusmar2017
gusmar2017 merged commit e561db5 into main Jul 27, 2026
4 checks passed
@gusmar2017
gusmar2017 deleted the revert/slice-3-ai-summary-pr113 branch July 27, 2026 23:22
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