Files
Nexus/docs/reports/2026-06-09-alerts-schedule-fixes-deploy-verification.md
T
Nexus Agent 9f78207aa2 docs: add agent diff guidance and close deploy verification.
Record .cursorrules rules to avoid full-repo diffs over web/app/assets,
and document production health checks for the alerts/schedule fix batch.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-09 02:52:32 +08:00

1.4 KiB
Raw Blame History

部署验证 — 告警分页 + 调度单次 fire_at2026-06-09

提交: 3864d12(告警每页条数 + fire_at datetime 解析)
生产: https://api.synaglobal.vip

公开健康(SSH → 127.0.0.1:8600 / 外网)

检查项 结果
GET /health ok
外网 https://api.synaglobal.vip/health HTTP 200(经 SSH 侧验证)
容器 nexus-prod-nexus-1 Up, healthy(部署后约 2min

本机直连外网 HTTPS 偶发 curl: (35) SSL connect error;以 SSH 隧道结果为准。

本地集成

.venv/bin/pytest tests/integration/test_schedules.py tests/integration/test_alerts_audit.py -q
# 6 passed

覆盖:告警 stats/分页契约、once 推送调度 fire_at ISO → 201。

生产鉴权 API

生产 .env.prod 未配置 NEXUS_TEST_ADMIN_PASSWORDscripts/prod_health_check.sh 鉴权段自动 SKIP。

待用户浏览器终验(需 admin 登录):

  1. 告警中心 → 每页数目切换 10 / 50 / 100,列表条数与请求一致。
  2. 调度 → 新建 → 文件推送 → 单次 → 选源/服务器 → 保存 → 应 201,无 500。
  3. 可选:删除误建测试调度 e2e-push-cron-test(若仍存在)。

结论

  • 代码与本地测试:通过
  • 生产进程:健康
  • 鉴权业务路径:待用户 UI 终验Agent 侧无生产测试口令)