[{"data":1,"prerenderedAt":1607},["ShallowReactive",2],{"navigation_docs":3,"-developers-worker":613,"-developers-worker-surround":1604},[4,39,101,378,540,562,584,606],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":38},"Start","i-lucide-rocket","\u002Fstart","1.start",[10,14,18,22,26,30,34],{"title":11,"path":12,"stem":13},"Our approach","\u002Fstart\u002Four-approach","1.start\u002F0.our-approach",{"title":15,"path":16,"stem":17},"Introduction","\u002Fstart\u002Fintroduction","1.start\u002F1.introduction",{"title":19,"path":20,"stem":21},"Concepts","\u002Fstart\u002Fconcepts","1.start\u002F2.concepts",{"title":23,"path":24,"stem":25},"Glossary","\u002Fstart\u002Fglossary","1.start\u002F3.glossary",{"title":27,"path":28,"stem":29},"Try it locally","\u002Fstart\u002Ftry-it-locally","1.start\u002F4.try-it-locally",{"title":31,"path":32,"stem":33},"Features","\u002Fstart\u002Ffeatures","1.start\u002F5.features",{"title":35,"path":36,"stem":37},"Questions","\u002Fstart\u002Ffaq","1.start\u002F6.faq",false,{"title":40,"icon":41,"path":42,"stem":43,"children":44,"page":38},"Run SHADE","i-lucide-server","\u002Frun","2.run",[45,49,53,57,61,65,69,73,77,81,85,89,93,97],{"title":46,"path":47,"stem":48},"Setting up an instance (Coolify)","\u002Frun\u002Fcoolify","2.run\u002F1.coolify",{"title":50,"path":51,"stem":52},"Console commands","\u002Frun\u002Fconsole","2.run\u002F10.console",{"title":54,"path":55,"stem":56},"Rotating APP_SECRET","\u002Frun\u002Frotating-app-secret","2.run\u002F11.rotating-app-secret",{"title":58,"path":59,"stem":60},"Checking an instance","\u002Frun\u002Fdoctor","2.run\u002F12.doctor",{"title":62,"path":63,"stem":64},"Self-hosting by hand","\u002Frun\u002Fown-server-by-hand","2.run\u002F13.own-server-by-hand",{"title":66,"path":67,"stem":68},"NixOS (experimental)","\u002Frun\u002Fnixos","2.run\u002F14.nixos",{"title":70,"path":71,"stem":72},"Self-hosting without Coolify","\u002Frun\u002Fown-server","2.run\u002F2.own-server",{"title":74,"path":75,"stem":76},"Hosting the site on a static host","\u002Frun\u002Fstatic-hosts","2.run\u002F3.static-hosts",{"title":78,"path":79,"stem":80},"Licence","\u002Frun\u002Flicence","2.run\u002F4.licence",{"title":82,"path":83,"stem":84},"Updating and backups","\u002Frun\u002Fupdating-and-backups","2.run\u002F5.updating-and-backups",{"title":86,"path":87,"stem":88},"Troubleshooting","\u002Frun\u002Ftroubleshooting","2.run\u002F6.troubleshooting",{"title":90,"path":91,"stem":92},"Logs, request ids, traces and metrics","\u002Frun\u002Flogs","2.run\u002F7.logs",{"title":94,"path":95,"stem":96},"Maintenance mode","\u002Frun\u002Fmaintenance-mode","2.run\u002F8.maintenance-mode",{"title":98,"path":99,"stem":100},"Usage limits","\u002Frun\u002Fusage-limits","2.run\u002F9.usage-limits",{"title":102,"icon":103,"path":104,"stem":105,"children":106},"Guide","i-lucide-book-open","\u002Fguide","3.guide",[107,109,147,192,210,280,310,364],{"title":102,"path":104,"stem":108},"3.guide\u002Findex",{"title":110,"icon":111,"path":112,"stem":113,"children":114,"page":38},"Content","i-lucide-file-text","\u002Fguide\u002Fcontent","3.guide\u002F1.content",[115,119,123,127,131,135,139,143],{"title":116,"path":117,"stem":118},"Collections and entries","\u002Fguide\u002Fcontent\u002Fcollections","3.guide\u002F1.content\u002F1.collections",{"title":120,"path":121,"stem":122},"Field types","\u002Fguide\u002Fcontent\u002Ffields","3.guide\u002F1.content\u002F2.fields",{"title":124,"path":125,"stem":126},"Drafts, publishing and version history","\u002Fguide\u002Fcontent\u002Fversions","3.guide\u002F1.content\u002F3.versions",{"title":128,"path":129,"stem":130},"Languages","\u002Fguide\u002Fcontent\u002Flanguages","3.guide\u002F1.content\u002F4.languages",{"title":132,"path":133,"stem":134},"Data sources","\u002Fguide\u002Fcontent\u002Fdata-sources","3.guide\u002F1.content\u002F5.data-sources",{"title":136,"path":137,"stem":138},"Media","\u002Fguide\u002Fcontent\u002Fmedia","3.guide\u002F1.content\u002F6.media",{"title":140,"path":141,"stem":142},"Search","\u002Fguide\u002Fcontent\u002Fsearch","3.guide\u002F1.content\u002F7.search",{"title":144,"path":145,"stem":146},"Trash","\u002Fguide\u002Fcontent\u002Ftrash","3.guide\u002F1.content\u002F8.trash",{"title":148,"icon":149,"path":150,"stem":151,"children":152,"page":38},"Website","i-lucide-globe","\u002Fguide\u002Fwebsite","3.guide\u002F2.website",[153,156,160,164,168,172,176,180,184,188],{"title":148,"path":154,"stem":155},"\u002Fguide\u002Fwebsite\u002Fwebsite","3.guide\u002F2.website\u002F1.website",{"title":157,"path":158,"stem":159},"Scroll scenes","\u002Fguide\u002Fwebsite\u002Fscroll-scenes","3.guide\u002F2.website\u002F10.scroll-scenes",{"title":161,"path":162,"stem":163},"Pages and posts","\u002Fguide\u002Fwebsite\u002Fpages","3.guide\u002F2.website\u002F2.pages",{"title":165,"path":166,"stem":167},"The visual editor","\u002Fguide\u002Fwebsite\u002Fvisual-editor","3.guide\u002F2.website\u002F3.visual-editor",{"title":169,"path":170,"stem":171},"Roles and locks","\u002Fguide\u002Fwebsite\u002Froles-and-locks","3.guide\u002F2.website\u002F4.roles-and-locks",{"title":173,"path":174,"stem":175},"Header and footer","\u002Fguide\u002Fwebsite\u002Fheader-and-footer","3.guide\u002F2.website\u002F5.header-and-footer",{"title":177,"path":178,"stem":179},"Theme","\u002Fguide\u002Fwebsite\u002Ftheme","3.guide\u002F2.website\u002F6.theme",{"title":181,"path":182,"stem":183},"Redirects","\u002Fguide\u002Fwebsite\u002Fredirects","3.guide\u002F2.website\u002F7.redirects",{"title":185,"path":186,"stem":187},"Site settings","\u002Fguide\u002Fwebsite\u002Fsite-settings","3.guide\u002F2.website\u002F8.site-settings",{"title":189,"path":190,"stem":191},"The site","\u002Fguide\u002Fwebsite\u002Fthe-site","3.guide\u002F2.website\u002F9.the-site",{"title":193,"icon":194,"path":195,"stem":196,"children":197,"page":38},"Publishing","i-lucide-send","\u002Fguide\u002Fpublishing","3.guide\u002F3.publishing",[198,202,206],{"title":199,"path":200,"stem":201},"Publishing and preview","\u002Fguide\u002Fpublishing\u002Fpublishing","3.guide\u002F3.publishing\u002F1.publishing",{"title":203,"path":204,"stem":205},"Builds","\u002Fguide\u002Fpublishing\u002Fbuilds","3.guide\u002F3.publishing\u002F2.builds",{"title":207,"path":208,"stem":209},"CDN caches","\u002Fguide\u002Fpublishing\u002Fcaches","3.guide\u002F3.publishing\u002F3.caches",{"title":211,"icon":212,"path":213,"stem":214,"children":215,"page":38},"People, security and privacy","i-lucide-shield","\u002Fguide\u002Fpeople-and-security","3.guide\u002F4.people-and-security",[216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276],{"title":217,"path":218,"stem":219},"People in SHADE","\u002Fguide\u002Fpeople-and-security\u002Fpeople-in-shade","3.guide\u002F4.people-and-security\u002F0.people-in-shade",{"title":221,"path":222,"stem":223},"Team and roles","\u002Fguide\u002Fpeople-and-security\u002Fteam","3.guide\u002F4.people-and-security\u002F1.team",{"title":225,"path":226,"stem":227},"Errors and security alerts","\u002Fguide\u002Fpeople-and-security\u002Ferrors","3.guide\u002F4.people-and-security\u002F10.errors",{"title":229,"path":230,"stem":231},"Exporting an instance","\u002Fguide\u002Fpeople-and-security\u002Fexporting","3.guide\u002F4.people-and-security\u002F11.exporting",{"title":233,"path":234,"stem":235},"Organisations","\u002Fguide\u002Fpeople-and-security\u002Forganisations","3.guide\u002F4.people-and-security\u002F12.organisations",{"title":237,"path":238,"stem":239},"Signing in through an identity provider (team)","\u002Fguide\u002Fpeople-and-security\u002Fidentity-providers","3.guide\u002F4.people-and-security\u002F13.identity-providers",{"title":241,"path":242,"stem":243},"System status","\u002Fguide\u002Fpeople-and-security\u002Fsystem-status","3.guide\u002F4.people-and-security\u002F14.system-status",{"title":245,"path":246,"stem":247},"Appearance","\u002Fguide\u002Fpeople-and-security\u002Fappearance","3.guide\u002F4.people-and-security\u002F15.appearance",{"title":249,"path":250,"stem":251},"Accounts and personal pages","\u002Fguide\u002Fpeople-and-security\u002Faccounts","3.guide\u002F4.people-and-security\u002F2.accounts",{"title":253,"path":254,"stem":255},"Signing in (team)","\u002Fguide\u002Fpeople-and-security\u002Fsign-in","3.guide\u002F4.people-and-security\u002F3.sign-in",{"title":257,"path":258,"stem":259},"API tokens","\u002Fguide\u002Fpeople-and-security\u002Fapi-tokens","3.guide\u002F4.people-and-security\u002F4.api-tokens",{"title":261,"path":262,"stem":263},"Audit log","\u002Fguide\u002Fpeople-and-security\u002Faudit","3.guide\u002F4.people-and-security\u002F5.audit",{"title":265,"path":266,"stem":267},"Request protection","\u002Fguide\u002Fpeople-and-security\u002Fprotection","3.guide\u002F4.people-and-security\u002F6.protection",{"title":269,"path":270,"stem":271},"Personal data per person","\u002Fguide\u002Fpeople-and-security\u002Fprivacy","3.guide\u002F4.people-and-security\u002F7.privacy",{"title":273,"path":274,"stem":275},"Data retention","\u002Fguide\u002Fpeople-and-security\u002Fretention","3.guide\u002F4.people-and-security\u002F8.retention",{"title":277,"path":278,"stem":279},"Consent banner","\u002Fguide\u002Fpeople-and-security\u002Fconsent","3.guide\u002F4.people-and-security\u002F9.consent",{"title":281,"icon":282,"path":283,"stem":284,"children":285,"page":38},"Services","i-lucide-plug","\u002Fguide\u002Fservices","3.guide\u002F5.services",[286,290,294,298,302,306],{"title":287,"path":288,"stem":289},"Email","\u002Fguide\u002Fservices\u002Femail","3.guide\u002F5.services\u002F1.email",{"title":291,"path":292,"stem":293},"Opening hours","\u002Fguide\u002Fservices\u002Fopening-hours","3.guide\u002F5.services\u002F4.opening-hours",{"title":295,"path":296,"stem":297},"Webhooks","\u002Fguide\u002Fservices\u002Fwebhooks","3.guide\u002F5.services\u002F5.webhooks",{"title":299,"path":300,"stem":301},"Locations","\u002Fguide\u002Fservices\u002Flocations","3.guide\u002F5.services\u002F6.locations",{"title":303,"path":304,"stem":305},"VAT rates","\u002Fguide\u002Fservices\u002Fvat-rates","3.guide\u002F5.services\u002F7.vat-rates",{"title":307,"path":308,"stem":309},"Channels","\u002Fguide\u002Fservices\u002Fchannels","3.guide\u002F5.services\u002F8.channels",{"title":311,"icon":312,"path":313,"stem":314,"children":315,"page":38},"InstalledModules","i-lucide-puzzle","\u002Fguide\u002Fmodules","3.guide\u002F6.modules",[316,320,324,328,332,336,340,344,348,352,356,360],{"title":317,"path":318,"stem":319},"Modules","\u002Fguide\u002Fmodules\u002Fmanaging","3.guide\u002F6.modules\u002F1.managing",{"title":321,"path":322,"stem":323},"Dutch services (module)","\u002Fguide\u002Fmodules\u002Fnl","3.guide\u002F6.modules\u002F10.nl",{"title":325,"path":326,"stem":327},"Editorial (module)","\u002Fguide\u002Fmodules\u002Feditorial","3.guide\u002F6.modules\u002F11.editorial",{"title":329,"path":330,"stem":331},"Appointments (module)","\u002Fguide\u002Fmodules\u002Fappointments","3.guide\u002F6.modules\u002F2.appointments",{"title":333,"path":334,"stem":335},"Shop (the commerce module)","\u002Fguide\u002Fmodules\u002Fshop","3.guide\u002F6.modules\u002F3.shop",{"title":337,"path":338,"stem":339},"Untrusted modules","\u002Fguide\u002Fmodules\u002Funtrusted","3.guide\u002F6.modules\u002F4.untrusted",{"title":341,"path":342,"stem":343},"Analytics (module)","\u002Fguide\u002Fmodules\u002Fanalytics","3.guide\u002F6.modules\u002F5.analytics",{"title":345,"path":346,"stem":347},"Error forwarding (module)","\u002Fguide\u002Fmodules\u002Ferror-forwarding","3.guide\u002F6.modules\u002F6.error-forwarding",{"title":349,"path":350,"stem":351},"Client programs","\u002Fguide\u002Fmodules\u002Fprograms","3.guide\u002F6.modules\u002F7.programs",{"title":353,"path":354,"stem":355},"Import and export (module)","\u002Fguide\u002Fmodules\u002Fimport","3.guide\u002F6.modules\u002F8.import",{"title":357,"path":358,"stem":359},"Payments (module)","\u002Fguide\u002Fmodules\u002Fpayments","3.guide\u002F6.modules\u002F8.payments",{"title":361,"path":362,"stem":363},"Forms (module)","\u002Fguide\u002Fmodules\u002Fforms","3.guide\u002F6.modules\u002F9.forms",{"title":365,"icon":366,"path":367,"stem":368,"children":369,"page":38},"AI assistants","i-lucide-bot","\u002Fguide\u002Fai","3.guide\u002F7.ai",[370,374],{"title":371,"path":372,"stem":373},"AI assistants (MCP)","\u002Fguide\u002Fai\u002Fassistants","3.guide\u002F7.ai\u002F1.assistants",{"title":375,"path":376,"stem":377},"Connecting an AI assistant","\u002Fguide\u002Fai\u002Fconnecting","3.guide\u002F7.ai\u002F2.connecting",{"title":379,"icon":380,"path":381,"stem":382,"children":383,"page":38},"Developers","i-lucide-code","\u002Fdevelopers","4.developers",[384,388,392,396,400,404,408,412,416,420,424,428,432,435,489,493,497,501,536],{"title":385,"path":386,"stem":387},"Architecture","\u002Fdevelopers\u002Farchitecture","4.developers\u002F1.architecture",{"title":389,"path":390,"stem":391},"Capabilities","\u002Fdevelopers\u002Fcapabilities","4.developers\u002F10.capabilities",{"title":393,"path":394,"stem":395},"Trust","\u002Fdevelopers\u002Ftrust","4.developers\u002F11.trust",{"title":397,"path":398,"stem":399},"Redis and the ports","\u002Fdevelopers\u002Fredis","4.developers\u002F12.redis",{"title":401,"path":402,"stem":403},"The worker container role","\u002Fdevelopers\u002Fworker","4.developers\u002F13.worker",{"title":405,"path":406,"stem":407},"kv: a module's own key-value storage","\u002Fdevelopers\u002Fkv","4.developers\u002F14.kv",{"title":409,"path":410,"stem":411},"Processes: long-running work on the worker","\u002Fdevelopers\u002Fprocesses","4.developers\u002F15.processes",{"title":413,"path":414,"stem":415},"Network: a module's outgoing calls","\u002Fdevelopers\u002Fnetwork","4.developers\u002F16.network",{"title":417,"path":418,"stem":419},"Realtime","\u002Fdevelopers\u002Frealtime","4.developers\u002F17.realtime",{"title":421,"path":422,"stem":423},"Private files","\u002Fdevelopers\u002Ffiles","4.developers\u002F18.files",{"title":425,"path":426,"stem":427},"Notify","\u002Fdevelopers\u002Fnotify","4.developers\u002F19.notify",{"title":429,"path":430,"stem":431},"Collections","\u002Fdevelopers\u002Fcollections","4.developers\u002F2.collections",{"title":337,"path":433,"stem":434},"\u002Fdevelopers\u002Funtrusted","4.developers\u002F20.untrusted",{"title":436,"icon":312,"path":437,"stem":438,"children":439},"Writing a plugin","\u002Fdevelopers\u002Fmodules","4.developers\u002F3.modules\u002Findex",[440,442,446,450,454,458,462,466,470,473,477,481,485],{"title":441,"path":437,"stem":438},"Writing a module",{"title":443,"path":444,"stem":445},"Module SDK and tooling","\u002Fdevelopers\u002Fmodules\u002Fsdk-and-tooling","4.developers\u002F3.modules\u002F1.sdk-and-tooling",{"title":447,"path":448,"stem":449},"Connecting accounts with OAuth2","\u002Fdevelopers\u002Fmodules\u002Foauth","4.developers\u002F3.modules\u002F10.oauth",{"title":451,"path":452,"stem":453},"Calls between modules","\u002Fdevelopers\u002Fmodules\u002Fcalls-between-modules","4.developers\u002F3.modules\u002F11.calls-between-modules",{"title":455,"path":456,"stem":457},"Experimental parts","\u002Fdevelopers\u002Fmodules\u002Fexperimental-parts","4.developers\u002F3.modules\u002F12.experimental-parts",{"title":459,"path":460,"stem":461},"The manifest","\u002Fdevelopers\u002Fmodules\u002Fmanifest","4.developers\u002F3.modules\u002F2.manifest",{"title":463,"path":464,"stem":465},"Routes","\u002Fdevelopers\u002Fmodules\u002Froutes","4.developers\u002F3.modules\u002F3.routes",{"title":467,"path":468,"stem":469},"Admin screens and the site part","\u002Fdevelopers\u002Fmodules\u002Fadmin-and-site","4.developers\u002F3.modules\u002F4.admin-and-site",{"title":110,"path":471,"stem":472},"\u002Fdevelopers\u002Fmodules\u002Fcontent","4.developers\u002F3.modules\u002F5.content",{"title":474,"path":475,"stem":476},"Background work and services","\u002Fdevelopers\u002Fmodules\u002Fbackground-and-services","4.developers\u002F3.modules\u002F6.background-and-services",{"title":478,"path":479,"stem":480},"SDK reference","\u002Fdevelopers\u002Fmodules\u002Fsdk-reference","4.developers\u002F3.modules\u002F7.sdk-reference",{"title":482,"path":483,"stem":484},"The website module's SDK","\u002Fdevelopers\u002Fmodules\u002Fwebsite-sdk","4.developers\u002F3.modules\u002F8.website-sdk",{"title":486,"path":487,"stem":488},"Incoming webhooks","\u002Fdevelopers\u002Fmodules\u002Fincoming-webhooks","4.developers\u002F3.modules\u002F9.incoming-webhooks",{"title":490,"path":491,"stem":492},"Core and the website module","\u002Fdevelopers\u002Fcore-and-website-module","4.developers\u002F4.core-and-website-module",{"title":494,"path":495,"stem":496},"The API","\u002Fdevelopers\u002Fapi","4.developers\u002F6.api",{"title":498,"path":499,"stem":500},"API reference","\u002Fdevelopers\u002Fapi-reference","4.developers\u002F6.api-reference",{"title":502,"icon":503,"path":504,"stem":505,"children":506},"Sites in other frameworks","i-lucide-layout-template","\u002Fdevelopers\u002Fframeworks","4.developers\u002F7.frameworks\u002Findex",[507,508,512,516,520,524,528,532],{"title":502,"path":504,"stem":505},{"title":509,"path":510,"stem":511},"Accounts: sign-in and modules' routes","\u002Fdevelopers\u002Fframeworks\u002Faccounts","4.developers\u002F7.frameworks\u002F1.accounts",{"title":513,"path":514,"stem":515},"`@shadestack\u002Ftree`","\u002Fdevelopers\u002Fframeworks\u002Ftree","4.developers\u002F7.frameworks\u002F2.tree",{"title":517,"path":518,"stem":519},"Expressions and styles","\u002Fdevelopers\u002Fframeworks\u002Fexpressions-and-styles","4.developers\u002F7.frameworks\u002F3.expressions-and-styles",{"title":521,"path":522,"stem":523},"`@shadestack\u002Frender`","\u002Fdevelopers\u002Fframeworks\u002Frender","4.developers\u002F7.frameworks\u002F4.render",{"title":525,"path":526,"stem":527},"`@shadestack\u002Finteractions`","\u002Fdevelopers\u002Fframeworks\u002Finteractions","4.developers\u002F7.frameworks\u002F5.interactions",{"title":529,"path":530,"stem":531},"`@shadestack\u002Fa11y`","\u002Fdevelopers\u002Fframeworks\u002Fa11y","4.developers\u002F7.frameworks\u002F6.a11y",{"title":533,"path":534,"stem":535},"Your own page for SHADE's links","\u002Fdevelopers\u002Fframeworks\u002Flinks","4.developers\u002F7.frameworks\u002F7.links",{"title":537,"path":538,"stem":539},"Build a client module","\u002Fdevelopers\u002Fclient-module","4.developers\u002F9.client-module",{"title":541,"icon":542,"path":543,"stem":544,"children":545,"page":38},"Security","i-lucide-shield-check","\u002Fsecurity","5.security",[546,550,554,558],{"title":547,"path":548,"stem":549},"Reporting a vulnerability","\u002Fsecurity\u002Freporting","5.security\u002F0.reporting",{"title":551,"path":552,"stem":553},"Security testing","\u002Fsecurity\u002Ftesting","5.security\u002F1.testing",{"title":555,"path":556,"stem":557},"Hardening a production instance","\u002Fsecurity\u002Fhardening","5.security\u002F2.hardening",{"title":559,"path":560,"stem":561},"Manual testing with Kali Linux","\u002Fsecurity\u002Fmanual-testing","5.security\u002F3.manual-testing",{"title":563,"icon":564,"path":565,"stem":566,"children":567,"page":38},"Contributing","i-lucide-git-pull-request","\u002Fcontributing","6.contributing",[568,572,576,580],{"title":569,"path":570,"stem":571},"Reading the code","\u002Fcontributing\u002Freading-the-code","6.contributing\u002F1.reading-the-code",{"title":573,"path":574,"stem":575},"Docs site","\u002Fcontributing\u002Fdocs-site","6.contributing\u002F2.docs-site",{"title":577,"path":578,"stem":579},"Releases","\u002Fcontributing\u002Freleases","6.contributing\u002F3.releases",{"title":581,"path":582,"stem":583},"Load tests","\u002Fcontributing\u002Fload-tests","6.contributing\u002F4.load-tests",{"title":585,"icon":586,"path":587,"stem":588,"children":589,"page":38},"Project","i-lucide-map","\u002Fproject","7.project",[590,594,598,602],{"title":591,"path":592,"stem":593},"Roadmap","\u002Fproject\u002Froadmap","7.project\u002F1.roadmap",{"title":595,"path":596,"stem":597},"Known issues","\u002Fproject\u002Fknown-issues","7.project\u002F2.known-issues",{"title":599,"path":600,"stem":601},"Changelog","\u002Fproject\u002Fchangelog","7.project\u002F3.changelog",{"title":603,"path":604,"stem":605},"Decisions","\u002Fproject\u002Fdecisions","7.project\u002F4.decisions",{"title":607,"path":608,"stem":609,"children":610,"icon":612},"Community","\u002Fcommunity","8.community\u002Findex",[611],{"title":607,"path":608,"stem":609},"i-lucide-users",{"id":614,"title":401,"body":615,"description":1585,"extension":1598,"links":1599,"meta":1600,"navigation":1601,"path":402,"seo":1602,"stem":403,"__hash__":1603},"docs\u002F4.developers\u002F13.worker.md",{"type":616,"value":617,"toc":1584},"minimark",[618,667,729,734,975,979,1004,1108,1113,1152,1241,1244,1264,1268,1279,1352,1356,1420,1424,1469,1478,1482],[619,620,621,622,626,627,630,631,630,634,637,638,641,642,646,647,650,651,654,655,658,659,630,662,666],"p",{},"One image runs in four container roles, chosen by ",[623,624,625],"code",{},"SHADE_API_ROLE",": ",[623,628,629],{},"admin",", ",[623,632,633],{},"public",[623,635,636],{},"worker"," and\n",[623,639,640],{},"all",". The worker container role runs the background work: core's schedules and the modules', and the modules'\nprocesses (",[643,644,645],"a",{"href":410},"Processes","), and the modules' health checks every 5 minutes, as one of core's schedules\n(",[623,648,649],{},"packages.health","). The scheduler keeps how each schedule's last run ended in Redis (",[623,652,653],{},"onRun","), for the modules' health.\nIt also runs queued jobs (form deliveries, email retries, planned notifications, trusted modules' jobs) on the ",[623,656,657],{},"QueueConsumer","\n(",[623,660,661],{},"kernel\u002Fqueue\u002Fconsumer.ts",[643,663,665],{"href":664},"\u002Fdevelopers\u002Fredis#cores-queues","Redis","). \"Worker\" alone always means this\ncontainer role; a Node worker thread is always called a worker thread.",[668,669,670,688,700,719],"ul",{},[671,672,673,677,678,680,681,683,684,687],"li",{},[674,675,676],"strong",{},"No fallback."," The ",[623,679,629],{}," and ",[623,682,633],{}," container roles never run a schedule or a process. An instance split by\ncontainer role runs its schedules and processes on its workers only, and the deployment template\n(",[623,685,686],{},"deploy\u002Fcompose.yml",") always has one.",[671,689,690,695,696,699],{},[674,691,692,694],{},[623,693,640],{}," is for development and the small profile"," (",[623,697,698],{},"deploy\u002Fcompose.small.yml","). It serves everything and runs the\nbackground work in the same process, so it needs no worker.",[671,701,702,711,712,714,715,718],{},[674,703,704,705,680,708],{},"A worker serves only ",[623,706,707],{},"\u002Fhealth",[623,709,710],{},"\u002Fhealth\u002Flive",". ",[623,713,707],{}," is readiness (decision 0004 point 13): 200 only when Redis and\nPostgres answer and its image's migrations are applied, else 503:\n",[623,716,717],{},"{ \"ok\": true, \"role\": \"worker\", \"checks\": { \"redis\": \"up\", \"database\": \"up\", … } }",". It needs no address.",[671,720,721,724,725,728],{},[674,722,723],{},"Several workers may run."," Each due time of a schedule runs on one of them, holding a Redis lease; so does each\nsingleton process, while a ",[623,726,727],{},"per-instance"," process runs on every worker.",[730,731,733],"h2",{"id":732},"where-it-is","Where it is",[735,736,737,750],"table",{},[738,739,740],"thead",{},[741,742,743,747],"tr",{},[744,745,746],"th",{},"Part",[744,748,749],{},"What",[751,752,753,784,798,848,870,887,916,940,961],"tbody",{},[741,754,755,761],{},[756,757,758],"td",{},[623,759,760],{},"apps\u002Fapi\u002Fsrc\u002Fconfig.ts",[756,762,763,765,766,695,769,680,771,773,774,695,777,779,780,783],{},[623,764,625],{},"; ",[623,767,768],{},"runsBackground",[623,770,636],{},[623,772,640],{},"), ",[623,775,776],{},"healthOnly",[623,778,636],{},"); ",[623,781,782],{},"REDIS_PREFIX",".",[741,785,786,791],{},[756,787,788],{},[623,789,790],{},"apps\u002Fapi\u002Fsrc\u002Fserver.ts",[756,792,793,794,797],{},"Starts up as every container role does, then ",[623,795,796],{},"startRoleWork(runtime)",", and stops it before closing on SIGTERM.",[741,799,800,805],{},[756,801,802],{},[623,803,804],{},"apps\u002Fapi\u002Fsrc\u002Fbootstrap\u002Fworker.ts",[756,806,807,626,810,813,814,680,816,630,818,813,821,823,824,711,826,828,829,832,833,836,837,630,840,843,844,847],{},[623,808,809],{},"startRoleWork",[623,811,812],{},"startBackground"," on ",[623,815,636],{},[623,817,640],{},[623,819,820],{},"watchForWorker",[623,822,629],{},", nothing on ",[623,825,633],{},[623,827,812],{}," writes the heartbeat, runs ",[623,830,831],{},"backgroundSchedules(runtime)"," on a ",[623,834,835],{},"Scheduler"," and starts the processes (",[623,838,839],{},"startProcesses",[623,841,842],{},"bootstrap\u002Fprocesses.ts",") with the thread entry ",[623,845,846],{},"server.ts"," passes.",[741,849,850,861],{},[756,851,852,630,855,630,858],{},[623,853,854],{},"shade\u002Fkernel\u002Fprocesses\u002Fsupervisor.ts",[623,856,857],{},"apps\u002Fapi\u002Fsrc\u002Fthreads\u002Fthread-factory.ts",[623,859,860],{},"apps\u002Fapi\u002Fsrc\u002Fthreads\u002Fprocess-thread.ts",[756,862,863,864,867,868,783],{},"The modules' processes: ",[623,865,866],{},"ProcessSupervisor",", the worker threads and their entry. See ",[643,869,645],{"href":410},[741,871,872,880],{},[756,873,874,630,877],{},[623,875,876],{},"apps\u002Fapi\u002Fsrc\u002Fbootstrap\u002Fapp.ts",[623,878,879],{},"routes\u002Fweb.ts",[756,881,882,883,886],{},"The worker's app: ",[623,884,885],{},"healthRoute"," only.",[741,888,889,894],{},[756,890,891],{},[623,892,893],{},"shade\u002Fkernel\u002Fschedules\u002Fscheduler.ts",[756,895,896,695,898,630,901,773,904,630,907,630,910,630,913,783],{},[623,897,835],{},[623,899,900],{},"start(schedules)",[623,902,903],{},"stop()",[623,905,906],{},"dueTime",[623,908,909],{},"dueMarkTtl",[623,911,912],{},"SCHEDULE_LEASE_TTL_MS",[623,914,915],{},"CRON_RECHECK_MS",[741,917,918,923],{},[756,919,920],{},[623,921,922],{},"shade\u002Fkernel\u002Fschedules\u002Fcron.ts",[756,924,925,928,929,932,933,936,937,783],{},[623,926,927],{},"parseCron(expr)"," (five fields, plain refusals), ",[623,930,931],{},"nextRun(cron, timeZone, after)"," through ",[623,934,935],{},"croner"," 11.0.0 with the clock-change rules, ",[623,938,939],{},"timeZoneProblem",[741,941,942,947],{},[756,943,944],{},[623,945,946],{},"shade\u002Ffeatures\u002Ferrors\u002Fserver\u002Fbackground.ts",[756,948,949,950,630,953,956,957,960],{},"The heartbeat: ",[623,951,952],{},"writeWorkerHeartbeat",[623,954,955],{},"backgroundWorkStatus"," (the admin's question), ",[623,958,959],{},"reportMissingWorker"," (the error log).",[741,962,963,968],{},[756,964,965],{},[623,966,967],{},"apps\u002Fadmin\u002Fapp\u002Fcomponents\u002FBackgroundWorkAlert.vue",[756,969,970,971,974],{},"The admin's error on every screen (mounted in ",[623,972,973],{},"layouts\u002Fdefault.vue",").",[730,976,978],{"id":977},"schedules","Schedules",[619,980,981,982,630,985,988,989,992,993,996,997,999,1000,1003],{},"Core's schedules (retention, kv's and files' purges, notifications, email retries, left-behind media files, the status\nrows of workers gone for a day, the security alerts; each registered by its feature with\n",[623,983,984],{},"registerCoreSchedule",[623,986,987],{},"kernel\u002Fschedules\u002Fregistry.ts",", and built for the worker by ",[623,990,991],{},"coreSchedules",") and the\nmodules' (",[623,994,995],{},"schedules: [{ name, intervalMs | cron, timeZone?, run(ctx, signal) }]",") run on the kernel's ",[623,998,835],{},". It keeps what\n",[623,1001,1002],{},"startSchedules"," did before and adds what several workers need:",[668,1005,1006,1015,1029,1039,1049,1055,1077,1087],{},[671,1007,1008,1011,1012,1014],{},[674,1009,1010],{},"Due times."," A schedule is due at the multiples of its interval since the epoch (",[623,1013,906],{},"), the same moment on\nevery worker: an hourly schedule at the top of each hour. Before, each process counted its interval from its own start.",[671,1016,1017,1020,1021,1024,1025,1028],{},[674,1018,1019],{},"One worker per due time."," Each due time takes ",[623,1022,1023],{},"once:schedule:\u003Cname>:\u003Cdue>"," on Redis (",[623,1026,1027],{},"Leases.once",", SET NX PX), so\none worker runs it and the others skip it. The mark lives twice the interval, at least a minute and at most a day.",[671,1030,1031,1034,1035,1038],{},[674,1032,1033],{},"A lease per run."," The run then holds ",[623,1036,1037],{},"lease:schedule:\u003Cname>"," (30 seconds, renewed every 10). A lease still held by\nthe previous run, here or on another worker, skips this due time: a run never overlaps itself.",[671,1040,1041,1044,1045,1048],{},[674,1042,1043],{},"A lost lease aborts."," When a renewal fails (Redis lost the lease, or does not answer), the run's ",[623,1046,1047],{},"signal"," aborts.\nEach run is one transaction, checked against the signal before it commits, so a run that lost its lease commits\nnothing, even when it ignores the signal. This replaced the Postgres advisory lock.",[671,1050,1051,1054],{},[674,1052,1053],{},"Missed due times"," (no worker ran) are not caught up: the next one runs.",[671,1056,1057,1060,1061,1064,1065,1068,1069,1072,1073,1076],{},[674,1058,1059],{},"The module's own actor."," A module's schedule runs with ",[623,1062,1063],{},"asModule",", whatever the context factory gives;\ncore's run as the system actor, ",[623,1066,1067],{},"system: \u003Cschedule>",", which holds only the modules' ",[623,1070,1071],{},"system"," grants. A module that\nis off skips its due times, and so does a module whose optional ",[623,1074,1075],{},"schedule"," capability is off.",[671,1078,1079,1082,1083,1086],{},[674,1080,1081],{},"Errors"," go to the error log (",[623,1084,1085],{},"source: 'job'",", with the module) and never stop the worker.",[671,1088,1089,1092,1093,1095,1096,1099,1100,1103,1104,1107],{},[674,1090,1091],{},"Stopping."," ",[623,1094,903],{}," starts no new run and gives the runs in progress the stop deadline less five seconds\n(",[623,1097,1098],{},"SHADE_STOP_GRACE_MS",", 30 seconds by default on the worker, so 25); then their signal aborts and they roll back. Every role stops\nthe same way (",[623,1101,1102],{},"bootstrap\u002Fshutdown.ts","); the template's ",[623,1105,1106],{},"stop_grace_period"," is 40 seconds.",[1109,1110,1112],"h3",{"id":1111},"cron-schedules","Cron schedules",[619,1114,1115,1116,1119,1120,1123,1124,658,1127,1131,1132,1135,1136,630,1139,1141,1142,1145,1146,1148,1149,974],{},"A module's schedule may give ",[623,1117,1118],{},"cron"," (five fields) and a ",[623,1121,1122],{},"timeZone"," instead of ",[623,1125,1126],{},"intervalMs",[643,1128,1130],{"href":1129},"\u002Fdevelopers\u002Fmodules\u002Fbackground-and-services#schedules","Modules: schedules","); the loader checks both when the module loads (",[623,1133,1134],{},"scheduleTimingProblems",",\n",[623,1137,1138],{},"parseCron",[623,1140,939],{},"), and ",[623,1143,1144],{},"backgroundSchedules"," hands the ",[623,1147,835],{}," the parsed expression\n(",[623,1150,1151],{},"timing: { cron, timeZone }",[668,1153,1154,1183,1200,1209],{},[671,1155,1156,1092,1158,695,1160,1163,1164,1166,1167,1170,1171,711,1174,1176,1177,1179,1180,1182],{},[674,1157,1010],{},[623,1159,931],{},[623,1161,1162],{},"kernel\u002Fschedules\u002Fcron.ts",") asks ",[623,1165,935],{}," 11.0.0 for the next time\nafter ",[623,1168,1169],{},"after"," in the time zone, through ",[623,1172,1173],{},"Intl",[623,1175,935],{}," only works the time out; the ",[623,1178,835],{}," decides who runs.\nEvery worker works out the same times, so the due-time marks (",[623,1181,1023],{},", the due time in\nmilliseconds, kept twice the gap to the next due time, at least a minute and at most a day), the lease, the skip\nwhile running and the abort are the interval schedules'.",[671,1184,1185,1188,1189,1191,1192,1195,1196,1199],{},[674,1186,1187],{},"The time zone."," The schedule's own, else the site's (",[623,1190,1122],{}," in the site settings, ",[623,1193,1194],{},"Runtime.siteTimeZone()",",\nkept in memory and read again on a ",[623,1197,1198],{},"site"," message, which a change of the setting sends, and every 60 seconds).",[671,1201,1202,1205,1206,1208],{},[674,1203,1204],{},"The timer."," A cron schedule's timer wakes at its due time or after a minute (",[623,1207,915],{},"), whichever comes\nfirst, and works the next due time out again from where it last looked. So a change of the site's time zone applies\nfrom the next due time on (a due time it moved into the past is not run), and a yearly schedule never overflows a\nNode timer. Several due times missed at once (a worker that was stopped) run once, the latest.",[671,1210,1211,1214,1215,1217,1218,1221,1222,1225,1226,1228,1229,1232,1233,1235,1236,680,1238,1240],{},[674,1212,1213],{},"The clock changes."," In the autumn a time that occurs twice runs once, the first time. ",[623,1216,935],{}," does this itself\nfor an expression with one hour and one minute, but runs others (",[623,1219,1220],{},"*\u002F30 2 * * *",") on both occurrences, so ",[623,1223,1224],{},"nextRun","\nskips the second time around, and keeps the first when the search starts inside the repeated hour. In the spring a\ntime that doesn't exist runs at the first minute after the jump. ",[623,1227,935],{}," does this for one hour and one minute\n(02:30 runs at 03:00), but skips others (",[623,1230,1231],{},"10,40 * * * *"," from 01:40 to 03:10), so ",[623,1234,1224],{}," looks for a matching\nminute inside each jump between ",[623,1237,1169],{},[623,1239,935],{},"'s answer and runs at the jump instead. Several matching minutes\nin one jump are one run.",[730,1242,645],{"id":1243},"processes",[619,1245,1246,1247,1249,1250,1253,1254,1257,1258,1261,1262,783],{},"The worker runs the trusted modules' processes on the kernel's ",[623,1248,866],{},", each in a worker thread of its own\nwith a heap limit and a heartbeat, restarted with backoff, a singleton on a Redis lease. It follows the ",[623,1251,1252],{},"plugins","\nchannel: a module switched on or off, an optional ",[623,1255,1256],{},"process"," capability, an admin's Restart. On a graceful stop it\nstops every process within its stop timeout, inside the 40-second stop grace. ",[623,1259,1260],{},"SHADE_PROCESSES_MEMORY_MB"," (192 by\ndefault) is what its processes' heaps may take together. See ",[643,1263,645],{"href":410},[730,1265,1267],{"id":1266},"the-heartbeat-and-the-admins-error","The heartbeat and the admin's error",[619,1269,1270,1271,1274,1275,1278],{},"Each worker writes its heartbeat at start and every 10 seconds: the cache key ",[623,1272,1273],{},"worker:heartbeat"," (on Redis\n",[623,1276,1277],{},"shade:cache:worker:heartbeat","), holding which worker wrote it and when, for a day. Every worker writes the same key, so\none worker of several is enough.",[668,1280,1281,1311,1326],{},[671,1282,1283,1286,1287,1289,1290,1293,1294,1297,1298,680,1301,1303,1304,1306,1307,1310],{},[623,1284,1285],{},"GET \u002Fapi\u002Fhealth\u002Fworker"," (any signed-in team member, ",[623,1288,955],{},") answers ",[623,1291,1292],{},"{ running }",": false when no\nheartbeat came in for two minutes. Admins (",[623,1295,1296],{},"errors.read",") also get ",[623,1299,1300],{},"lastSeenAt",[623,1302,636],{},". On ",[623,1305,640],{}," it is always\n",[623,1308,1309],{},"{ running: true }",": that process runs the work itself.",[671,1312,1313,1314,1318,1319,1322,1323,974],{},"The admin shell asks every minute and shows ",[1315,1316,1317],"em",{},"Background work is not running: no worker container answers"," in the\ncorner of every screen while ",[623,1320,1321],{},"running"," is false, in English and Dutch (",[623,1324,1325],{},"app.backgroundWork.*",[671,1327,1328,1329,1331,1332,1334,1335,1338,1339,1342,1343,1346,1347,813,1349,974],{},"Each ",[623,1330,629],{}," container checks every minute, from two minutes after its start (",[623,1333,820],{},"). While no heartbeat\ncame in for two minutes it records the same message in the error log (",[623,1336,1337],{},"NoWorker",", source ",[623,1340,1341],{},"api",", scope\n",[623,1344,1345],{},"background work","), once an hour across the admin containers (",[623,1348,1027],{},[623,1350,1351],{},"worker-missing:\u003Chour>",[730,1353,1355],{"id":1354},"what-stays-in-every-container","What stays in every container",[668,1357,1358,1381,1402,1408],{},[671,1359,1360,1363,1364,1368,1369,1372,1373,630,1376,1378,1379,974],{},[674,1361,1362],{},"The sandbox."," Untrusted modules run in every container role's sandbox, the worker's included, with the 5-second\nre-read of their switch (",[643,1365,1367],{"href":1366},"\u002Fdevelopers\u002Fredis#messages-replacing-polling","Messages replacing polling","). A schedule can cause\nevents (the editorial module's scheduled publish writes the publish events), and untrusted modules hear them on the worker as they do any\nother. Their own schedules (decision 0011 point 20) run on the worker's scheduler beside the trusted modules', each\nrun a call into the module's sandbox (",[623,1370,1371],{},"POST \u002F__shade\u002Fschedules\u002F\u003Cname>","): each reload of the untrusted modules\n(",[623,1374,1375],{},"followUntrustedSchedules",[623,1377,804],{},") takes the schedules of a module switched off or\nremoved off the scheduler, calling off a run under way, before its sandbox stops, and adds those of a module\nswitched on once its sandbox runs (",[643,1380,337],{"href":433},[671,1382,1383,1386,1387,1390,1391,1394,1395,658,1398,974],{},[674,1384,1385],{},"Trusted modules' thread tasks",", in whichever process runs one: the website module's accessibility check in the\nadmin for a team member's publish, in the worker for a scheduled publish of the editorial module. Their thread entry is\n",[623,1388,1389],{},"apps\u002Fapi\u002Fsrc\u002Fthreads\u002Ftask-thread.ts"," (built as ",[623,1392,1393],{},"dist\u002Ftask-thread.mjs","), started by ",[623,1396,1397],{},"threads\u002Ftask-threads.ts",[643,1399,1401],{"href":1400},"\u002Fdevelopers\u002Fmodules\u002Fbackground-and-services#thread-tasks","Thread tasks",[671,1403,1404,1407],{},[674,1405,1406],{},"Following other containers."," Every container follows the module switch, roles, the sandbox, the Site URL and\nrestart requests; a worker restarts when an admin asks for it after installing a server package, and loads the new\nmodules' schedules and processes. The events a process's changes write are\ndelivered from the outbox like any other (decision 0014), to every module that hears them, untrusted ones included.",[671,1409,1410,1413,1414,1416,1417,1419],{},[674,1411,1412],{},"Migrations"," run on ",[623,1415,629],{}," (and ",[623,1418,640],{},") only; the template starts the worker once the admin is healthy.",[730,1421,1423],{"id":1422},"deploying-it","Deploying it",[619,1425,1426,1428,1429,1431,1432,630,1434,1437,1438,1441,1442,1445,1446,1449,1450,1452,1453,1456,1457,637,1460,1462,1463,1466,1467,974],{},[623,1427,686],{}," has the ",[623,1430,636],{}," service: the same image and settings as ",[623,1433,629],{},[623,1435,1436],{},"SHADE_API_ROLE=worker",", no\nport, ",[623,1439,1440],{},"MIGRATE_ON_START=false",", the admin's data volume (the media it cleans up), its server packages unpacked into a\n",[623,1443,1444],{},"tmpfs"," of its own (",[623,1447,1448],{},"MODULE_PACKAGES_DIR=\u002Fapp\u002Fpackages\u002Fmodule-packages",", a folder inside the ",[623,1451,1444],{},", which start-up empties and fills again; so it never empties the admin's), ",[623,1454,1455],{},"stop_grace_period: 40s",", and\nthe same hardening as every API container. ",[643,1458,1459],{"href":47},"Setting up an instance",[643,1461,62],{"href":63}," set it up by hand; ",[623,1464,1465],{},"shade install"," does it for you (",[643,1468,70],{"href":71},[619,1470,1471,1473,1474,1477],{},[623,1472,782],{}," (default ",[623,1475,1476],{},"shade:",") starts every Redis key and channel. An instance has a Redis of its own and keeps the\ndefault; the browser tests' servers share one Redis and set one each, so one server's schedules never take another's\ndue times.",[730,1479,1481],{"id":1480},"tests","Tests",[668,1483,1484,1490,1496,1505,1511,1517,1523,1529,1535,1545,1555,1564,1577],{},[671,1485,1486,1489],{},[623,1487,1488],{},"shade\u002Ftest\u002Fkernel\u002Fschedules\u002Fscheduler.test.ts"," (memory ports, test clock): \"runs a schedule once per due time across\nworkers\", \"skips a tick while the previous run goes on\", \"skips schedules of modules that are off\", \"aborts a run\nwhose lease is lost, and rolls its transaction back\", errors reported, the module's own actor, stopping; and cron\nschedules: \"runs a cron schedule once per due time across workers, in its time zone\", \"runs once on the night the\nclocks go back, and at the jump on the night they go forward\", \"skips a cron due time while the previous run goes\non, and aborts a run whose lease is lost\", \"follows the instance's time zone for a cron schedule that names none,\nfrom the next due time on\".",[671,1491,1492,1495],{},[623,1493,1494],{},"shade\u002Ftest\u002Fkernel\u002Fschedules\u002Fcron.test.ts",": \"finds the next run in Europe\u002FAmsterdam across both clock changes, once each\",\n\"refuses six fields, seconds and unknown names\".",[671,1497,1498,1501,1502,1504],{},[623,1499,1500],{},"shade\u002Ftest\u002Fkernel\u002Fmodules\u002Floader.test.ts",": \"loads a cron schedule with its time zone, and refuses one it cannot read when\nthe module loads\"; an untrusted module's schedules, by interval or cron, load with the ",[623,1503,1075],{}," capability, at most 5.",[671,1506,1507,1510],{},[623,1508,1509],{},"apps\u002Fapi\u002Ftest\u002Fflows\u002Fsandbox-schedules.test.ts",": an untrusted module's schedules end to end, in workerd.",[671,1512,1513,1516],{},[623,1514,1515],{},"shade\u002Ftest\u002Fkernel\u002Fmodules\u002Fcapabilities.test.ts",": \"writes each schedule's line from its declaration: its interval, or its\ncron expression and time zone, and asks again when one changes\".",[671,1518,1519,1522],{},[623,1520,1521],{},"apps\u002Fapi\u002Ftest\u002Fbootstrap\u002Fruntime.messages.test.ts",": \"gives another container a new time zone at once, the one cron schedules\nwithout their own run in\".",[671,1524,1525,1528],{},[623,1526,1527],{},"shade\u002Fkernel\u002Fcoordination\u002Fcontract.ts"," (memory and Redis): \"marks a due time once across holders, until it expires\".",[671,1530,1531,1534],{},[623,1532,1533],{},"apps\u002Fapi\u002Ftest\u002Fsweep\u002Faccess.test.ts",": \"the worker container role serves only \u002Fhealth\", \"runs no schedules or queued\njobs on the admin container role\".",[671,1536,1537,1540,1541,1544],{},[623,1538,1539],{},"apps\u002Fapi\u002Ftest\u002Fbootstrap\u002Fworker.test.ts",": \"shows the admin a clear error when no worker heartbeat has come in for two\nminutes\", \"never shows the error on the all container role, which runs the background work itself\", one worker of\nseveral is enough, and the error log once an hour (",[623,1542,1543],{},"db"," project).",[671,1546,1547,1550,1551,1554],{},[623,1548,1549],{},"apps\u002Fapi\u002Ftest\u002Fbootstrap\u002Fcapture.test.ts",": a schedule that throws is recorded as ",[623,1552,1553],{},"job",", with its module.",[671,1556,1557,1560,1561,1563],{},[623,1558,1559],{},"e2e\u002Ftests\u002Fhealth.spec.ts",": no error on ",[623,1562,640],{},"; the error on every screen, in English and Dutch, for the answer an\nadmin gets without a worker.",[671,1565,1566,1569,1570,1573,1574,1576],{},[623,1567,1568],{},"test\u002Fscripts\u002Fdeploy-template.test.ts",": the template always has a worker, with the same image, database and Redis, no\nport and the stop grace; ",[623,1571,1572],{},"pnpm deploy:smoke"," starts the template without its worker, checks the admin's error, then\nstarts the worker and checks its hardening, its ",[623,1575,707],{},", that it serves nothing else, that it starts its process\nsupervisor and that the processes' thread entry loads in a thread within 64 MB, and that its heartbeat ends the\nerror.",[671,1578,1579,1580,783],{},"Processes: see ",[643,1581,1583],{"href":1582},"\u002Fdevelopers\u002Fprocesses#tests","Processes: tests",{"title":1585,"searchDepth":1586,"depth":1586,"links":1587},"",2,[1588,1589,1593,1594,1595,1596,1597],{"id":732,"depth":1586,"text":733},{"id":977,"depth":1586,"text":978,"children":1590},[1591],{"id":1111,"depth":1592,"text":1112},3,{"id":1243,"depth":1586,"text":645},{"id":1266,"depth":1586,"text":1267},{"id":1354,"depth":1586,"text":1355},{"id":1422,"depth":1586,"text":1423},{"id":1480,"depth":1586,"text":1481},"md",null,{},true,{"title":401,"description":1585},"tDakDcuzG_9mJfhjI2MaFBU0ssADl1ne1BTEQEIONNg",[1605,1606],{"title":397,"path":398,"stem":399,"description":1585,"children":-1},{"title":405,"path":406,"stem":407,"description":1585,"children":-1},1796500154603]