16 Commits

Author SHA1 Message Date
jxxghp
6c68225a07 ci(startup): 固定冷导入耗时上限为三秒 2026-10-20 20:44:01 +08:00
jxxghp
cdb6560b5f ci: round startup median budgets up to whole seconds 2026-10-20 13:47:44 +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
jxxghp
92e745fc97 refactor(architecture): split chain owners and close runtime boundaries 2026-08-28 22:26:19 +08:00
jxxghp
9bff18739d refactor(runtime): own lifecycle and adapter boundaries 2026-08-28 18:18:07 +08:00
jxxghp
9dbe424c3d refactor(config): retire RuntimeSettingsCompat host usage 2026-08-26 15:55:21 +08:00
InfinityPacer
c727d9c9f1 test: 隔离单测中的站点原生资源 (#6452)
* test: isolate native site resources

* refactor(test): retain sites stub helper contract

* fix(test): preserve sites stub probe imports

---------

Co-authored-by: jxxghp <jxxghp@gmail.com>
2026-08-25 16:26:46 +08:00
jxxghp
259ca16838 test: stabilize hosted startup performance gate 2026-08-24 10:25:12 +08:00
jxxghp
8cbb91ecbe fix(ci): allow cross-platform startup jitter 2026-08-24 00:47:18 +08:00
jxxghp
ba2eb869e2 fix(ci): isolate startup performance resources 2026-08-23 23:42:04 +08:00
jxxghp
9f3be0ea4b refactor: restore architecture governance gates 2026-08-23 20:17:28 +08:00
jxxghp
dd1c4c3279 refactor: unify database readiness lifecycle 2026-08-21 20:07:07 +08:00
jxxghp
37c442b042 refactor: separate semantic architecture baselines 2026-08-21 19:28:31 +08:00
jxxghp
7bc3ea831f refactor: scope architecture baseline operations 2026-08-21 19:21:27 +08:00
jxxghp
5128ae9e1e refactor: 推进后端分层架构治理 2026-08-18 00:29:14 +08:00