feat: complete LLM protocol, Web access, and workspace capabilities - #92
Conversation
已登录线上验收补充
新发现:JWT 登出不撤销服务端 Token
本轮临时 Token 文件已删除,浏览器测试上下文已关闭;没有重置密码或修改认证配置。服务端 JWT 撤销应单独确认方案后修复,不能将本轮清理表述为“登录 Token 已撤销”。PR 保持草稿、未合并。 |
|
PostgreSQL 验收缺口已补齐:Docker 直接拉取多个源均报 EOF,但宿主机通过 crane 从 AWS ECR 下载 PostgreSQL 16 Alpine ARM64 并导入 Docker 成功。真实 SQL 工作区集成测试带 -race 通过,覆盖表创建、增改查、表列/索引元数据及错误查询。临时容器仅绑定 loopback,限内存 384MB,测试表、容器、tmpfs 数据及下载归档已清理;未更改全局 Docker 配置。记录已提交 4e768aa。此项不等同于部署环境的 connector/browser E2E;DM8、SMB 及其他真实服务验收缺口仍保留。 |
|
MariaDB 11.4 ARM64 真实 SQL 工作区集成测试已带 -race 通过:表创建、增改查、表列和索引元数据、错误查询均通过。使用宿主机 crane 从 DaoCloud 下载后导入 Docker;临时容器仅绑定 loopback,限制512MB,测试表/容器/tmpfs数据和两份下载归档均已清理。结果记录于663b950。未改产品代码或线上配置,无需重新部署。仍保留真实DM8/SMB、SQL Server及其他数据库和线上SSH/SQL端到端验收边界。 |
|
SMB 真实服务验收已补齐:隔离 ARM64 Samba(只读共享、密码认证、强制消息签名)上 -race 集成测试通过,覆盖目录列举、UTF-8预览、下载内容、大小限制、路径穿越/UNC/盘符/备用流拒绝及错误密码拒绝。新增断言已保留到 integration_test.go。完整 Go build/race 回归及集成 vet 通过。临时容器、凭据数据、测试文件、下载归档已清理;本机系统共享及线上配置未变。仍不宣称 Windows/NAS 兼容性或 connector/browser E2E 已验证。 |
Scope
This branch completes work on native LLM protocols, statistics and the Playground; SQL/SMB adapters; Web path, port and domain entries; the home page Agent; UI consistency; JWT revocation on logout; WebData resource access-denied states; and a fix for Dameng credentials containing special characters.
Validation and deployment
Backend and frontend CI passed for the latest commit. Go build, vet and race checks, the frontend build, and existing browser regression tests also passed. Additional validation covered real Samba, TiDB and DM8 instances through deployed connectors, along with SFTP and HTTP path/HTTPS port edge cases. Temporary resources have been cleaned up. The deployed backend checksum matches the build containing the Dameng fix, and there are no additional changes to the production frontend source.
Known limitations
As agreed, end-to-end acceptance testing against real Doris and StarRocks engines and public-domain certificates is deferred. These checks are not marked as passed, and no production validation is claimed for them. Local LLM inference and protocol simulation do not constitute comprehensive certification of cloud provider services or SDKs. JWT revocation does not forcibly terminate established WebSocket or SSH sessions.
Merged within the agreed scope using a regular merge to preserve commit history. No new tag is being created for this change.