RUN v4.1.1 /home/sawyer/projects/bb/.claude/worktrees/wf_debcf606-e4a-1/apps/server ✓ @bb/server test/services/plugins/issue-1766-local-replace-loses-settings.test.ts > issue #1766: local plugin replace destroys settings > control: reload and same-path reinstall keep tuned settings 162ms ✓ @bb/server test/services/plugins/issue-1766-local-replace-loses-settings.test.ts > issue #1766: local plugin replace destroys settings > installing the same plugin id from a NEW checkout is refused; there is no in-place replace 68ms × @bb/server test/services/plugins/issue-1766-local-replace-loses-settings.test.ts > issue #1766: local plugin replace destroys settings > BUG: remove + install from the new checkout silently resets to defaults 83ms → expected { alertFloorMinutes: '60', …(2) } to match object { alertFloorMinutes: '1', …(2) } ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯ FAIL @bb/server test/services/plugins/issue-1766-local-replace-loses-settings.test.ts > issue #1766: local plugin replace destroys settings > BUG: remove + install from the new checkout silently resets to defaults AssertionError: expected { alertFloorMinutes: '60', …(2) } to match object { alertFloorMinutes: '1', …(2) } - Expected + Received { - "alertFloorMinutes": "1", - "staleWindowMinutes": "3", + "alertFloorMinutes": "60", + "staleWindowMinutes": "1440", "token": { - "set": true, + "set": false, }, } ❯ test/services/plugins/issue-1766-local-replace-loses-settings.test.ts:154:26 152| // What the operator tuned. This assertion FAILS on main: the plug… 153| // back on defaults ("60" / "1440", token unset) with no warning. 154| expect(view?.values).toMatchObject({ | ^ 155| alertFloorMinutes: "1", 156| staleWindowMinutes: "3", ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯ Test Files 1 failed (1) Tests 1 failed | 2 passed (3) Start at 04:37:25 Duration 2.85s (transform 1.40s, setup 0ms, import 2.46s, tests 314ms, environment 0ms)