Context
packages/backend/src/workflows-db.ts persists workflow definitions and run history. It has no dedicated unit test. A focused vitest suite covering create / read / list / run-persistence would catch the 80% of bugs that matter.
Acceptance criteria
Pointers
packages/backend/src/workflows-db.test.ts (new)
- Existing patterns in
packages/backend/src/*.test.ts
Difficulty
~2 hours. Good introduction to the SQLite layer.
Context
packages/backend/src/workflows-db.tspersists workflow definitions and run history. It has no dedicated unit test. A focused vitest suite covering create / read / list / run-persistence would catch the 80% of bugs that matter.Acceptance criteria
packages/backend/src/workflows-db.test.tsnpm run test -w @granclaw/backendPointers
packages/backend/src/workflows-db.test.ts(new)packages/backend/src/*.test.tsDifficulty
~2 hours. Good introduction to the SQLite layer.