Skip to content

Restore Migrations CI after #74 sync - #75

Merged
cavewebs merged 3 commits into
mainfrom
cursor/restore-migrations-ci-6d60
Nov 4, 2026
Merged

cavewebs merged 3 commits into
mainfrom
cursor/restore-migrations-ci-6d60

Conversation

@cavewebs

@cavewebs cavewebs commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Restore Migrations CI after #74 sync.

#74 overwrote .github/workflows/ci.yml with the single-job flowchat workflow and dropped scripts/ci-migrate-check.sh. This PR brings the two-job layout back from pre-sync main 0b9b0b2.

  • Jobs: test (Test) and migrations (Migrations empty Postgres with postgres:16 + bash scripts/ci-migrate-check.sh)
  • After install in Test: node qa/ai-eval/score.mjs validate
  • Restored scripts/ci-migrate-check.sh and scripts/ci-migrate-smoke.ts from 0b9b0b2
  • scripts/sync-oss.sh excludes .github/workflows/ci.yml and the whole prisma/migrations/ tree from copy and dest delete (core keeps catch-up / numbering that hosted may omit; sync: from cavewebs/flowchat 5c6302f (qa/ai-eval + GudBot retrieve/prompt) #74 wiped 0005_schema_catch_up)
  • 0006_workspace_app_id: ADD appId, backfill unique 'app_' || id, SET NOT NULL, unique index, drop workspaces.apiKey
  • 0007_schema_catch_up: restored from 0b9b0b2 0005_schema_catch_up (guarded / IF NOT EXISTS), without re-dropping apiKey. Current schema has no automation_runs / unassignedAt, so those were not folded in. 0002/0003 stay reserved.

Soft-launch HOLD. GudBot default OFF. Do not merge.

Typecheck uses pnpm exec tsc --noEmit (current package.json has no typecheck script). GudBot defaults are unchanged.

Open in Web Open in Cursor 

cursoragent and others added 3 commits November 4, 2026 10:53
Bring back the two-job workflow from 0b9b0b2, restore
ci-migrate-check.sh / ci-migrate-smoke.ts, run qa/ai-eval
validate after install, and stop sync-oss from overwriting
or deleting .github/workflows/ci.yml.

Co-authored-by: Timchosen Uzua <timchosen@gmail.com>
schema.prisma already has Workspace.appId and no apiKey.
0001_init still created apiKey; 0004/0005 do not add appId.
0002/0003 stay reserved. Update migrate-check comments.

Co-authored-by: Timchosen Uzua <timchosen@gmail.com>
#74 dropped 0005_schema_catch_up. Restore it as 0007 without
re-dropping apiKey (0006 owns that). Keep prisma/migrations
and CI out of sync-oss so hosted history cannot wipe them again.

Co-authored-by: Timchosen Uzua <timchosen@gmail.com>

@cavewebs cavewebs left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eng PASS @ a1c34dcb28190304c62c6b6f428f2a9dcc693ccd

  • CI green: Test + Migrations (empty Postgres)
  • Restored two-job CI; qa/ai-eval validate kept
  • 0006_workspace_app_id + 0007_schema_catch_up (from pre-sync 0b9b0b2); 0002/0003 untouched
  • sync-oss keeps .github/workflows/ci.yml and prisma/migrations/

Soft-launch HOLD. GudBot default OFF. Growth light → QA → Kim merges.

@cavewebs
cavewebs merged commit 0392748 into main Nov 4, 2026
2 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.

2 participants