Files
multica/packages
c8048a0c8a fix(issues): stop a comment create failing on sibling issue caches (MUL-6394) (#7211)
`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]>
2026-08-19 16:25:18 +08:00
..