Commit Graph

12 Commits

Author SHA1 Message Date
jxxghp
02fb8953b4 refactor(types): preserve retry and timing decorator contracts 2026-10-16 15:42:50 +08:00
jxxghp
d7db4cfc0b fix(plugin): serialize package swaps with imports (#6939) 2026-10-10 07:42:37 +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
c5a57dbd8c perf(runtime): release idle pool threads' allocator caches
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 17:30:52 +08:00
InfinityPacer
f3622de82e fix: 保持搜索线程任务的请求上下文 (#6451) 2026-08-25 16:06:17 +08:00
jxxghp
41b1460b60 refactor: unify doh executor shutdown 2026-08-24 15:49:19 +08:00
jxxghp
22848eeda2 refactor: unify protected task completion 2026-08-24 03:20:45 +08:00
InfinityPacer
2ac61337b8 fix(async): offload synchronous plugin methods 2026-08-23 15:19:15 +08:00
jxxghp
47f1ff9cb4 feat: propagate request correlation context 2026-08-21 22:08:33 +08:00
jxxghp
8472bcff43 refactor: 收口 V3 分层架构与插件兼容边界 2026-08-18 13:22:02 +08:00
jxxghp
5128ae9e1e refactor: 推进后端分层架构治理 2026-08-18 00:29:14 +08:00
jxxghp
369d7d6448 refactor: reorganize backend module boundaries 2026-08-14 19:53:33 +08:00