Data storage improvements after deleting and leaving a group

Co-authored-by: Scott Nonnenberg <scott@signal.org>
Co-authored-by: ayumi-signal <143036029+ayumi-signal@users.noreply.github.com>
This commit is contained in:
automated-signal
2026-07-21 18:49:13 +00:00
committed by GitHub
co-authored by Scott Nonnenberg ayumi-signal
parent 74b71d1909
commit 0fc2899a99
19 changed files with 1253 additions and 69 deletions
@@ -1,6 +1,8 @@
// Copyright 2025 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import assert from 'node:assert/strict';
import { cwd } from 'node:process';
import type { WritableDB } from '../../../sql/Interface.std.ts';
import { setupTests } from '../../../sql/Server.node.ts';
import type { AppendPinnedMessageResult } from '../../../sql/server/pinnedMessages.std.ts';
@@ -50,7 +52,7 @@ describe('sql/server/pinnedMessages', () => {
beforeEach(() => {
db = createDB();
setupTests(db);
setupTests(db, { userDataPath: cwd() });
setupData(db);
});