Repository navigation
Fix Vibe login loop and optimize app query performance - #2843
Merged
Merged
Conversation
## What - 修复 Vibe 已发布/预览应用未识别平台 Session 导致反复跳转登录页的问题。 - 优化 chat/online 的可见应用查询,减少排序分页与附加信息的重复查询。 - 统一产品版本为 3.1.0-alpha1-fix;Python 包元数据及锁文件使用合法的 3.1.0a1+fix。 ## Why 统一认证签发 platform_access_<sid> 后,旧应用入口仍读取旧凭据,导致登录循环;应用列表则在大量不可见候选上重复查询和校验,首屏耗时被放大。 ## How - 按 platform_session_hint 精确选择 Access,并复用权威 Session 校验;保留 Desktop 应用作用域凭据及旧认证兼容,过滤转发中的平台 Cookie。 - 按资源类型获取可见 ID、在业务 SQL 中先过滤再排序分页,保留最终权限复核及撤权后的补页;去重创建者查询并只读取必要工作流版本。 - 同步版本元数据、部署默认镜像及安装说明;第三方依赖版本、来源和哈希不变,无新增数据库迁移。 ## Test - [x] app-proxy 完整套件 285 passed;Vibe 新增 18 项回归、查询新增 20 项回归通过。 - [x] 相关后端列表/租户/权限选择 173 passed;1 项缺 user_link 表的失败在 main 基线同样复现。另有 17 项既有 preview 测试夹具失败,新旧失败集合一致。 - [x] 版本/Helm/运行时发行相关 92 项通过;两个运行时 wheel 实际构建成功,Linux amd64/arm64 冻结依赖安装计划与原版本一致。 - [x] 同一构造数据返回相同 20 项,排序分页由 21 轮降到 1 轮,最终权限复核由 1020 项降到 21 项;此为工作量对照,不代表线上毫秒延迟。 - [x] DSH 现有环境升级同一 tag 镜像,Vibe 打开及刷新正常,3 次入口请求均为 HTTP 200,实时连接成功。 - [x] Ruff、架构守卫、git diff --check 通过;两条双架构镜像 CI 全部成功。 - [ ] 114 环境及多账号、Desktop、长时间续期、完整业务写入未在本次验收。 ## Related - Head: 296a113;现有标签 v3.1.0-alpha1-fix 指向同一提交。 - [Vibe 审查与回归](docs/reviews/vibe-platform-session-hotfix-20261130.md) - [查询优化验证](docs/reviews/chat-online-query-optimization-20261130.md) - [版本及依赖校验](docs/reviews/alpha1-fix-version-alignment-20261130.md)
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.
What
简要描述做了什么改动。
Why
为什么需要这个改动?
How
实现方式、设计决策(如有)。
Test
Related