From cd9b641d923cd528f78649c443b9d91864cd42b7 Mon Sep 17 00:00:00 2001 From: J Date: Wed, 10 Jun 2026 15:27:22 +0800 Subject: [PATCH] refactor(core): define issueKeys.tasks via tasksAll prefix helper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Review nit on #3992 — keep the per-issue key families consistently defined in terms of their *All prefix helpers. No behavior change. Co-authored-by: multica-agent --- packages/core/issues/queries.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/issues/queries.ts b/packages/core/issues/queries.ts index 221419e44..aefd544d7 100644 --- a/packages/core/issues/queries.ts +++ b/packages/core/issues/queries.ts @@ -87,12 +87,12 @@ export const issueKeys = { * click time. */ attachments: (issueId: string) => [...issueKeys.attachmentsAll(), issueId] as const, - /** Per-issue task list (issue-detail Execution log section). */ - tasks: (issueId: string) => ["issues", "tasks", issueId] as const, /** Prefix-match key for invalidating tasks across all issues — used by * the global WS task: prefix path so any task lifecycle event refreshes * every per-issue list, regardless of which issue is currently mounted. */ tasksAll: () => ["issues", "tasks"] as const, + /** Per-issue task list (issue-detail Execution log section). */ + tasks: (issueId: string) => [...issueKeys.tasksAll(), issueId] as const, }; export type MyIssuesFilter = Pick<