From e76e84ffc0754d5f6d06286d49b318ae8d3e5561 Mon Sep 17 00:00:00 2001 From: Markov Date: Tue, 24 Feb 2026 23:24:55 +0100 Subject: [PATCH] =?UTF-8?q?refactor:=20=D1=83=D0=B1=D1=80=D0=B0=D0=BD?= =?UTF-8?q?=D0=B0=20=D1=80=D1=83=D1=87=D0=BD=D0=B0=D1=8F=20project.subscri?= =?UTF-8?q?be=20(Tracker=20auto-subscribes)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/transport/ws-client.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/transport/ws-client.ts b/src/transport/ws-client.ts index d1cab86..ae8c11c 100644 --- a/src/transport/ws-client.ts +++ b/src/transport/ws-client.ts @@ -215,11 +215,9 @@ export class WsClientTransport implements TaskTracker { this.reconnectDelay = 1000; this.startHeartbeat(); - // Subscribe to all projects - for (const project of this.projects) { - this.log.info('→ Subscribing to project: %s (%s)', project.slug, project.id); - this.send('project.subscribe', { project_id: project.id }); - } + // Projects are auto-subscribed by Tracker on auth + this.log.info('Auto-subscribed to %d projects: %s', this.projects.length, + this.projects.map(p => p.slug).join(', ') || '(none)'); if (this.resolveStart) { this.resolveStart();