Skip to content

Conversation

@HellowVirgil
Copy link
Collaborator

Description

Please include a summary of the changes and the motivation behind them. Also, include any relevant context or links to related issues.

Type of Change

Please mark the type of change:

  • Bug fix
  • New feature
  • Documentation update
  • Code refactoring
  • Other (please describe):

Related Issues

Please list any issues related to this pull request (e.g., Fixes #123, Closes #456).

Testing

Please describe the tests that were performed to verify your changes. Include details about the testing framework, if applicable.

  • Unit tests
  • Integration tests
  • Manual testing

Checklist

  • My code follows the project’s coding style.
  • I have updated the documentation as necessary.
  • I have added tests to cover my changes.
  • All new and existing tests pass.
  • My changes require a change to the documentation.

Additional Notes

默认情况下,Cell 的“正在运行”状态和消息监听是保存在前端组件的内存中的。当页面刷新或组件重新加载时,内存数据丢失,虽然 Kernel 后端还在跑任务,但前端已经不知道是谁在跑,导致 UI 显示为静止,且无法接收后续的输出。

本 PR 将每次执行请求的唯一标识符 ( msg_id ) 写入到 Cell 的 metadata 中,在刷新页面后,根据存储的 msg_id 去 Kernel 的广播频道里认领属于这个 Cell 的消息,并恢复 output 输出。

@HellowVirgil HellowVirgil merged commit fd90e70 into apt-oss:feat/tracker-back Jan 20, 2026
1 of 6 checks passed
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.

1 participant