修复:web/node_modules 不再入库,测试导入顺序归位
- 第 3 批 `git add -- web` 把工作区里指向外层检出的 web/node_modules 符号链接一并提交; 在别的检出里那个绝对路径就是它自己,形成自环,导致 make 生成 与 索引检查(前端用例收集)失败。 改为不跟踪该路径,并把忽略规则从 web/node_modules/ 放宽为 web/node_modules,同时覆盖符号链接形态。 - tests/集成/test_返修会话接入.py 的导入顺序按 ruff 归位:上一批提交后未复跑 make 检查。 验证:make 检查 exit 0(ruff/格式/pyright/模块边界 22 passed/索引通过);离线层 1431 passed。
This commit is contained in:
parent
c154ca9085
commit
6e619e187b
4
.gitignore
vendored
4
.gitignore
vendored
@ -38,8 +38,8 @@ data/muse.db.bak-*
|
||||
.pytest_cache/
|
||||
.ruff_cache/
|
||||
dist/
|
||||
# 前端依赖与构建产物
|
||||
web/node_modules/
|
||||
# 前端依赖与构建产物;不带斜杠同时覆盖目录与指向别处的符号链接
|
||||
web/node_modules
|
||||
web/dist/
|
||||
web/test-results/
|
||||
web/playwright-report/
|
||||
|
||||
@ -17,8 +17,8 @@ from fastapi.testclient import TestClient
|
||||
|
||||
from muse.接入.cli.审校命令 import 运行审校命令
|
||||
from muse.接入.http.应用 import 创建应用
|
||||
from muse.配置 import 服务配置
|
||||
from muse.资源加载 import 当前资源提供器
|
||||
from muse.配置 import 服务配置
|
||||
|
||||
pytestmark = pytest.mark.数据库
|
||||
生成环境 = 返修测试.生成环境
|
||||
|
||||
@ -1 +0,0 @@
|
||||
/Users/qingse/Sync/local-git/oh-my-muse/agent-example/web/node_modules
|
||||
Loading…
x
Reference in New Issue
Block a user