55517f996b
性能回归(SimilarAsinTaskServicePerf500Test,8/8 绿): - test_perf_light_200 原以墙钟毫秒比较 light 与 batch(assertTrue lightMs < batchMs)。两条路径都跑纯内存 stub,耗时在十几毫秒量级, JIT/GC/线程调度抖动远大于真实差值,本机实测 light 14ms / batch 13ms 直接翻红。改为确定性口径:light 结果明细查询数 == 0(batch ≥ 1)、 light 总查询数 < batch 总查询数、batch 条目携带任务明细对象而 light 只有白名单字段;墙钟仅保留单侧上界 1s(N+1 退化会放大到秒级从而失败)。 连续 3 次独立运行稳定通过。 - 类注释同步移除“已知 flaky,隔离重跑即接受”的说明。 恢复测试入库: - fa5a59e(task-116) 把 similarasin 测试目录整体从 git 删除,并加了 .gitignore 规则 *.broken/,磁盘上目录改名 similarasin.broken。 但包声明仍是 com.nanri.aiimage.modules.similarasin.*,javac 照常编译, 这 40 个测试文件一直在参与构建、并且是 mvn test 的门禁的一部分—— 等于脱离版本控制却仍在 gate 构建。 - 目录改回 similarasin/(现在与包声明一致),移除 *.broken/ 忽略规则, 40 个测试文件重新入库。mvn test-compile 退出码 0。
126 lines
1.7 KiB
Plaintext
126 lines
1.7 KiB
Plaintext
# ===== frontend-vue =====
|
|
frontend-vue/node_modules/
|
|
frontend-vue/dist/
|
|
frontend-vue/new_web_source
|
|
frontend-vue/auto-imports.d.ts
|
|
frontend-vue/components.d.ts
|
|
frontend-vue/npm-debug.log*
|
|
frontend-vue/yarn-debug.log*
|
|
frontend-vue/yarn-error.log*
|
|
frontend-vue/pnpm-debug.log*
|
|
|
|
# ===== backend-java =====
|
|
backend-java/target/
|
|
backend-java/data/
|
|
backend-java/*.log
|
|
backend-java/logs/
|
|
backend-java/src/main/resources/application-local.yml
|
|
backend-java/.idea/
|
|
backend-java/*.iml
|
|
|
|
# ===== backend / app =====
|
|
__pycache__/
|
|
backend/tmp/
|
|
backend/__pycache__
|
|
app/__pycache__
|
|
app/new_web_source
|
|
app/user_data/
|
|
|
|
# ===== logs =====
|
|
logs/
|
|
aiimage-backend.log*
|
|
|
|
# ===== Python =====
|
|
__pycache__/
|
|
**/__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.pyo
|
|
.Python
|
|
*.egg-info/
|
|
*.egg
|
|
MANIFEST
|
|
.installed.cfg
|
|
|
|
# Build / packaging
|
|
app.zip
|
|
build/
|
|
dist/
|
|
develop-eggs/
|
|
downloads/
|
|
eggs/
|
|
.eggs/
|
|
lib/
|
|
lib64/
|
|
parts/
|
|
sdist/
|
|
var/
|
|
wheels/
|
|
share/python-wheels/
|
|
|
|
# Virtual environments
|
|
.env
|
|
.venv
|
|
env/
|
|
venv/
|
|
ENV/
|
|
env.bak/
|
|
venv.bak/
|
|
.python-version
|
|
|
|
# Testing
|
|
.tox/
|
|
.nox/
|
|
.coverage
|
|
.coverage.*
|
|
.cache
|
|
nosetests.xml
|
|
coverage.xml
|
|
*.cover
|
|
*.py,cover
|
|
.hypothesis/
|
|
.pytest_cache/
|
|
htmlcov/
|
|
|
|
# Type checking
|
|
.mypy_cache/
|
|
.dmypy.json
|
|
dmypy.json
|
|
.pyre/
|
|
.pytype/
|
|
|
|
# Jupyter
|
|
.ipynb_checkpoints
|
|
*.ipynb_checkpoints/
|
|
profile_default/
|
|
ipython_config.py
|
|
|
|
# ===== Database =====
|
|
*.db
|
|
*.sqlite3
|
|
|
|
# ===== Misc =====
|
|
desktop/
|
|
ERP-Demo/
|
|
xlsx/
|
|
.omx/
|
|
.codex
|
|
.rtk
|
|
OPS_REDIS_MYSQL_OPTIMIZATION_NOTES.md
|
|
架构.md
|
|
*ts.%
|
|
.omc
|
|
|
|
# ===== 本地规划文档(不入库)=====
|
|
docs/plans/
|
|
docs/*plan*.md
|
|
backend-java/docs/plans/
|
|
backend-java/docs/*plan*.md
|
|
backend-java/docs/specs/
|
|
backend-java/docs/*audit*.md
|
|
|
|
# ===== 进度/规划工具(本地使用,不入库)=====
|
|
check_progress.py
|
|
progress.json
|
|
progress_*.json
|