Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: stalled connection in CI (#1758)
* chore: updates ws * fix: rm slashes * feat: adds request relay log * fix: events * feat: disable ack on pairing delete * feat: add small delay before switching off sockets * chore: packagelog * feat: rework tests * feat: delete clients * chore: rm client variable * feat: single pairing for validation tests * chore: updates ws dep * chore: skip validation tests * chore: adds logs for tests * feat: adds a delay before releasing connect + before deleting clients * chore: skip extend test * chore: validation tests logs * feat: adds clientId logs & reverts await removal * feat: adds throttle after clients are created * fix: add await * chore: skip validation tests * chore: delay * feat: adds closing socket for test & published payload id * chore: updates ws to log socket sending * chore: more logs * chore: log disconnect * feat: adds small delay on connect * feat: reconnect stalled socket * chore: lower throttle * chore: logs clientId to stalled sockets * chore: rm delay in disconnect sockets * feat: isolate canary * chore: stop ws logs * feat: implement reconnection in subscriber * chore: rm connect throttle * chore: rev while loop * chore: better logs * feat: restart connection * fix: unused property * chore: updates ws package * chore: update ws to reconnect on socket hang up * feat: increases connect timeout * feat: adds logs on num retries + logs timeout test name * feat: compelete restart of provider & socket ws * refactor: rework subscribe reconnect & increase timeouts * fix: remove listeners before recreating provider * feat: implements publisher requests as subscribe * feat: small delay * feat: adds some delay to allow tranposrt to close * chore: reduce noise * feat: restore provider.connect() * chore: skip push test * chore: reenable push * fix: restore transport close open * fix: remove listeners on heartbeat * refactor: reenable validation tests * chore: updates ws * feat: crank timeouts * chore: update ws * refactor: lower lifecycle timeout * chore: update ws * chore: updates ws * chore: update ws * feat: uses transportOpen to start connection in order to catch exceptions * chore: updates ws * feat: single retry * feat: emit event `connection_stalled` * chore: logs & resubscribe timeout * chore: adds logs for subscribe heartbeat * chore: more logs * feat: ignore stalled requests * chore: add logs on publish heartbeat * feat: adds reject on reconnection * feat: adds subscribeInProgress * chore: rm no threads rule * fix: typo * fix: make sure publish is resolved * chore: log test name * chore: logger trace * chore: update logs * fix: uses .pushish * chore: reenable no-threads * chore: rm logger * feat: skip reopening connection if its already active * feat: restartTransport() * feat: avoid restarting transport while restarting already in progress * fix: delete clients * feat: observer pattern for subscriptions * chore: add logs * feat: close pending transportOpen * chore: log reject * feat: adds growing timeout before reconnecting again * fix: don't attempt transport restart if already running * feat: exponential delay * Revert "feat: exponential delay" This reverts commit 839fb64. * refactor: delay to 5s * fix: 0ms * chore: log received payload * feat: growing delay between reconnections * fix: sets transportRestartInProgress to false * chore: log attemptToReconnect * feat: add delay before restarts * refator: moves this.transportExplicitlyClosed = false; after connection is opened * feat: additional await after deleting sockets * chore: log connected status * feat: add a delay for replication * feat: split tests into multiple files * chore: logs to follow process * feat: restart on transport error * chore: larger delay between reconnecting * feat: restructures tests * refactor: events in integration * feat: client tests * feat: emit transport close * fix: rm non id subscriptions for tests * chore: cleanup * fix: regex * chore: rm test names * refactor: debug lgos * chore: rm eslint rules * chore: restore default client seed * fix: fake timers * feat: expiring promise * feat: adds a retry on integration tests * chore: updates ws * fix: add ^ to ws version * chore: revert name readonly * refactor: magic numbers to const * refactor: rm .only modifier * refactor: logs to logger * chore: fixes typo -> persistence * refactor: logs to logger * refactor: reenables expiry test * refactor: move `resubscribed` listener with connect call to avoid possible race conditions * refactor: reenables expiry test in client too
- Loading branch information