multica/server/cmd/server
Bohan Jiang fc6405e4be
fix(trigger): allow on_comment when thread root @mentions assignee agent (#382)
When a member-started thread root @mentions the assignee agent, replies
in that thread should trigger on_comment — the thread is a conversation
with the agent, not a member-to-member chat.

Previously isReplyToMemberThread only checked the reply content for
assignee mentions. Now it also checks the parent (thread root) content.
This fixes a gap where path 1 (on_comment) suppressed the trigger and
path 2 (on_mention) skipped the assignee, leaving no trigger path.
2026-04-03 15:07:39 +08:00
..
activity_listeners.go feat(realtime): WS invalidation + refetch pattern, inbox bugfixes, UI polish 2026-03-29 13:49:40 +08:00
activity_listeners_test.go feat(realtime): WS invalidation + refetch pattern, inbox bugfixes, UI polish 2026-03-29 13:49:40 +08:00
comment_trigger_integration_test.go fix(trigger): allow on_comment when thread root @mentions assignee agent (#382) 2026-04-03 15:07:39 +08:00
integration_test.go fix(test): use auth.JWTSecret() in integration tests instead of hardcoded secret (#349) 2026-04-02 18:21:21 +08:00
listeners.go feat(realtime): skip WS refetch for self-triggered events 2026-03-31 13:09:17 +08:00
main.go fix(runtime): add server-side sweeper to detect stale runtimes 2026-03-29 14:22:12 +08:00
notification_listeners.go Merge pull request #327 from multica-ai/agent/j/53c0348f 2026-04-02 14:28:26 +08:00
notification_listeners_test.go fix(inbox): remove hardcoded 50-item limit from inbox list query 2026-03-31 18:36:41 +08:00
router.go fix(agent): instruct agents to use download_url for attachments (#356) 2026-04-02 07:45:42 -07:00
runtime_sweeper.go fix(server): broadcast sweeper task:failed events to correct workspace 2026-04-02 03:20:59 +08:00
runtime_sweeper_test.go test(server): add integration tests for sweeper event broadcasting fix 2026-04-02 03:30:32 +08:00
subscriber_listeners.go fix(server): subscribe @mentioned users in issue descriptions 2026-03-31 18:36:15 +08:00
subscriber_listeners_test.go feat(notifications): replace hardcoded inbox notifications with subscriber-driven model 2026-03-28 19:33:20 +08:00