Repository navigation
fix(auth): allow contact user search scope - #1946
Merged
deepcoldy merged 2 commits intoOct 15, 2026
Merged
Conversation
chengweiv5
requested review from
47seek,
LucasIcarus,
deepcoldy,
xiaoxueSunn and
xiongz-c
as code owners
October 15, 2026 11:03
Contributor
Author
|
Temporarily closing and reopening to retrigger CI after an environment-sensitive systemd/tmux integration flake; no additional code change. |
Owner
首审意见:0 P0 / 0 P1 / 0 P2,可直接合入改动
正确性核验
验证记录(基于最新 master bc1c8a7 本地 rebase,零冲突;rebase 树 == merge-tree 树 3e7e606)
P3(非阻断,可不改)
整体是最小且正确的目录修复,测试覆盖了接受/拒绝/转发/turn 绑定四个面。 |
Owner
复审:0 P0 / 0 P1 / 0 P2,建议合入对首审结论做了独立复核,重点放在「首审说对的地方我能否推翻」。 同步状态
逐项复核1.
2.
3.
独立跑过的验证
非阻断余项(沿用首审,均不要求本 PR 处理)
|
|
🚀 Released in v3.45.0 |
deepcoldy
added a commit
to Hyperzsb/botmux
that referenced
this pull request
Oct 20, 2026
合并最新 master(含 deepcoldy#1606/deepcoldy#1911/deepcoldy#1941/deepcoldy#1946/deepcoldy#1961/deepcoldy#2042 等按人鉴权演进)。 语义冲突处理: - bytedcli 身份同时携带五区域 cloudJwts 与 codeJwt(后者派生 codebase 同伴工具), mintByteCloudUserJwts 一次返回,去掉外层重复 mint。 - larkdev 平台凭据源暂不支持:grant client 端拒绝、toIdentity 收窄,platform 模式 fail-closed、auto 模式回落本地个人 HOME 五区域 mint。 - lark-cli 个人 app 两步授权的拒绝文案按 stage 区分(app-setup vs user-login), ByteCloud 家族(bytedcli/larkdev)统一 provider 文案、空 HOME 与 502/409 守卫。 - 沙箱 lark-cli HOME 物化在 publishOne/publishDelegated 叠加 sessionSandbox 透传。 - session-tmp 采用 master 新短路径布局(8 字符 profile+sid hash),根目录强制 deny 与本 PR 快照 carve 不受布局变化影响(seal 的是整个 session-tmp 根)。 - dashboard scope 加购/auth-status 取 master(绑定会话走 bot 应用,个人 app 首次 授权走 turn 发布路径,不经此 IPC);删除被 deepcoldy#1946 改名的旧 scope 测试文件。
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.
Summary
contact:user:searchuser scope to the Lark scope catalogBackground
lark-cli contact +search-user --as userrequirescontact:user:search, but Botmux rejected that valid scope asunknown_scopesbefore an authorization URL could be created.The first CI run also exposed a pre-existing test-fixture gap:
sendWorkerSessionInputresolves the owning bot before dispatching IPC, whileipc-slash-route.test.tsdid not register a bot. That made success cases return 502 and made the worker-send failure case pass for the wrong reason. The fixture now supplies the owning bot config.Validation
git diff --checkpassed