fix(audit): include /ephemeris in the capability-audit route set
BUG-713: the staging quality gate failed because _scan_app_routes found the new ephemeris page and the exact allowlist did not.
This commit is contained in:
@@ -44,6 +44,20 @@
|
||||
|
||||
未改 `jyotish_api_server.py` 行数契约。未删 sidebar 星历入口。未放宽 `dignities` / boundary。
|
||||
|
||||
## 门禁补修(BUG-713)
|
||||
|
||||
Gitea `backend-quality-gate` run `2635`(`a38a9415`)失败:
|
||||
|
||||
`tests/test_api_server_security.py::test_capability_audit_scans_registry_and_local_sources`
|
||||
|
||||
| | |
|
||||
| --- | --- |
|
||||
| 原值 | `app_routes` 在 `chart` 后直接 `home`,无 `ephemeris` |
|
||||
| 新值 | 加入 `'ephemeris'` |
|
||||
| 原因 | `_scan_app_routes` 扫到了 `frontend/src/app/ephemeris/page.tsx`;这是 BUG-454 同类遗漏,不是放宽 |
|
||||
|
||||
门禁数字:`1 failed, 765 passed, 1 skipped`。本条修完后应回到 766 passed。
|
||||
|
||||
## 合入
|
||||
|
||||
`git push origin HEAD:staging`,核对远端 SHA。部署是否追上见推送后的 `/api/health`。
|
||||
|
||||
Reference in New Issue
Block a user