Skip to content

v0.2.4

Choose a tag to compare

@github-actions github-actions released this 17 Aug 22:21
· 15 commits to main since this release

Quieter, more useful telemetry

A small follow-up to v0.2.3, driven by its first day in the wild. No user-facing behaviour changes.

Changed

  • A laptop sleeping is no longer reported as an app error. When the network drops mid-poll (sleep/wake, a Wi‑Fi handoff, a VPN flap), OpenTrade now records a single broker_offline event when the outage begins and a single broker_online (with how long it lasted and how many polls it cost) when it ends — instead of one app_error per failed poll. Genuine failures still report as app_error, so that signal stays meaningful.
  • Network errors now carry their real code. Node's fetch reports connection problems as a bare TypeError; the actual cause (ENOTFOUND, ECONNRESET, UND_ERR_CONNECT_TIMEOUT, …) is now captured — still just a bounded machine code, never a message or path.
  • Connect attempts are counted (broker_connect_started, interactive vs. silent), so a Robinhood connection that never completes can be distinguished from one that was never tried.
  • A browser that fails to open for the Robinhood consent is now reported, rather than being indistinguishable from a consent the user abandoned.

Upgrade notes

No schema or data migration. Existing installs keep their Robinhood session.

Full Changelog: v0.2.3...v0.2.4