From 1fbe8f661dc93c09bb670f549d7bd936d4c6bfab Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 12 Sep 2026 13:14:42 +0000 Subject: [PATCH] chore(autofix): apply prettier + eslint fixes via /autofix command --- gitnexus/test/unit/lbug-adapter-wal-schema.test.ts | 1 - .../unit/lbug-pool-storage-version-lock-retry.test.ts | 8 +++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gitnexus/test/unit/lbug-adapter-wal-schema.test.ts b/gitnexus/test/unit/lbug-adapter-wal-schema.test.ts index f5eded56a..13a1c3940 100644 --- a/gitnexus/test/unit/lbug-adapter-wal-schema.test.ts +++ b/gitnexus/test/unit/lbug-adapter-wal-schema.test.ts @@ -129,7 +129,6 @@ describe('doInitLbug WAL corruption guard — structural', () => { expect(mismatchIdx).toBeGreaterThan(-1); expect(mismatchIdx).toBeLessThan(warnIdx); }); - }); // ─── Behavioural tests ──────────────────────────────────────────────────────── diff --git a/gitnexus/test/unit/lbug-pool-storage-version-lock-retry.test.ts b/gitnexus/test/unit/lbug-pool-storage-version-lock-retry.test.ts index 8a70a177e..f5b4946b9 100644 --- a/gitnexus/test/unit/lbug-pool-storage-version-lock-retry.test.ts +++ b/gitnexus/test/unit/lbug-pool-storage-version-lock-retry.test.ts @@ -57,8 +57,7 @@ vi.mock('../../src/core/lbug/sidecar-recovery.js', () => ({ const { initLbug, closeLbug, isLbugReady, unpinRepo } = await import('../../src/core/lbug/pool-adapter.js'); -const { STORAGE_VERSION_MISMATCH_SUGGESTION } = - await import('../../src/core/lbug/lbug-config.js'); +const { STORAGE_VERSION_MISMATCH_SUGGESTION } = await import('../../src/core/lbug/lbug-config.js'); const NATIVE_STORAGE_VERSION_MISMATCH = 'Runtime exception: Trying to read a database file with a different version. Database file version: 43, Current build storage version: 42'; @@ -120,7 +119,10 @@ describe('pool-adapter storage-version fail-fast and lock-retry backoff', () => const otherPath = dbPathFor(otherId); createLbugDatabaseMock.mockImplementation((_mod: unknown, dbPath: string) => { - if (String(dbPath).includes(`${path.sep}locked.lbug`) || String(dbPath).endsWith('locked.lbug')) { + if ( + String(dbPath).includes(`${path.sep}locked.lbug`) || + String(dbPath).endsWith('locked.lbug') + ) { throw new Error('Could not set lock on file : /tmp/locked.lbug'); } return goodDb();