You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: implement lazy connect in RemoteTransport for serverless cold-start resilience
- Add connectFactory and async ensureConnected() to RemoteTransport with de-duplicated reconnection
- Register lazy connect factory in TursoDriver constructor for self-healing
- Improve ObjectQL.init() to track and warn about failed driver connections
- Add 5 tests for lazy connect, concurrent de-duplication, and recovery scenarios
- Update CHANGELOGs for driver-turso and objectql
Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/7435d290-93fc-4ff7-9032-c70211d64e0e
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copy file name to clipboardExpand all lines: packages/objectql/CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
# @objectstack/objectql
2
2
3
+
## 4.0.3
4
+
5
+
### Patch Changes
6
+
7
+
- fix: ObjectQL.init() now tracks and warns about failed driver connections instead of silently swallowing errors, improving debuggability for cold-start and serverless issues.
Copy file name to clipboardExpand all lines: packages/plugins/driver-turso/CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
# @objectstack/driver-turso
2
2
3
+
## 4.0.3
4
+
5
+
### Patch Changes
6
+
7
+
- fix: implement lazy connect in RemoteTransport to self-heal from serverless cold-start failures, transient network errors, or missed `connect()` calls. The transport now accepts a connect factory and auto-initializes the @libsql/client on first operation when the client is not yet available. Concurrent reconnection attempts are de-duplicated.
0 commit comments