Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.
Rust acpagent-client-protocolai-agentsai-assistantclaudeclaude-codecodexcoding-agentscursorgeminigemini-cligrok-bot-alternativeiosiphonelinuxmacosmcpopen-sourcerustself-hosted
docs: record the 2026-11-03 PostHog error triage
leepokaiba782e0c9a5e
diff --git a/docs/README.md b/docs/README.mdindex 87160ad1..7e0a570d 100644--- a/docs/README.md+++ b/docs/README.md@@ -69,6 +69,7 @@ Source review, a passing build, local integration tests and production acceptancProduction signals (PostHog errors, failed turns) traced to a root cause, newest first. Datedrecords: the fixes they name have shipped or are listed as open.+- [PostHog error triage, 2026-11-03](investigations/posthog-errors-2026-11-03.md): Android crash on a dropped connection, blank desktop windows, iPhone voice call crash- [Claude reported signed in on Windows while signed out, 2026-10-20](investigations/windows-claude-sign-in-2026-10-20.md)- [PostHog error triage, 2026-10-19](investigations/posthog-errors-2026-10-19.md): host panics, desktop and iPhone crashes, failed Claude turns- [npm agents failing to start on Windows, 2026-10-14](investigations/windows-npm-agents-2026-10-14.md)diff --git a/docs/investigations/posthog-errors-2026-11-03.md b/docs/investigations/posthog-errors-2026-11-03.mdnew file mode 100644index 00000000..204011b7--- /dev/null+++ b/docs/investigations/posthog-errors-2026-11-03.md@@ -0,0 +1,33 @@+# PostHog error triage — 2026-11-03++Four error signals in PostHog (project "Codync App", 649427), 2026-10-04 to 2026-11-03, traced to a+root cause and fixed in 2.38.1. Method as in the [2026-10-19 triage](posthog-errors-2026-10-19.md):+`$exception` events by `process`, `app_version` and `$os`, persons checked against cohort 618410+(internal and test hosts); every person below is outside it. Error tracking itself is described in+[usage analytics](../features/analytics.md#error-tracking).++## Findings++| # | Signal | Users | Root cause | Fix |+|---|---|---|---|---|+| 1 | Android `NoSuchElementException`, Android 16, builds 2.17.5 to 2.32.0 (`env = dev`: the internal Android build) | 4 | `EncryptedChannel` emptied its pending calls and streams with `keys.toList()` when a connection dropped. On a one-entry map `toList()` calls `iterator().next()`, which throws when a reply or an unsubscribe on another IO thread removes that entry meanwhile. Thrown from the reader coroutine's `catch`, under a `SupervisorJob` with no handler, it ended the app. | 2.38.1: the maps' live key views (`drain`), which never throw on a concurrent removal |+| 2 | Desktop renderer `TypeError`, mechanism `onerror`, in `computerSelection` (`ComputerFilterHeader.tsx`), macOS 2.34.2, 3 events | 1 | `pref()` trusted `JSON.parse` of localStorage: a stored `null` for `hiddenComputers` reached `hidden.split` and took the whole chat window down, on every launch. | 2.38.1: a stored value of another kind than the preference's default reads as the default |+| 3 | Desktop `RendererGone`, reason `crashed` (7 of 8 on Windows) or `oom` (2, Windows), 2.20.0 to 2.34.2, 18 events | 9 | Unknown: the report carries only Chromium's reason. The window then stayed blank until the app was restarted. | 2.38.1: the window loads its page again (at most twice in a row before it has stayed up a minute); a view that throws while rendering shows *Something went wrong* with *Try again* (reported with mechanism `react`) |++| 4 | iPhone `EXC_CRASH` (SIGABRT from an Objective-C exception in AVFAudio) in `OnDeviceEngine.listen()`, after `finishedSpeaking`, 2.34.2, iOS 26.7.2 and 27.0.1 (issue `01a19565`) | 2 | Inferred (the report carries no exception reason): the microphone tap was installed at the node's output rate, which stays at the old rate when the route changed while the engine was stopped for the reply, and AVFAudio asserts `format.sampleRate == inputHWFormat.sampleRate`. | 2.38.1: `MicTap.format(of:)` taps at the input node's hardware rate, for every call engine and dictation |++## Verification++- 1: `:core:test`. Reproduce: an Android emulator paired with a sandbox host, a chat open while+ the host is stopped and started a few times; the app shows the lost connection and reconnects.+- 2: `apps/desktop/src/renderer/lib/prefs.test.ts`. Reproduce: in a dev sandbox, set localStorage+ `hiddenComputers` to `null` over CDP and reload; the chat window shows every computer.+- 3: Reproduce with CDP `Page.crash` on a dev sandbox's chat window: it reloads by itself; its+ third crash in a row within a minute leaves it down.++## Open++- 3: why the renderer crashes on Windows is still unknown; watch `RendererGone` after 2.38.1. A+ window that reloads keeps reporting each crash.+- 4: the cause is inferred and the rate-changing path never runs on a simulator (input and hardware+ are both 48 kHz there; `MicTapTests` covers it): watch issue `01a19565` after 2.38.1.