fix(ci): bump migration head assertion to 0004, apply prettier

- Update test_migrations / test_migrations_postgres head assertion from
  0003 to 0004 after adding the mcp readme migration.
- Reformat MCPForm.tsx / MCPReadme.tsx to satisfy prettier/prettier.
This commit is contained in:
RockChinQ
2026-06-06 03:56:14 -04:00
parent b08e5ca09a
commit 7330732f62
4 changed files with 11 additions and 14 deletions
@@ -150,8 +150,8 @@ class TestPostgreSQLMigrationUpgrade:
# Verify revision
rev = await get_alembic_current(postgres_engine)
assert rev is not None, "Expected a revision after upgrade"
# Head should be the latest migration (0003 for current state)
assert rev.startswith('0003'), f"Expected head to be 0003_*, got {rev}"
# Head should be the latest migration (0004 for current state)
assert rev.startswith('0004'), f"Expected head to be 0004_*, got {rev}"
@pytest.mark.asyncio
async def test_postgres_upgrade_idempotent(