Skip to content
Changelog

Report a bug

Limits

This page lists the limits that Type applies to code automations. Limits can change. If a limit stops your work, tell us.

ItemLimitIf you go over it
One code stage in a live runThe run’s recovery window: 30 minutes by default and at most. Retries of the same stage share the window.Type stops the stage with “QuickJS execution exceeded its deadline; reconcile effects before retrying”.
One code stage in a fixture or test-code4 minutesThe same error.
All fixtures in a deploy4 minutes together. Type runs 4 at a time.”Fixture batch deadline expired”.
Typecheck and graph validation60 seconds eachThe deploy fails.
Deploy10 minutesType stops the deploy.
One sandbox tool call170 secondsThe call fails.
Matcher model call15 secondsThe run fails before your code runs.

There is no separate time limit for a whole run. Each stage has its own deadline.

ItemLimitIf you go over it
Code stages at the same time1 for each automation, for all its subscriptionsOther events wait in a queue.
Stage invocations in one run64, including the entry stageThe run fails with “Automation reached its limit of 64 stage invocations”.
Automatic retries of a failed stage3 by default. The run configuration allows 0 to 10. Type retries only when it can prove that the stage’s code did not start.Recovery records that retries ran out. See Automatic retries and recovery details.
Recovery window30 minutes by default and at most, including retries and the wait for a repair agentNo further automatic attempt for the event.
ItemLimitIf you go over it
Memory1 GiBThe stage fails with “QuickJS execution failed”.
Stack1 MiBThe stage fails with “QuickJS execution failed”.
setTimeout timers running at the same time256The call throws.
setInterval timers running at the same time10The call throws.
Network and filesNo fetch and no file systemfetch fails with “Not supported: fetch has been disabled …”.

These apply to every Type API request from a code stage, for example ctx.tools, ctx.read, ctx.write, and replyInSlackThread.

ItemLimitIf you go over it
Requests in one stage128Later requests fail with “QuickJS API request budget exceeded”.
Requests in progress at the same time8The extra request fails, and it still counts toward the 128.
Action log requests in one stage200 (100 actions), separate from the 128The action fails.
Request body1 MiB (1,048,576 characters)The request fails with “Invalid QuickJS API request”.
Request URL8,192 charactersThe request fails with “Invalid QuickJS API request”.
Response body2 MiBThe request fails with “paginate the request”.
Request timeoutThe rest of the stage’s timeThe request fails.
Effect key1 to 200 characters. Letters, digits, and ._:/-. Starts with a letter or digit.The request fails with “automationEffectKey is invalid”.

In fixtures and test-code, Type answers requests from the recorded responses. The request and concurrency limits are not checked.

ItemLimit
Output, checkpoint, report, summary, action logs, and transition data together2 MiB of UTF-8 JSON
complete() and blocked() valueJSON that matches output. Shares the 2 MiB.
blocked() reason1 to 2,000 characters
ctx.saveCheckpoint() valueJSON. Shares the 2 MiB.
ctx.setVisualization() valueJSON. Shares the 2 MiB.
ctx.setSummary() value1 to 300 characters, after spaces are trimmed

If the result is larger, the stage fails with “QuickJS result exceeds the 2 MiB combined limit for checkpoint, output, visualization and receipts (… bytes)”. Type does not cut the result.

ItemLimit
Stages1 to 32
Stage nameStarts with a lowercase letter, then letters, digits, or _. At most 64 characters. Not constructor, prototype, then, toString, valueOf, hasOwnProperty, isPrototypeOf, propertyIsEnumerable, or toLocaleString.
transitions on one code stageAt most 32, no duplicates
Entry stagesOne for each subscription
Saved settings: subscriptions, event and stage schemas, stage instructions, and webhook adapter definitions together64 KiB of JSON
Typecheck errors shown6,000 characters
ItemLimit
instructions1 to 10,000 characters
toolsAt most 16. Their schemas together must fit in 64 KiB.
Rejected results5. After that, the agent cannot submit again, and the task needs attention.
Reminders when the agent ends without a result2
Time without progress24 hours. Then the task needs attention.
ItemLimit
Actions in one stage100
Action ID1 to 200 characters
Message1 to 2,000 characters
Log (message and data)8 KiB
ItemLimit
Saved report200 elements, 256,000 characters of JSON, 32 levels deep
Report elements, after repeats expand200
Chart points500
Chart series12
Email report images12 chart images, 10 MiB together
ItemLimit
afterSeconds1 to 315,576,000 (10 years)
maxRuns1 to 2,147,483,647
atAn ISO timestamp with Z or an offset
ItemLimit
Files256
Total size1 MiB, including fixtures.json
One file1 MiB
File path1 to 255 characters
type.json64 KiB
.gitignore, .typeignore64 KiB each
name1 to 200 characters, unique in the Space
description2,000 characters
Webhook adapters in a project20
Deploys in progress for each folder1
ItemLimit
Fixtures in fixtures.json20
Fixture name1 to 120 characters, unique in the file
expectedError1 to 2,000 characters
toolResponses128 for each fixture
integrationResponses128 for each fixture
ItemLimit
SubscriptionsAt least 1. All saved settings must fit in 64 KiB.
Subscription keyStarts with a lowercase letter, then letters, digits, _, or -. At most 64 characters.
title1 to 200 characters
descriptionAt most 2,000 characters
Events for each subscription1 to 100, no duplicates
Event name1 to 200 characters
IntervalAt least 60 seconds, a multiple of 60
Stepped schedule2 to 32 steps. Each everySeconds and forSeconds is 60 to 315,576,000, a multiple of 60.
CronAt most one run each minute
Due scheduled runs started in one scheduler pass100 for all of Type
ItemLimit
One event1 MiB
Debounce group100 events or 1 MiB. Type then delivers the group early.
Debounce key1 to 8 unique paths, 16 parts each
quietPeriodMs, maxWaitMs1 ms to 24 hours. maxWaitMs is at least quietPeriodMs.
Batch delivered to an entry stage1 to 100 events
Event schema validation32 levels deep
ItemLimit
Slack eq, contains1 to 40,000 characters
Slack subtypes1 to 50
Slack reactions1 to 100 names, 1 to 100 characters each
GitHub text filters1 to 65,536 characters
GitHub lists1 to 100 items, 1 to 500 characters each
evaluation questions1 to 8
condition, question, and criteria text1 to 2,000 characters
jev questions1 to 32
Model call evidence64 KiB
Model call timeout15 seconds
Reuse of an evaluation result5 minutes
ItemLimit
Incoming body1 MiB
Incoming rate120 requests each minute for each workspace
receive call5 seconds, 32 MiB memory
setup, renew, remove call60 seconds, 32 provider requests
Events for each request100
Fixtures for each adapter2 to 20

See Webhook Adapter API.

ItemLimit
One sandbox tool call170 seconds
exec_command output in one result32 KiB: the first 8 KiB and the last 24 KiB. The result names a log file with the full output.
run_integration_command output16 KiB. Type cuts longer output and says how many bytes it removed.
Sandbox readiness check60 seconds
Sandboxes1 for each run
ItemLimit
Automatic repair sessionsAt most 1 for an eligible code failure. The automation stays paused until a member checks the repair result and enables it.
Time Type waits for a repairThe time left in the recovery window, at most 30 minutes