Skip to Content
Configuration & Modes

Configuration and Modes (CLI)

Execution Modes

Test mode: dbsim vs full

ModeHow to selectCharacteristics
dbsim (default)default behaviorOptimized simulation path; enables packed/concurrent execution strategies where eligible.
full--fullSimUses full simulation path with more traditional execution semantics.

Execution strategy: packed vs sequential

StrategyHow to selectCharacteristics
packed (default)default behaviorBatch-oriented execution, best for throughput in org mode.
sequential--sequentialEasier debugging/isolation, lower throughput.

Batch profile: turbo vs eco

ProfileHow to selectCharacteristics
turbo (default)default behaviorPrioritizes parallelization and faster completion.
eco--ecoReduces worker pressure, prioritizes efficiency/stability.

Coverage and Logging Implications

  1. Coverage is enabled by default during test run.
  2. Use --no-coverage to reduce overhead when coverage output is not required.
  3. In org mode, debug log storage limits can block execution; CLI can prompt for cleanup and retry.

Relevant Environment Variables

The most relevant variables for choosing modes:

  • LATDX_SF_INSTALL_METHOD (SOURCE or MANAGED_PKG): controls latdx-sf install strategy. Legacy alias SF_PACKAGE_INSTALL_METHOD is still honored with a deprecation warning.
  • LATDX_SF_SOURCE_PATH=<path>: pin source-install mode to a specific latdx-sf source root.

For the full list of supported environment variables, see environment-variables.md.

Safety Notes

  1. Extension runtime has explicit production-org safety behavior by default.
  2. CLI docs in this repository do not define an equivalent dedicated production-org guard flag; target sandbox/scratch orgs intentionally.
  3. For source-based package install workflows, keep latdx-sf source aligned with required package version expectations.