You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Run.getReadable() fetches the whole run (resolveData 'all') just to resolve the encryption key #4645
Run#getEncryptionKey() calls world.runs.get(this.runId) with the default resolveData: 'all', but getEncryptionKeyForRun only reads runId and deploymentId. Every other runs.get in run.ts already passes resolveData: 'none'. On world-vercel the default maps to remoteRefBehavior=resolve, so every getRun(id).getReadable() on a new Run has the server resolve and return the run's input and output before the stream can be read. For runs started with a large input, that cost repeats for every new Run handle that reads a stream.
getForwardedWritableEncryptionKey in serialization.ts makes the same call when it has no deploymentId.
Versions: @workflow/core 5.0.1 and 5.0.0-beta.58, and main at 2d2159e. Same output on all three.
Activity
fix(core): resolve run encryption keys without resolving run payloads (…