fix(ci): capability audit 丢掉 Next.js 路由组,公开 URL 不变
Independent Staging Quality Gate / validate (push) Successful in 14m41s
Independent Staging Quality Gate / publish (push) Successful in 40m10s

Gitea run 2697 唯一失败:侧栏把 /chart /ephemeris /reports 移进 app/(secondary)/ 后,_scan_app_routes 把文件夹名写进 app_routes。扫描时丢掉括号段。BUG-753。
This commit is contained in:
jesse-ux
2026-09-16 21:09:24 +08:00
parent 6a843ac6e1
commit 05cf20fb83
5 changed files with 33 additions and 3 deletions
+2
View File
@@ -1595,6 +1595,8 @@ def test_capability_audit_scans_registry_and_local_sources() -> None:
# 原值: 无 'ephemeris'
# 新值: 在 chart 与 home 之间加入 'ephemeris'
# 原因: /ephemeris 是产品入口,_scan_app_routes 已扫到;这是 BUG-143/454 同类遗漏(BUG-713
# 2026-09-16: 四个次级页移进 app/(secondary)/ 后扫描仍必须是公开 URL
# chart / ephemeris / reports,不得出现 '(secondary)/…'BUG-753
'ephemeris',
'home',
'login',