test: bump hardcoded schema-version assertions 102 → 105
This PR advanced @fusion/core's SCHEMA_VERSION 102 → 105 (migrations 103 workflows, 104 task_workflow_selection, 105 orphaned-selection cleanup) but the "reaches current version after init/migrate" assertions across the core test suite — and the roadmap plugin's mirror test — still hardcoded 102. The dashboard build break was masking this: the test shards never ran until the build was fixed, then all four failed on `expected 105 to be 102`. Updated every getSchemaVersion()).toBe(102) current-version assertion to 105 (db, db-migrate, goals-schema, insight-store, mission-store, run-audit, store-merge-queue, merge-request-record, task-documents) plus the roadmap plugin. agent-log-migration already asserts against the imported SCHEMA_VERSION constant (the robust pattern); central-db asserts its own version 13 and is unaffected. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -743,8 +743,10 @@ describe("RoadmapStore", () => {
|
||||
});
|
||||
|
||||
describe("schema version", () => {
|
||||
it("schema version is 102 after init", () => {
|
||||
expect(db.getSchemaVersion()).toBe(102);
|
||||
it("schema version is 105 after init", () => {
|
||||
// Tracks @fusion/core's SCHEMA_VERSION (the roadmap store layers on core's
|
||||
// Database). Bump this in lockstep when core adds a migration.
|
||||
expect(db.getSchemaVersion()).toBe(105);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user