Repository navigation
test(identity): #2550 补 refresh 路径同一按人 HOME 用例与兜底目录注释 - #2564
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
deepcoldy
requested review from
47seek,
LucasIcarus,
xiaoxueSunn and
xiongz-c
as code owners
October 29, 2026 23:43
Owner
Author
Owner
Author
|
🚀 Released in v3.56.0 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
改了什么
#2550 的评审在 21:50Z 补了两条实现细节提醒。#2550 合入时这两条还没推上去,用这个小 PR 补齐,只改测试和注释,不改行为。
writeSessionIdentity发布身份,再refreshSessionIdentity刷新,刷新后的身份内容里BOTMUX_IDENTITY_HOME与首次发布一致,也等于bytedcliTurnHome算出的路径。refreshSessionIdentity内部调用的是writeSessionIdentity,所以两条发布路径本来就一致;这条用例把这一点钉住。验证
npx vitest run test/bytedcli-identity-home.test.ts:8 passed;npx tsc --noEmit -p .通过。🤖 Generated with Claude Code