mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
feat(enterprise): add data drains for continuous export to S3 / webhook (#4440)
* feat(enterprise): add data drains for continuous export to S3 / webhook * chore(data-drains): regenerate migration on top of staging + bump route baseline Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * docs(data-drains): clarify retention pairing is user-coupled, not enforced Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * fix(data-drains): preserve explicit forcePathStyle=false + reserve x-sim-signature Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * test(data-drains): drift guard ensures every webhook header is reserved Asserts that any header buildHeaders writes is rejected when reused as a custom signatureHeader. Adding a new metadata header without mirroring it into RESERVED_SIGNATURE_HEADER_NAMES now fails CI. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
d517415c77
commit
d721dc3358
@@ -9,8 +9,8 @@ const QUERY_HOOKS_DIR = path.join(ROOT, 'apps/sim/hooks/queries')
|
||||
const SELECTOR_HOOKS_DIR = path.join(ROOT, 'apps/sim/hooks/selectors')
|
||||
|
||||
const BASELINE = {
|
||||
totalRoutes: 727,
|
||||
zodRoutes: 727,
|
||||
totalRoutes: 733,
|
||||
zodRoutes: 733,
|
||||
nonZodRoutes: 0,
|
||||
} as const
|
||||
|
||||
@@ -70,6 +70,7 @@ const INDIRECT_ZOD_ROUTES = new Set([
|
||||
'apps/sim/app/api/cron/cleanup-soft-deletes/route.ts',
|
||||
'apps/sim/app/api/cron/cleanup-stale-executions/route.ts',
|
||||
'apps/sim/app/api/cron/renew-subscriptions/route.ts',
|
||||
'apps/sim/app/api/cron/run-data-drains/route.ts',
|
||||
'apps/sim/app/api/logs/cleanup/route.ts',
|
||||
'apps/sim/app/api/knowledge/connectors/sync/route.ts',
|
||||
'apps/sim/app/api/webhooks/outbox/process/route.ts',
|
||||
|
||||
Reference in New Issue
Block a user