Commit Graph

8 Commits

Author SHA1 Message Date
13436a208a revert a5678de78b
revert chore: 更新二进制文件数据及编译缓存
2025-12-26 11:45:07 +08:00
d75101bb0f Merge pull request 'feat/retry-mechanism' (#1) from feat/retry-mechanism into main
Reviewed-on: #1
2025-12-24 11:07:22 +08:00
auto-bot
b11c39f3bf feat: add async retry mechanism with exponential backoff
- Add app/utils/retry.py with configurable async retry decorator
- Update DeliveryLog model to track attempt_count and latency_seconds
- Apply @http_retry to engine._exec_forward and _exec_notify methods
- Update save_logs to record retry metadata
- Add comprehensive unit tests for retry functionality
- Support configuration via environment variables (RETRY_*)

This improves reliability for downstream HTTP calls by automatically
retrying transient failures with exponential backoff and jitter.
2025-12-24 11:04:41 +08:00
auto-bot
0def77dc30 feat: add /admin/templates/preview endpoint; add preview button to template editor 2025-12-24 10:58:43 +08:00
auto-bot
74b8b8e8ed feat: replace str.format with safe_render; add Pydantic validation to webhook route 2025-12-24 10:53:15 +08:00
auto-bot
ec58508476 feat: add safe_render using Jinja2; add tests 2025-12-24 10:50:34 +08:00
a5678de78b chore: 更新二进制文件数据及编译缓存 2025-12-21 21:13:19 +08:00
2bc7460f1f feat: 初始化Webhook中继系统项目
- 添加FastAPI应用基础结构,包括主入口、路由和模型定义
- 实现Webhook接收端点(/webhook/{namespace})和健康检查(/health)
- 添加管理后台路由和模板,支持端点、目标、渠道和模板管理
- 包含SQLite数据库模型定义和初始化逻辑
- 添加日志记录和统计服务
- 包含Dockerfile和配置示例文件
- 添加项目文档,包括设计、流程图和验收标准
2025-12-21 18:43:12 +08:00