DDSRem
e0642eafa7
chore(types): reduce v3 host mypy debt ( #7057 )
...
* chore(types): clear AniList endpoint mypy debt
* chore(types): clear Douban endpoint mypy debt
* chore(types): clear recommendation endpoint mypy debt
* chore(types): clear subscription notification mypy debt
* chore(types): clear SDK string compatibility mypy debt
* chore(types): ratchet v3 host mypy across remaining files
* chore(types): reduce v3 host mypy debt and retire ledger
* chore(types): reconcile host snapshot with upstream HTTP pool
* test(types): cover host paths exposed by mypy cleanup
2026-10-18 09:37:49 +08:00
DDSRem
2de976f6b3
Merge pull request #7050 from DDSRem-Dev/codex-comment-migration
...
docs: 统一全项目中文注释和结构化契约说明
2026-10-17 19:26:29 +08:00
freeman
f3ad81b39e
style: apply safe ruff auto-fixes and exempt startup late imports
...
Run `ruff check app tests scripts --fix` with the configured rule set
(E4/E7/E9/F/I): import sorting (I001), f-strings without placeholders
(F541), lambda/variable/unused-import cleanups that ruff marks safe.
Nine files whose only ruff debt sits next to pre-existing pylint
import-resolution errors (lazy exports, sys.path script imports) or
whose "unused" imports are reached through attribute access by tests are
left untouched so the changed-file pylint gate and the benchmark tests
stay green; their diagnostics remain in the baseline.
app/startup/lifecycle/__init__.py and app/main.py import business
modules after cache composition, import-path and stdio setup on purpose
(the source comments document the contract), so declare E402
per-file-ignores for them instead of adding per-line noqa.
Ruff ratchet watermark drops from 498 to 100; sync the baseline fixture
and the optimization checklist figure.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com >
2026-10-09 13:29:09 +08:00
InfinityPacer
143ed49de0
docs(runtime): drop redundant allocator comments
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-09-28 18:20:24 +08:00
InfinityPacer
7191b23555
fix(runtime): strip inherited jemalloc background thread config for subprocesses
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-09-28 18:20:24 +08:00
InfinityPacer
31ca107e41
fix(docker): enable jemalloc background thread only in the main process
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-09-28 18:20:24 +08:00
jxxghp
8072b7d78f
Refactor application architecture and compatibility boundaries
2026-09-13 12:53:00 +08:00
jxxghp
3371925d55
fix: restore mypy ratchet after Windows updates
2026-09-02 20:44:57 +08:00
developer-wlj
39d4fc12d0
fix(main): 解决 Windows Free-Threading 环境下 DLL 加载问题
...
- 添加 shutil 模块导入用于查找可执行文件
- 为 Windows 环境手动注入 DLL 搜索路径
- 使用 shutil.which 查找 psql 可执行文件位置
- 将 psql 目录添加到 DLL 搜索路径以避免运行失败
- 针对 Python 3.8+ 的 DLL 加载行为变化进行适配
2026-09-02 20:07:56 +08:00
jxxghp
92e745fc97
refactor(architecture): split chain owners and close runtime boundaries
2026-08-28 22:26:19 +08:00
InfinityPacer
7c81fb357f
fix(plugin): 收敛市场安装与运行态错误处理 ( #6470 )
2026-08-26 18:00:49 +08:00
jxxghp
9dbe424c3d
refactor(config): retire RuntimeSettingsCompat host usage
2026-08-26 15:55:21 +08:00
jxxghp
b914e8b6e4
refactor: strengthen architecture CI gates and runtime contracts
2026-08-25 17:02:29 +08:00
jxxghp
a42d0dc112
refactor: route startup and cli settings through runtime
2026-08-23 03:22:46 +08:00
jxxghp
dd1c4c3279
refactor: unify database readiness lifecycle
2026-08-21 20:07:07 +08:00
jxxghp
bb57b22975
refactor: use factory for supervised uvicorn modes
2026-08-21 19:51:33 +08:00
jxxghp
d89d29612c
refactor: enforce single-worker control plane
2026-08-21 19:40:20 +08:00
InfinityPacer
2b3766e86e
feat: 数据库迁移前自动备份 ( #6360 )
2026-08-19 18:35:56 +08:00
jxxghp
5128ae9e1e
refactor: 推进后端分层架构治理
2026-08-18 00:29:14 +08:00
Aqr-K
8a11214a43
refactor(db): 修复异步连接池无界增长,并完成 SQLAlchemy 2.0 迁移与分层归位 ( #6320 )
2026-08-15 06:58:38 +08:00
jxxghp
369d7d6448
refactor: reorganize backend module boundaries
2026-08-14 19:53:33 +08:00
jxxghp
7b3444c366
refactor backend module architecture
2026-08-14 15:45:38 +08:00
InfinityPacer
a4335fe753
fix(lifecycle): harden application shutdown ( #6125 )
2026-07-16 06:24:31 +08:00
jxxghp
1282ad5004
feat: improve local CLI startup management
2026-04-21 11:26:56 +08:00
jxxghp
6fee532c96
add ai agent
2025-10-18 21:26:36 +08:00
jxxghp
2428d58e93
使用aiofiles实现异步文件操作,提升性能;调整uvicorn工作进程数量。
2025-07-30 07:56:56 +08:00
Aqr-K
2c8d525796
feat: 增加进程名设置
2025-07-05 03:14:54 +08:00
Attente
0f0c3e660b
style: 清理空白字符
...
移除代码中的 trailing whitespace 和空行缩进, 提升代码整洁度
2025-06-29 22:49:58 +08:00
jxxghp
2e5c92ae0c
fix 优雅停止
2025-06-09 13:09:16 +08:00
jxxghp
4ad699dbe6
fix 优雅停止
2025-06-09 13:06:27 +08:00
InfinityPacer
62ac03fb29
refactor(lifecycle): add graceful support and remove signal handling
2024-10-18 00:39:53 +08:00
InfinityPacer
cf4c6b2d40
refactor(app): restructure project to avoid circular imports
2024-09-25 02:20:12 +08:00
InfinityPacer
dea8fc5486
feat(event): optimized event execution flow
2024-09-20 21:45:52 +08:00
InfinityPacer
857383c8d0
feat(event): improve event consumer logic for handling of events
2024-09-20 20:37:29 +08:00
InfinityPacer
d5241a2eb8
chore: Integrate pip-tools and safety, upgrade vulnerable dependencies
2024-08-20 18:52:07 +08:00
jxxghp
1f87bc643a
sync main
2024-08-19 13:06:39 +08:00
jxxghp
0f8c2d3fc9
fix db init
2024-07-20 08:47:26 +08:00
jxxghp
9f34be049d
add monitor
2024-07-03 17:46:35 +08:00
jxxghp
e05c643a6b
add notification link
2024-06-08 10:47:50 +08:00
jxxghp
02c2edc30e
fix WEB页面活动时无法正常停止服务的问题
2024-05-20 11:50:49 +08:00
jxxghp
663e61e3a1
fix message api
2024-05-11 16:24:25 +08:00
jxxghp
8813e84053
feat:DEV模式下插件文件修改后自动重新加载
2024-05-10 13:33:00 +08:00
thsrite
babad5a098
fix 插件多次加载
2024-04-14 11:54:38 +08:00
ljmeng
1ae220c654
集成CookieCloud服务端
2024-03-16 04:48:34 +08:00
jxxghp
639abf67c2
v1.6.0
...
- 全新安装时,超级管理员初始密码为随机生成,并只能在首次启动的后台日志中查看(使用初始密码登录成功后可在设定中修改)。
- 用户密码修改需要同时包含大小写和数字。
- 修复了第三个插件依赖库无法自动安装的问题。
2024-01-19 11:20:30 +08:00
thsrite
a299d786fe
feat 超级管理员初始化密码随机生成 && 修改密码强制要求大写小写数字组合
2024-01-18 11:08:16 +08:00
jxxghp
b4cb9c3fb3
fix
2024-01-07 18:24:13 +08:00
jxxghp
d82ab5d60d
feat:用户认证失败时发送消息提醒
2024-01-07 12:10:51 +08:00
jxxghp
12f5f373b3
fix frozen
2023-11-23 10:59:33 +08:00
jxxghp
b92b0ec149
fix build
2023-11-20 19:54:41 +08:00