-
v6.0.1 Stable
released this
2025-11-20 17:42:35 +01:00 | 525 commits to main since this release🐛 Critical Hotfix - v6.0.1
Fixes infinite loop during storage initialization on fresh workspaces
This release fixes a critical production blocker where FileSystemStorage (and all storage adapters) entered an infinite loop on fresh installation.
Root Cause
In v6.0.0,
BaseStorage.init()setisInitialized = trueat the END of initialization. If any code path during initialization calledensureInitialized(), it would triggerinit()recursively because the flag was stillfalse.Fix
Set
isInitialized = trueat the START ofBaseStorage.init()(before any initialization work) to prevent recursive calls. Flag is reset tofalseon error to allow retries.Impact
- ✅ Fixes production blocker reported by Workshop team
- ✅ All 8 storage adapters fixed (FileSystem, Memory, S3, R2, GCS, Azure, OPFS, Historical)
- ✅ Init completes in ~1 second on fresh installation (was hanging indefinitely)
- ✅ No new test failures introduced (1178 tests passing)
Migration
No code changes required - drop-in replacement for v6.0.0.
See CHANGELOG.md for full details.
Full Changelog: https://github.com/soulcraftlabs/brainy/compare/v6.0.0...v6.0.1
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads