Commit graph

3785 commits

Author SHA1 Message Date
hrz
aedcc57d38 加日期格式化工具测试,24 例 2026-09-02 20:39:40 +08:00
hrz
3a561a251f 加 featureManager 单元测试,7 例 2026-09-02 20:39:40 +08:00
hrz
4635186bc5 加 deviceTime 工具 vitest 测试,22 例 2026-09-02 20:39:40 +08:00
hrz
05dfc8e53e 配 vitest:jsdom 环境与覆盖率 2026-09-02 20:39:40 +08:00
hrz
957ededb25 前端引入 vitest 测试工具链 2026-09-02 20:39:39 +08:00
hrz
4af1ea34d4 加敏感数据工具测试,9 例 2026-09-02 20:39:39 +08:00
hrz
47d1e8f8ba 加知识库适配器工厂测试,6 例 2026-09-02 20:39:39 +08:00
hrz
363c793555 加纠错词文件服务单元测试,9 例 2026-09-02 20:39:39 +08:00
hrz
ff02285f6d 加插件包导入冒烟测试,1 例 2026-09-02 20:39:39 +08:00
hrz
beb71db393 加意图/模型/记忆工厂测试,6 例 2026-09-02 20:39:39 +08:00
hrz
433dd320df 加对话消息测试 11 例,含异步 2026-09-02 20:39:39 +08:00
hrz
b301db0f1d 加配置合并函数测试,7 例 2026-09-02 20:39:39 +08:00
hrz
a378c1cc5d 加 current_time 测试 7 例,冻结时间 2026-09-02 20:39:39 +08:00
hrz
9d1e8dbb19 加 output_counter 测试,7 例 2026-09-02 20:39:39 +08:00
hrz
2759b8170c 加 textUtils 行为测试,11 例 2026-09-02 20:39:38 +08:00
hrz
41930f730b 配 pytest 与 conftest,修模块路径 2026-09-02 20:39:38 +08:00
hrz
1b37b05795 加 Python 冒烟测试,验证 pytest 流水线 2026-09-02 20:39:38 +08:00
hrz
398aedc26b 新增 GitHub Actions,并行跑三语测试 2026-09-02 20:39:38 +08:00
hrz
fc97d6cb1a 新增顶层 Makefile,统一测试入口 2026-09-02 20:39:38 +08:00
Claude Code
1366183437 docs: test infrastructure implementation plan
22 bite-sized tasks across 4 slices:
1. CI foundation (Makefile + workflow + smoke test)
2. Python unit tests (8 tasks, ~50 tests)
3. Java unit tests (4 tasks, +4-5 tests)
4. Vue vitest migration (6 tasks, +20 unit tests)

Each task has explicit test code, commit checkpoints, and
verification steps. Slice ordering matches ROI from the design spec.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-02 19:46:39 +08:00
Claude Code
3b0d27b342 docs: test infrastructure design spec
Adds a four-slice plan for adding test coverage across the three
language stacks (Python, Java, Vue) and wiring everything into
GitHub Actions plus a root Makefile for local parity.

Spike-driven; based on exploration of xiaozhi-server (0 tests),
manager-api (~6% coverage), and manager-web (3 contract tests).

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-02 19:44:38 +08:00
hrz
eb4b28c59e
Merge pull request #3336 from muxinshijie/feature/fix-noneType-bug
fix: 修复safe_close多线程竞态导致NoneType空指针
2026-09-02 18:38:10 +08:00
muxinshijie
74cc31d1cc 服务关闭时主线程调用safe_close()将instance置None,与守护线程存在竞态条件,因此必须先判空 2026-08-27 00:13:21 +08:00
hrz
c02becdc80
Merge pull request #3332 from MsThink/main
refactor(manager-web): 将备注重命名为 设备别名
2026-08-21 21:39:45 +08:00
colorful
b16ed2ed36 style(manager-web): 调整通讯录中的设备状态在线/离线状态图标间距,居中 2026-08-20 10:54:15 +08:00
colorful
af9abdd771 refactor(manager-web): 将备注重命名为 设备别名
- 更新所有语言包中的相关文案
- 同步更新组件及变量命名
2026-08-19 15:23:55 +08:00
hrz
e1876f1ce1
Merge pull request #3315 from xinnan-tech/fix-model-name
更换豆包、Gemini的LLM模型、修复 performance_tester 异步配置加载错误
2026-08-18 16:31:48 +08:00
hrz
ced7103639
Merge branch 'main' into fix-model-name 2026-08-18 16:31:21 +08:00
hrz
cb0b075304
Merge pull request #3326 from MsThink/main
fix(知识库管理): 上传弹窗禁止点击遮罩关闭并添加提交加载状态
2026-08-18 16:26:46 +08:00
欣南科技
cdfb2a1187
Merge pull request #3331 from xinnan-tech/openrz-patch-1
Delete docs/images/console-params.png
2026-08-18 16:24:32 +08:00
hrz
8b64205522
Delete docs/images/console-params.png 2026-08-18 16:23:50 +08:00
hrz
6529b80c64
Merge pull request #3329 from Jehuty-ML/feat/params-management-group-ui
feat(manager-web): 参数管理按命名空间聚合展示
2026-08-18 16:10:52 +08:00
weirui
d76825fae5 fix(manager-web): 参数管理聚合支持分页拉全量并重置空态全选
按 total 循环拉取全部页,避免超过 500 条时缺数据;displaySections 为空时同步重置 isAllSelected。
2026-08-18 10:19:39 +08:00
weirui
c55dc8282f docs: 补充参数管理聚合界面截图,便于 PR 审阅对照 2026-08-17 18:56:27 +08:00
weirui
4870b5a0a2 feat(manager-web): 参数管理按命名空间聚合展示
一次拉取全量参数并按 paramCode 前缀分组折叠,避免默认分页难找相关配置。
2026-08-17 17:56:40 +08:00
wengzh
ae3f970c92
Merge pull request #3322 from chentyke/fix/tts-timeout-config-propagation
fix(tts): 统一 TTS 请求超时配置
2026-08-17 17:41:45 +08:00
msgpo
8367f9b607
fix(知识库管理): 上传弹窗禁止点击遮罩关闭并添加提交加载状态 2026-08-15 15:02:04 +08:00
3030332422
59b51e021b update:暂时撤回对gemini模型的更替 2026-08-14 20:08:51 +08:00
3030332422
2c89b284b2 fix:修复Liquibase changeset ID误改的问题 2026-08-14 10:37:40 +08:00
Tyke Chen
04b3ad5aae fix(tts): validate timeout range 2026-08-13 15:59:41 +08:00
Tyke Chen
2c43a13d6e fix(tts): unify configurable request timeouts 2026-08-13 15:02:17 +08:00
Tyke Chen
17560a7d29
Merge pull request #3320 from henson957/fix/siliconflow-http-timeout
fix(tts): SiliconFlow provider 增加请求超时与 HTTP 错误处理
2026-08-13 14:25:06 +08:00
henson957
db7db3de67 fix(tts): reuse base tts_timeout config instead of hardcoded 15 2026-08-13 13:28:17 +08:00
henson957
d03d0d0982 fix(tts): add HTTP timeout and error handling to SiliconFlow provider
- requests.request() had no timeout: when the SiliconFlow API slows down,
  the request hangs forever and the device produces no audio intermittently
- non-200 responses (rate limit, error page) were written to disk as audio;
  now the status code is checked and an exception is raised with the body
2026-08-12 17:37:04 +08:00
Tyke Chen
545979873b
Merge pull request #3318 from JansenChang/codex/fix-function-dialog-mcp-overlap
fix(manager-web): keep function dialog footer accessible with many MCP tools
2026-08-11 17:27:44 +08:00
ZhengYS
16b6841710 fix: keep function dialog footer accessible 2026-08-10 12:00:30 +08:00
3030332422
2a465f0fb5 fix: 修复 performance_tester 异步配置加载错误 2026-08-07 10:23:25 +08:00
3030332422
ea6b0c3746 update:豆包模型更换为doubao-seed-2-0-lite-260215,Gemini模型更换为gemini-3.6-flash 2026-08-07 09:09:53 +08:00
hrz
7475ea2b2d
Merge pull request #3313 from xinnan-tech/fix-deepseek-model
deepseek更改模型为v4-flash并且关闭思考模式
2026-08-06 18:10:01 +08:00
欣南科技
1fa178cd36
Merge pull request #3314 from xinnan-tech/fix-star-img
fixed:Star History Chart
2026-08-06 18:08:59 +08:00