mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-06 10:48:12 +02:00
fix: recover authentication and browser connection failures (#13724)
fix: recover authentication and browser connection failures Include connect timeouts in the bounded retry policy for idempotent actor synchronization. Handle WebSocket constructor failures through existing reconnect paths and preserve HTTP polling while realtime is unavailable. Refresh visible company queries until the socket recovers and clear all fallback timers on hiding or unmount. Verify 172 focused tests, server/UI typechecks, UI build, and design token gates. Full workspace build/typecheck require the unavailable Rust toolchain; the full test run is tracked separately. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
9f30eb10dd
commit
c65fc9e3c8
13 files changed
+311
-30
No files matched your search
@@ -159,6 +159,12 @@ PostgreSQL backends and checks rejection, pool recovery, and transaction isolati
|
||||
Remove the patch when an upstream release passes these tests. Installs of the
|
||||
unmodified `postgres` package outside this workspace do not include the patch.
|
||||
|
||||
Trusted-header actor synchronization retries transient connection failures,
|
||||
including `CONNECT_TIMEOUT`, at most twice. This retry applies only to the
|
||||
idempotent actor synchronization operations, not arbitrary transactions. A
|
||||
persistent outage still fails the request after the bounded retries; each
|
||||
connection attempt remains subject to the configured database connect timeout.
|
||||
|
||||
## Switching between modes
|
||||
|
||||
The database mode is controlled by `DATABASE_URL`:
|
||||
|
||||
Reference in new issue
Block a user