Skip to content

Fix/trace id align#637

Merged
tangg555 merged 4 commits intodevfrom
fix/trace-id-align
Dec 7, 2025
Merged

Fix/trace id align#637
tangg555 merged 4 commits intodevfrom
fix/trace-id-align

Conversation

@glin93
Copy link
Contributor

@glin93 glin93 commented Dec 7, 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 4 commits December 7, 2025 16:25
…bustness

- Propagate  from request context to  to align logs across asynchronous operations.
- Update context getter functions (, , , ) to return default empty/production values instead of  for improved robustness.
@tangg555 tangg555 merged commit 65bad8f into dev Dec 7, 2025
20 checks passed
@glin93 glin93 deleted the fix/trace-id-align branch December 7, 2025 10:40
tianxing02 pushed a commit to tianxing02/MemOS that referenced this pull request Feb 24, 2026
* feat: Propagate trace_id to scheduled messages and improve context robustness

- Propagate  from request context to  to align logs across asynchronous operations.
- Update context getter functions (, , , ) to return default empty/production values instead of  for improved robustness.

* Add scheduler total duration metric and keep context defaults

* Fix: Ruff UP038 in dispatcher.py

---------

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.

2 participants