Repository navigation
Conversation
This was referenced Oct 9, 2026
35 tasks
This was referenced Oct 9, 2026
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
Refs #11423。大 schema 的独立过程和函数补全原先需要读取整个 schema;新 Agent 返回合法空结果时还可能误触发全量回退。实际界面又复现两处问题:输入带引号的
Wild%_名称时,服务端有候选但菜单不显示;切换 schema 后,旧请求的迟到响应会重新弹出候选。Agent 按输入、owner 和对象类型搜索可见的独立 PROCEDURE/FUNCTION,在服务端限制候选并报告是否完整。前端正确处理带引号名称的匹配和替换范围;connection、database、catalog 或 schema 变化时立即使旧请求失效,异步完成与异常分支都不再恢复旧结果。旧 Agent 的兼容回退仍保留,新 Agent 的合法空结果直接返回。
Evidence
Before: 输入 quoted 名称时服务端有候选但菜单不显示;切换 schema 后旧响应到达,会重新弹出不属于当前上下文的候选。
After: 最新编辑器/SQL completion 313 项通过。真实普通账号候选、中文/quoted/字面通配符、上限和点击选入验证;精确暂停真实响应后切 schema,迟到响应已送达但不重弹,当前新请求仍正确。未执行生成 SQL,自有服务和拦截清理,fixture 保留。connection/database/catalog 只有单测,完整大 schema/表视图/Oracle 回归仍待。
回归与验收范围
恢复例程与序列混合请求中的 SEQUENCE 候选,避免 Agent 和 store 两层丢弃序列补全。
验证:前端 284 项、OceanBase Agent 87 项通过;完整前端类型检查、格式和差异检查通过。
Merge Danger
Door: two-way(代码),搜索和选入不调用过程或函数。
Blast Radius: 过程和函数补全。
迟到响应可能插入错误上下文的名称,切换时必须使旧请求失效。connection/database/catalog 切换仅有单测,完整大 schema、表视图和 Oracle 回归仍待。自有服务与拦截已清理,登记的 fixture 保留供后续验收。
自动化状态与界面预览
自动预览只代表对应提交和沙盒场景,不能替代目标数据库的实库验收。
🎬 界面预览
CI 用这个 PR 的前端构建并真实运行 dbx(沙盒环境,dbx-web 后端 + 本地 SQLite 种子数据),按改动自动操作、截图和录屏 ·
2ed47bf· 运行记录⏳ 正在录制这次提交的界面改动…