Skip to content

Fix scheduler memory get with user_name and retries#624

Merged
CaralHsi merged 4 commits intodevfrom
fix/log-add-retry
Dec 5, 2025
Merged

Fix scheduler memory get with user_name and retries#624
CaralHsi merged 4 commits intodevfrom
fix/log-add-retry

Conversation

@glin93
Copy link
Contributor

@glin93 glin93 commented Dec 5, 2025

Description

Summary: (summary)

Fix: #(issue)

Docs Issue/PR: (docs-issue-or-pr-link)

Reviewer: @(reviewer)

Checklist:

  • I have performed a self-review of my own code | 我已自行检查了自己的代码
  • I have commented my code in hard-to-understand areas | 我已在难以理解的地方对代码进行了注释
  • I have added tests that prove my fix is effective or that my feature works | 我已添加测试以证明我的修复有效或功能正常
  • I have created related documentation issue/PR in MemOS-Docs (if applicable) | 我已在 MemOS-Docs 中创建了相关的文档 issue/PR(如果适用)
  • I have linked the issue to this PR (if applicable) | 我已将 issue 链接到此 PR(如果适用)
  • I have mentioned the person who will review this PR | 我已提及将审查此 PR 的人

glin1993@outlook.com and others added 3 commits December 5, 2025 18:25
Correctly pass mem_cube_id as user_name to get_working_memory in process_session_turn to maintain tenant isolation for working memory management. This addresses a potential data leakage issue in multi-tenant environments.
@CaralHsi CaralHsi merged commit 8984d2e into dev Dec 5, 2025
20 checks passed
@glin93 glin93 deleted the fix/log-add-retry branch December 18, 2025 06:16
tianxing02 pushed a commit to tianxing02/MemOS that referenced this pull request Feb 24, 2026
* Fix scheduler memory get with user_name and retries

* Fix: Ensure multi-tenancy for working memory in GeneralScheduler

Correctly pass mem_cube_id as user_name to get_working_memory in process_session_turn to maintain tenant isolation for working memory management. This addresses a potential data leakage issue in multi-tenant environments.

* Revert user_name param on mem_os core accessors

---------

Co-authored-by: glin1993@outlook.com <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants