Claude: changes for issue #164 #168
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "claude/issue-164"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #164.
🤖 Reviewing this PR — follow along in the action run; the reply will link the full session transcript.
📜 Live transcript — updating every ~5 minutes while the task runs.
This adds comment/discussion indexing to search: a sixth
SearchFieldat weight 0.7 (below description), a parallelDiscussionsAsyncquery run alongside the card read viaTask.WhenAll(each on its ownDbContext/connection, so no EF concurrency issue), anInCommentsflag onSearchHitthat surfaces as a marker in the result row, and matching docs, changelog, and tests.Verified end to end:
Comment.Card→Card.BoardColumn.BoardIdnavigation used inDiscussionsAsync'sWherematches the actual entity model, and it reuses the sameboardIds(already permission-filtered byBoardService.GetVisibleAsync) as the card query — no access-control gap.SearchFieldenum order (Title, Tags, People, Place, Description, Comments) matches the newWeightsarray[3.0, 2.0, 1.6, 1.2, 1.0, 0.7], and the field loop scans in that order so>(strict) comparison correctly makes ties resolve to the earlier/higher-weighted field, matching the documented "ties go to the earlier field" behavior.WhenAllbefore the two separateawaits is correct and matches the comment's stated reasoning (avoids an unobserved exception if the card query fails first).(CardId, CreatedAt)-sorted comments — grouping logic is correct, and missing/no-comment cards fall back to `Emitted as JSON this job could not parse, so it is not line-anchored; the raw object follows.
⏱ 1m 13s · 13 turns · tokens: 48.7k in / 6.2k out (+611.7k cache-read)
📜 Full session transcript
🔧 Let Claude fix this — tick the box and claude-bot picks up the review above, on this PR branch. Nothing runs until you do.