fix: CI biome errors + enhanced GUILD_CREATE/READY voice_states diagnostic

- live-speaker.ts: unused var [id] in clearAllSpeakers → [_]
- migrate.ts: useTemplate string concat → template literal
- streamWatchReceiver: remove unused watchKey param from closeCurrentSegment
- videoRecorder: log all raw WS event types + READY sessions.voice + broadcaster_user_ids
This commit is contained in:
asepharyana committed 2026-09-02 02:31:32 +07:00
1 parent fdcd53d149
commit 43594af3c8
4 files changed
+11 -10

No files matched your search

@@ -194,8 +194,7 @@ async function seedDrizzleHistory(client: PoolClient): Promise<void> {
// recorded). Seed up to the last journal `when` so Drizzle skips them
// instead of re-running already-applied DDL and crashing. This is the
// recovery that broke the gateway's infinite-restart loop.
const journalTag =
(await getFirstMigrationTag()) + `@${lastMigrationWhen}-reconciled`;
const journalTag = `${await getFirstMigrationTag()}@${lastMigrationWhen}-reconciled`;
await client.query(
`INSERT INTO "__drizzle_migrations" (hash, created_at) VALUES ($1, $2)`,
[journalTag, lastMigrationWhen],