chore(workspace): tighten quality gates (#2230)

This commit is contained in:
Hampus
2026-08-31 04:43:20 +02:00
committed by GitHub
parent e6e4c6f7b5
commit 5c2dca1c51
123 changed files with 4925 additions and 5640 deletions
@@ -859,9 +859,7 @@ export class GuildOperationsService {
const channels = await this.channelRepository.listGuildChannels(guildId);
await Promise.all(channels.map((channel) => this.channelRepository.deleteAllChannelMessages(channel.id)));
await Promise.all(
channels.map((channel) =>
deleteChannelMessageSearchDocuments(channel.id, {context: {source: 'guild_delete'}}),
),
channels.map((channel) => deleteChannelMessageSearchDocuments(channel.id, {context: {source: 'guild_delete'}})),
);
await Promise.all(channels.map((channel) => this.channelService.attachments.purgeChannelAttachments(channel)));
const discoveryRow = await this.discoveryRepository.findByGuildId(guildId);