mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
The E2E global setup calls POST /api/setup on localhost:3000, but port 3000 is the workflowui dev server which had no such route — it only existed in the nextjs workspace. This caused a 404, leaving the DB empty and making all data-dependent tests (workflowui-auth, workflowui-templates) time out waiting for content that was never seeded. - Add /api/setup/route.ts to workflowui that seeds InstalledPackage and PageConfig records via the DBAL REST API - Make global setup throw on seed failure instead of logging and continuing, so the suite fails fast rather than running 250 tests against an empty database https://claude.ai/code/session_01ChKf8wbKQLBcNbBCtqCwT6