Files
AntaresandCopilot 851e1672e7 core: fix: upsert each user when setting roles in bulk (#1224)
* fix(domain): upsert each user when setting roles in bulk

Use per-UID bulk upserts for batch role assignment and skip empty batches while preserving cache invalidation and autojoin behavior.

Fixes hydro-dev/Hydro#1223

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* perf(domain): deduplicate UIDs before bulk role updates

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-14 09:09:29 +00:00
..
2026-04-30 23:02:43 +08:00
2025-06-30 17:35:02 +08:00
2026-06-20 20:43:14 +08:00
2026-08-30 12:45:32 +00:00
2026-10-14 03:29:01 +08:00
2026-08-30 12:45:32 +00:00
2026-04-30 23:02:43 +08:00
2026-08-09 07:28:40 +08:00
2026-10-14 03:29:01 +08:00
2026-04-30 23:02:43 +08:00
2026-04-30 23:02:43 +08:00
2026-04-30 23:02:43 +08:00
2026-04-30 23:02:43 +08:00
2026-10-04 17:32:13 +00:00
2026-04-30 23:02:43 +08:00
2026-10-04 17:32:13 +00:00
2026-04-30 23:02:43 +08:00
2026-08-09 07:28:40 +08:00
2026-04-30 23:02:43 +08:00
2026-04-30 23:02:43 +08:00
2026-10-14 03:29:01 +08:00
2026-10-14 03:29:01 +08:00
2026-10-13 15:48:20 +00:00