Skip to content

no-cross-app-runtime-fs

FieldValue
IDno-cross-app-runtime-fs
Version1.0.0
Modestatic
LayerStripe
Categorycontract
Severity🔴 blocking
SLA15,000 ms
Depends onnone
Sourcepackages/testing/src/gates/no-cross-app-runtime-fs.gate.ts

What it asserts

apps/* runtime code (app/, lib/, middleware) must not node:fs-read a sibling app's files — they are absent in the isolated serverless bundle. Import build artifacts as modules instead.

Run it locally

bun run gates --gate=no-cross-app-runtime-fs

See also


Generated by apps/design/scripts/generate-gate-pages.ts from the gate's source-of-truth metadata. Edit this page by editing the gate file's description / version / etc.

On this page