fix(auth): 为登录链路增加有界超时
ci / verify (pull_request) Successful in 10m14s

为 PostgreSQL 连接、就绪检查和本地登录设置分层超时,数据库不可用时返回稳定 503 错误码并记录无凭据的连接池统计。

前端登录在 10 秒后取消请求,Nginx 登录精确路由限制上游为 15 秒,同时更新 OpenAPI 和回归测试。

补充开发工具链安全 override,使高危依赖审计保持为零。
This commit is contained in:
2026-07-21 10:57:51 +08:00
parent 4f45f38b8e
commit bc1ff2b62f
11 changed files with 366 additions and 42 deletions
+4 -1
View File
@@ -8,10 +8,13 @@ allowBuilds:
overrides:
'@babel/core@<=7.29.0': 7.29.6
'axios@>=1.0.0 <1.18.0': 1.18.0
'brace-expansion@>=2.0.0 <2.1.2': 2.1.2
'dompurify@<=3.4.10': 3.4.11
'esbuild@>=0.27.3 <0.28.1': 0.28.1
'form-data@>=4.0.0 <4.0.6': 4.0.6
'js-yaml@<3.15.0': 4.1.1
'js-yaml@<3.15.0': 4.3.0
'js-yaml@>=4.0.0 <4.3.0': 4.3.0
'mermaid@>=11.0.0-alpha.1 <=11.14.0': 11.15.0
'minimatch@>=9.0.0 <9.0.7': 9.0.7
'@nx/js>picomatch': 4.0.5