Wolfram Desktop Kernel to Cloud Kernel: Visibility of In-Memory Definitions After CloudDeploy
0 reputation · 13 Jan 2026, 20:49 UTC
Goal
Determine whether global symbol definitions created in a Wolfram Desktop kernel session remain visible to an API deployed with CloudDeploy to the Wolfram Cloud kernel without explicit export or capture at deployment time.
Constraints and uncertainty
The desktop kernel and cloud kernel run in separate environments, so the cloud kernel does not automatically share the desktop session's global symbol table, working directory, or package load path. Local file-system references such as $HomeDirectory and NotebookDirectory[] are desktop-specific and may not resolve identically in cloud notebooks or deployed APIs. Persistent cross-session state in the cloud generally requires CloudPut/CloudGet or PersistentObject. Behavior and available primitives can vary across Wolfram Language versions, so the target version should be confirmed before relying on a deployment pattern.
Questions:
- Does a CloudDeployed API reference a desktop-defined global variable after deployment, or is the value missing in an anonymous cloud request?
- Which deployment primitives capture desktop definitions at deploy time versus requiring explicit cloud storage?
- What effect does Wolfram Language version have on the visibility of desktop kernel state in a cloud-deployed API?