WebHooker/tests
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
..
__snapshots__ fix(push): link branch ref in title as inline code 2026-08-17 00:01:32 +08:00
fixtures chore(quality): provider fixtures, formatter snapshots, platform contract tests, CI, CodeQL, dependabot 2026-08-15 17:30:51 +08:00
admin-api.test.ts feat(ui): update ui style 2026-08-16 22:46:07 +08:00
admin.test.ts feat(ui): update ui style 2026-08-16 22:46:07 +08:00
audit.test.ts feat: migrate to Nuxt 4 (Nitro) and Tailwind CSS v3 2026-08-13 17:43:33 +08:00
config-store.test.ts feat(storage): migrate config, dedup and delivery state to D1 2026-08-17 15:01:20 +08:00
custom-replay.test.ts feat(reliability): idempotency store, custom webhook replay protection, correlation ids 2026-08-15 17:03:32 +08:00
d1-stores.test.ts feat(storage): migrate config, dedup and delivery state to D1 2026-08-17 15:01:20 +08:00
delivery-metrics.test.ts feat(ui): update ui style 2026-08-16 22:46:07 +08:00
delivery.test.ts feat(queue): async delivery via Cloudflare Queues with retry backoff and DLQ 2026-08-15 17:03:35 +08:00
discord.test.ts feat(ui): update ui style 2026-08-16 22:46:07 +08:00
filter-ast.test.ts feat(config): valibot schemas, schema version, migrations, filter AST 2026-08-15 17:03:42 +08:00
formatter-registry.test.ts refactor(core): message tracker abstraction and formatter plugin registry 2026-08-15 17:03:39 +08:00
formatter-snapshot.test.ts chore(quality): provider fixtures, formatter snapshots, platform contract tests, CI, CodeQL, dependabot 2026-08-15 17:30:51 +08:00
formatter.test.ts chore: auto-fix lint & formatting [skip ci] 2026-08-16 16:02:49 +00:00
groups.test.ts feat: migrate to Nuxt 4 (Nitro) and Tailwind CSS v3 2026-08-13 17:43:33 +08:00
helpers.ts feat: migrate to Nuxt 4 (Nitro) and Tailwind CSS v3 2026-08-13 17:43:33 +08:00
html-to-text.test.ts fix(formatters): strip HTML from comment bodies so bot notifications render cleanly 2026-08-15 17:55:38 +08:00
idempotency.test.ts feat(reliability): idempotency store, custom webhook replay protection, correlation ids 2026-08-15 17:03:32 +08:00
install.test.ts feat(ui): update ui style 2026-08-16 22:46:07 +08:00
invites.test.ts feat(ui): update ui style 2026-08-16 22:46:07 +08:00
message-tracker.test.ts feat(ui): update ui style 2026-08-16 22:46:07 +08:00
payload.test.ts feat(storage): migrate config, dedup and delivery state to D1 2026-08-17 15:01:20 +08:00
platform-contract.test.ts chore(quality): provider fixtures, formatter snapshots, platform contract tests, CI, CodeQL, dependabot 2026-08-15 17:30:51 +08:00
provider-fixtures.test.ts chore(quality): provider fixtures, formatter snapshots, platform contract tests, CI, CodeQL, dependabot 2026-08-15 17:30:51 +08:00
providers.test.ts refactor(push): move commits to description, comparison to changes field 2026-08-16 22:46:11 +08:00
queue-consumer.test.ts feat(ui): update ui style 2026-08-16 22:46:07 +08:00
schema.test.ts feat(config): valibot schemas, schema version, migrations, filter AST 2026-08-15 17:03:42 +08:00
send-log-batch.test.ts feat(storage): migrate config, dedup and delivery state to D1 2026-08-17 15:01:20 +08:00
send-log.test.ts feat: migrate to Nuxt 4 (Nitro) and Tailwind CSS v3 2026-08-13 17:43:33 +08:00
telegram-commands.test.ts feat: migrate to Nuxt 4 (Nitro) and Tailwind CSS v3 2026-08-13 17:43:33 +08:00
telegram.test.ts chore: auto-fix lint & formatting [skip ci] 2026-08-14 00:10:56 +00:00
token-store.test.ts feat: migrate to Nuxt 4 (Nitro) and Tailwind CSS v3 2026-08-13 17:43:33 +08:00
webhook-tenant.test.ts feat(ui): update ui style 2026-08-16 22:46:07 +08:00
webhook.test.ts chore: auto-fix lint & formatting [skip ci] 2026-08-13 12:37:09 +00:00