## Summary PostgreSQL-backed projects now record automatic TaskStore lifecycle activity, including ordinary task creation and movement. Backend initialization previously returned before registering the lifecycle listeners, while features that called `recordActivity()` directly could make the log appear only partially affected. The fix wires the backend-agnostic listeners without changing SQLite initialization behavior. ## Validation - PostgreSQL activity parity test verifies all six listener surfaces and persisted `task:created` and `task:moved` entries. - `pnpm lint` - `pnpm --filter @fusion/core typecheck` - `pnpm check:changesets --strict` - `pnpm verify:fast` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Restored automatic task lifecycle entries in PostgreSQL activity logs by ensuring task lifecycle activity listeners are wired during PostgreSQL backend initialization. * Activity logs now reliably include task creation and movement events (with transition details) immediately after backend startup. * **Tests** * Added a PostgreSQL activity-log parity test to verify listeners are connected and that activity logs reflect `task:created` and `task:moved` as expected. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
215 B
215 B
@runfusion/fusion
| @runfusion/fusion |
|---|
| patch |
summary: Restore automatic task lifecycle entries in PostgreSQL activity logs. category: fix dev: Registers TaskStore activity listeners during PostgreSQL backend initialization.