True iff this node-runner is running in the local-dev deployment mode. Anything other than the literal value "cloud" is treated as local: this matches dev.sh which defaults DEPLOYMENT_MODE to "local" and the K8s manifests which set it to "cloud" explicitly.
()
| 188 | /// matches dev.sh which defaults DEPLOYMENT_MODE to "local" and the K8s manifests |
| 189 | /// which set it to "cloud" explicitly. |
| 190 | fn is_local_deployment() -> bool { |
| 191 | std::env::var("DEPLOYMENT_MODE").as_deref() != Ok("cloud") |
| 192 | } |
| 193 | |
| 194 | enum ExecOutcome { |
| 195 | Ok { |