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
Copy file name to clipboardExpand all lines: memory/mistakes.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,3 +131,13 @@ Rule: Node-targeted unit tests must not assume browser globals exist; create and
131
131
Root cause: The tests were authored assuming `navigator` is always available, but Vitest runs with `environment: node` in CI.
132
132
Fix applied: Added a global-scope navigator shim path and descriptor-safe restore logic in `src/utils/platformPaths.test.ts`.
133
133
Prevention rule: For tests that patch `navigator`, `window`, or `document`, guard setup with `typeof ... === \"undefined\"` and perform full teardown in `finally`.
134
+
135
+
## 2026-02-07 21:16
136
+
Context: Tailscale CLI detection from GUI app runtime
137
+
Type: mistake
138
+
Event: Tailscale detection relied on `PATH` only, which can differ from shell aliases and fail in Tauri GUI runtime.
0 commit comments