WebHooker/server/lib
RhenCloud 25ebae4ae5
feat(storage): migrate config, dedup and delivery state to D1
- Move oversized queue payloads from KV to R2 (PAYLOAD binding, webhooks/YYYY/MM/DD/*.json, KV queue:payload:* fallback)
- Persist routes/groups to D1 (d1_routes/d1_groups) with memory -> KV -> D1 three-tier cache, seeded from legacy KV config keys
- Move webhook dedup (dedup_keys), delivery state (delivery_state) and message tracking (message_tracking) to D1 via canUseD1 probe with automatic KV fallback
- Batch send_logs inserts (recordSendBatch) and add group_id/ts index
- Add storage-prune scheduled task for expired dedup/state/tracking rows
- Add TTL to invite:group:{id} index and audit all ephemeral KV keys
- Add D1 indexes for the new tables
- Sync AGENTS.md, README.md/zh and docs/ (en/zh) with the new storage layout
2026-08-17 15:01:20 +08:00
..
config feat(config): valibot schemas, schema version, migrations, filter AST 2026-08-15 17:03:42 +08:00
core feat(storage): migrate config, dedup and delivery state to D1 2026-08-17 15:01:20 +08:00
drivers fix(render): link title head to the event object URL 2026-08-15 18:25:23 +08:00
events feat(config): valibot schemas, schema version, migrations, filter AST 2026-08-15 17:03:42 +08:00
formatters fix(push): link branch ref in title as inline code 2026-08-17 00:01:32 +08:00
github feat: migrate to Nuxt 4 (Nitro) and Tailwind CSS v3 2026-08-13 17:43:33 +08:00
lib feat(storage): migrate config, dedup and delivery state to D1 2026-08-17 15:01:20 +08:00
observability chore: auto-fix lint & formatting [skip ci] 2026-08-16 14:47:01 +00:00
providers feat(reliability): idempotency store, custom webhook replay protection, correlation ids 2026-08-15 17:03:32 +08:00
queue feat(storage): migrate config, dedup and delivery state to D1 2026-08-17 15:01:20 +08:00
storage feat(storage): migrate config, dedup and delivery state to D1 2026-08-17 15:01:20 +08:00
web feat(storage): migrate config, dedup and delivery state to D1 2026-08-17 15:01:20 +08:00
cf.ts fix: read raw request + body via h3 context for discord/telegram webhooks 2026-08-13 18:13:55 +08:00
config.ts feat(storage): migrate config, dedup and delivery state to D1 2026-08-17 15:01:20 +08:00
http.ts feat: migrate to Nuxt 4 (Nitro) and Tailwind CSS v3 2026-08-13 17:43:33 +08:00
types.ts feat(storage): migrate config, dedup and delivery state to D1 2026-08-17 15:01:20 +08:00
webhook.ts feat(storage): migrate config, dedup and delivery state to D1 2026-08-17 15:01:20 +08:00