-
-
Notifications
You must be signed in to change notification settings - Fork 199
fix: 终止 Session 后仍可复活 #830
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
tesgth032
wants to merge
14
commits into
ding113:dev
Choose a base branch
from
tesgth032:fix/session-terminate
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
4e454af
fix(session): 终止会话写入终止标记并彻底清理 Redis
tesgth032 ce47639
test: 修复 priorities batch 与客户端限制编辑器单测
tesgth032 2f2f6c5
chore: format code (fix-session-terminate-ce47639)
github-actions[bot] 3ea25ec
fix(session): 终止后阻断旧 sessionId 并返回 410
tesgth032 c22a530
fix(session): 转义 Redis SCAN MATCH 避免误删
tesgth032 9b33aee
fix(session): 根据审核建议完善终止标记与测试
tesgth032 25193e3
fix(session): 终止返回值区分 markerOk 与清理结果
tesgth032 cf3bd34
chore: format code (fix-session-terminate-25193e3)
github-actions[bot] 59a3043
chore: 触发 CI(格式化后)
tesgth032 7f50805
test(session): 补齐 markerOk=false 分支覆盖并优化日志
tesgth032 d876014
fix(session): 改进终止 TTL 解析与清理日志
tesgth032 f1a9ceb
fix(session): 优化终止清理语义
tesgth032 b490a1e
test(session): 补齐 pipeline expire mock
tesgth032 df6d675
chore(session): 常量化 SCAN COUNT 并补强测试断言
tesgth032 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
硬编码中文字符串违反 i18n 规范。
"Session 已被终止,请创建新的会话后重试"直接硬编码为中文,违反了项目要求支持 5 种语言(zh-CN、zh-TW、en、ja、ru)的 i18n 规范。需通过 i18n 系统提供该错误消息。As per coding guidelines: "All user-facing strings must use i18n (5 languages supported: zh-CN, zh-TW, en, ja, ru). Never hardcode display text."
🤖 Prompt for AI Agents