Commit Graph

512 Commits

Author SHA1 Message Date
2569718930@qq.com 382bc99f0c 集成 Turnstile 人机验证 + Cloudflare R2 事件归档 2026-06-16 03:40:47 +08:00
2569718930@qq.com 316540e8f4 修复 ruff E402 和依赖策略测试 2026-06-16 02:09:54 +08:00
2569718930@qq.com 6d7f213cd9 修复 lint 警告及测试 monkeypatch 引用 2026-06-16 02:03:47 +08:00
2569718930@qq.com dca4f2d618 架构重构:拆分 core/ops/DBManager,统一 SQLite 锁,DEB 改进,新增注意力模型
- web/core.py 858→236行,拆出 schemas/middleware/auth/diagnostics
- ops_api.py 2876→4个 domain 模块 (users/payments/health/config)
- DBManager Supabase HTTP 调用提取到 SupabaseAdminClient
- 新增 LockedSQLiteConnection 统一多进程读写锁
- 新增 WeatherCacheManager 替代 12 个独立缓存字典
- METAR 缓存迁移至统一缓存管理器
- analysis_service 提取 _build_intraday_meteorology 到独立模块
- DEB 改进:偏差惩罚、分歧回退、自适应 lookback (MAE ↓12.6%)
- 新增 PyTorch 注意力模型 deb_attention.py (数据积累后启用)
- 新增 torch 到 requirements.lock
2026-06-16 02:00:22 +08:00
2569718930@qq.com ed0447f408 Drop stale observation fields during overlay 2026-06-15 23:32:47 +08:00
2569718930@qq.com 3984e12c44 Clear stale Ankara source fields 2026-06-15 23:25:50 +08:00
2569718930@qq.com 5075cf40b8 Fix Ankara stale chart date overlay 2026-06-15 23:12:56 +08:00
2569718930@qq.com fd9d768c6d Fix Ankara MGM observation freshness 2026-06-15 22:47:13 +08:00
2569718930@qq.com 55cfb202da Label Turkey station observations as MGM 2026-06-15 21:02:44 +08:00
2569718930@qq.com 95b55d4ab3 Replace stale runway history on raw backfill 2026-06-15 20:49:37 +08:00
2569718930@qq.com 07e28481e8 Require recent runway history coverage 2026-06-15 20:40:57 +08:00
2569718930@qq.com 383011f9fe Filter runway history by observation time 2026-06-15 20:20:31 +08:00
2569718930@qq.com 7443383720 Avoid raw runway history rebuild on hot path 2026-06-15 20:08:13 +08:00
2569718930@qq.com 9e91e8576c Avoid repeated runway history copies 2026-06-15 19:58:04 +08:00
2569718930@qq.com 7a9573c214 Build runway history from raw observations 2026-06-15 19:35:17 +08:00
2569718930@qq.com 791b2d115f Backfill runway history from latest AMSC overlay 2026-06-15 19:20:22 +08:00
2569718930@qq.com 56f397bb2e Persist AMSC runway history from collector 2026-06-15 18:59:41 +08:00
2569718930@qq.com 05a36f857b Preserve runway history during chart refresh 2026-06-15 18:47:25 +08:00
2569718930@qq.com 3f8ae44149 Accept entitlement token as service bearer 2026-06-15 18:17:38 +08:00
2569718930@qq.com 6b9caf8dc2 Stabilize AMSC chart detail overlays 2026-06-15 03:13:08 +08:00
2569718930@qq.com c79e0f36cc Improve scan terminal freshness and AMSC overlay consistency 2026-06-15 01:39:19 +08:00
2569718930@qq.com 717786b1d8 Align stored AMSC payload timestamps 2026-06-15 01:11:26 +08:00
2569718930@qq.com f98ab4a9fe Prefer AMSC sessionId over stale cookie 2026-06-15 00:57:10 +08:00
2569718930@qq.com 59f19407cb Use latest AMSC runway timestamp for overlays 2026-06-15 00:43:07 +08:00
2569718930@qq.com 8bf7cdd687 Overlay latest AMSC observations in city and Telegram payloads 2026-06-15 00:29:43 +08:00
2569718930@qq.com 3b34ddbf12 Strip Wunderground data from city cache responses 2026-06-14 23:47:25 +08:00
2569718930@qq.com ddca698406 Disable default Wunderground fetching 2026-06-14 23:32:34 +08:00
2569718930@qq.com e909f1f4c9 Remove sync city refresh fetch escape hatch 2026-06-14 23:09:31 +08:00
2569718930@qq.com 7fb82c5eba Stop legacy city refreshes from fetching sources 2026-06-14 22:51:15 +08:00
2569718930@qq.com 8bbe8f74c1 Extract forecast source bundle from collector 2026-06-14 22:27:05 +08:00
2569718930@qq.com 9cb794655b Emit realtime events from canonical updates 2026-06-14 19:51:34 +08:00
2569718930@qq.com 43aeb6047e Select canonical temperature from raw observations 2026-06-14 19:33:09 +08:00
2569718930@qq.com 00b163a8ec Introduce observation source adapters 2026-06-14 19:20:43 +08:00
2569718930@qq.com d0c8d4c11b Track observation source health states 2026-06-14 19:06:03 +08:00
2569718930@qq.com ccc8866229 Stop collector from triggering full weather refreshes 2026-06-14 18:44:49 +08:00
2569718930@qq.com 3e1e06d8e1 Queue stale weather refreshes from user paths 2026-06-14 18:21:53 +08:00
2569718930@qq.com e111031119 Decouple live weather reads from source collection 2026-06-14 17:53:24 +08:00
2569718930@qq.com 56f31c0aa2 Add Telegram webhook command entrypoint 2026-06-14 06:32:58 +08:00
2569718930@qq.com 6142a9cb65 Fix feedback auth for expired users 2026-06-14 04:57:42 +08:00
2569718930@qq.com 25408797f1 Add production cache warmer 2026-06-14 04:23:15 +08:00
2569718930@qq.com e0cbe57071 Add lightweight bot DEB endpoint 2026-06-13 17:57:24 +08:00
2569718930@qq.com 9d120d7215 Restrict observability endpoints to ops admins 2026-06-13 02:35:30 +08:00
2569718930@qq.com be1d93fc09 Reduce detail concurrency for two-core VPS 2026-06-13 02:11:34 +08:00
2569718930@qq.com f0b1b57ae2 Tune production concurrency for small VPS 2026-06-13 01:59:28 +08:00
2569718930@qq.com f115be1fd3 fix chart refresh and bot command surface 2026-06-13 01:34:09 +08:00
2569718930@qq.com 33fbf17c18 support feedback rewards for unbound users 2026-06-12 23:17:34 +08:00
2569718930@qq.com 5fa3fb8999 use lightweight MADIS health probe 2026-06-11 14:29:56 +08:00
2569718930@qq.com 25bd077b25 sync Cloudflare rules and cache scan snapshots 2026-06-10 19:40:54 +08:00
2569718930@qq.com 1494db8e09 maximize Cloudflare edge caching 2026-06-10 19:11:58 +08:00
2569718930@qq.com 081bf9cc05 speed up entitlement auth sync 2026-06-10 16:49:18 +08:00