mirror of
https://gh-proxy.org/https://github.com/klinsmaya/multica.git
synced 2026-11-10 02:16:45 +08:00
`onIssueAuxiliaryRevision` scans issue caches by key PREFIX, but every prefix also covers siblings with a different shape: `tableAll` holds the grouped (infinite) and facet caches next to the row pages, `myAll` holds the assignee-grouped caches. Reading `data.rows` / `data.byStatus` off those threw "Cannot read properties of undefined (reading 'some')". `useCreateComment` calls it from onSuccess, so the throw rejected `mutateAsync` after the server had already created the comment and enqueued the agent task: the composer showed an error toast and skipped the timeline append, and the comment only appeared on reload. Every scan now goes through the shape-filtered helpers the cache coordinator already had (`bucketedListEntries` / `flatListEntries` / `tableRowEntries`, plus a new `issueArrayEntries`), so the check can't be forgotten at a new call site. Co-authored-by: J <[email protected]> Co-authored-by: multica-agent <[email protected]>