fix: resolve Greptile P1 close() timer leak, engine git init, dashboard test

- store.ts close(): clear retry timer and buffer before nulling _db to
  prevent re-opening a new connection after close (Greptile P1)
- merger-staging-allowlist.test.ts: use `git init -b main` so the
  default branch is always named 'main' regardless of git config
- SettingsModal.test.tsx: fix expected text for compact DroidCli card
  — shows "✓ Active" badge, not "✓ Connected — 1.2.3"

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Timothy Laurent
2026-05-04 21:12:42 -07:00
parent 6fd47416ee
commit 8bbcb3e88e
3 changed files with 9 additions and 3 deletions

View File

@@ -1097,7 +1097,7 @@ describe("SettingsModal", () => {
extension: { status: "ok" },
ready: true,
},
expectedText: "✓ Connected — 1.2.3",
expectedText: "✓ Active",
},
])("renders plugin-driven droid card state: $name", async ({ status, expectedText }) => {
mockFetchAuthStatus.mockResolvedValueOnce({