setupPerformancesetupPerformance was deferred until action invocation via Convex.setupPerformance().setupPerformance(global)setupPerformance(global) runs unconditionally during UDF runtime setup:global.performanceglobal.performance now exists during import/analysis, not only during action execution. customerWorkflows.tscustomerWorkflows.ts) is failing by importing EffectEffect, ConsoleConsole and SchemaSchema from 4.0.0-beta.664.0.0-beta.66 which internally trigger import-time performance/process clock initialization:As a workaround I split the code importing Effect into the Node runtime ("use node""use node") and it worked.
Join the Discord to ask follow-up questions and connect with the community
Join the Convex Discord! Explore Convex, the backend platform that keeps your app in sync.
16,164 Members
Join