566 B
566 B
@gsxdsm/fusion
| @gsxdsm/fusion |
|---|
| patch |
Fix settings save failure by resolving race condition in parallel task creation and ensuring config row exists in SQLite.
- Fixed race condition in
allocateId()where parallel task creation could causeconfig.jsonto have stalenextIdvalues by wrapping the config sync inwithConfigLock() - Changed
writeConfig()to useINSERT OR REPLACEinstead ofUPDATEto ensure the config row is created if missing - Added error handling tests for settings save failures
- Added integration tests for SQLite settings persistence