mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
feat(block): Allow wait block to wait up to 30 days (#4331)
* v0.6.29: login improvements, posthog telemetry (#4026) * feat(posthog): Add tracking on mothership abort (#4023) Co-authored-by: Theodore Li <theo@sim.ai> * fix(login): fix captcha headers for manual login (#4025) * fix(signup): fix turnstile key loading * fix(login): fix captcha header passing * Catch user already exists, remove login form captcha * feat(block): Allow wait block to wait up to 30 days * restore ff * Filter out waits from hitl endpoints * Use correct count, filtering out wait blocks * improvement(wait): tighten poll route and pause-manager helpers - Parallelize per-row dispatch with Promise.all - Add status='paused' guard on nextResumeAt rewrite to prevent clobbering concurrent resumes - Extract computeEarliestResumeAt + PauseResumeManager.setNextResumeAt helpers - Use canonical PausePoint type in poll route (drop StoredPausePoint) - Narrow UNIT_TO_MS via as const + WaitUnit guard - Bump LOCK_TTL_SECONDS above route maxDuration - Clearer error when allowedPauseKinds rejects a resume --------- Co-authored-by: Waleed <walif6@gmail.com> Co-authored-by: Siddharth Ganesan <33737564+Sg312@users.noreply.github.com> Co-authored-by: Vikhyath Mondreti <vikhyathvikku@gmail.com>
This commit is contained in:
co-authored by
Waleed
Siddharth Ganesan
Vikhyath Mondreti
parent
1baa58085a
commit
09f4c94b3c
@@ -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: 726,
|
||||
zodRoutes: 726,
|
||||
totalRoutes: 727,
|
||||
zodRoutes: 727,
|
||||
nonZodRoutes: 0,
|
||||
} as const
|
||||
|
||||
@@ -74,6 +74,7 @@ const INDIRECT_ZOD_ROUTES = new Set([
|
||||
'apps/sim/app/api/knowledge/connectors/sync/route.ts',
|
||||
'apps/sim/app/api/webhooks/outbox/process/route.ts',
|
||||
'apps/sim/app/api/webhooks/cleanup/idempotency/route.ts',
|
||||
'apps/sim/app/api/resume/poll/route.ts',
|
||||
// MCP routes that take only auth context (no client-supplied params/query/body).
|
||||
'apps/sim/app/api/mcp/discover/route.ts',
|
||||
'apps/sim/app/api/mcp/tools/stored/route.ts',
|
||||
|
||||
Reference in New Issue
Block a user