test(ratchet): app.js 上限 8700→8720(桌面版下载语义改动,理由见注释)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m20s
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m20s
This commit is contained in:
1 parent
3389bc4f17
commit
f2f22249bb
1 file changed
+1
-1
@@ -150,7 +150,7 @@ const MAX_SRC_COMPONENT_LINES = 531
|
||||
// ② 同时守「app.js 占总源码 ≤ 40%」(2026-11-12 实测 38.4%)—— app.js 可以涨,
|
||||
// 但必须涨得比 src 慢;功能继续加,占比自然往下走;
|
||||
// ③ Workbench 单函数上限**不动**(3,091)—— 那才是真坏味道的护栏,总量松它不松。
|
||||
const MAX_APP_JS_LINES = 8700
|
||||
const MAX_APP_JS_LINES = 8720 // 2026-11-17 桌面版:下载语义/关闭自动下载/关图库定时清理(+14 行,同步上调)
|
||||
const MAX_APP_JS_SHARE = 0.40
|
||||
|
||||
// ── 历史记账(供回溯,逐条保留)──────────────────────────────────────────────
|
||||
|
||||
Reference in new issue
Block a user