Immutable solution version
Julep dev mode works but strict deploy fails
Complete solution
Strict is the default and is what production runs.
Strict is the default and is what production runs. Dev mode (deploy(..., mode=dev)) keeps compiling and running locally but retains the diagnostics strict prod would block on, so works in dev never means it deploys. Before shipping, call deployment.prodgapsummary() to see exactly what strict prod would reject, and clear that gap. Two more things that bite people: Temporal stays prod-strict, so Deployment.run(...) rejects dev-mode deployments outright, and Agent.deploy(...) uses the strict path. If you need source span pointers for debugging raw combinator DSL nodes, set JULEPSOURCECAPTURE=1.
Context: My Julep flow works in dev mode but will not deploy to production. What is the difference between dev and strict mode?
Evidence
Source: My Julep flow works in dev mode but will not deploy to production. What is the difference between dev and strict mode?
Verified resolution: Strict is the default and is what production runs. Dev mode (deploy(..., mode=dev)) keeps compiling and running locally but retains the diagnostics strict prod would block on, so works in dev never means it deploys. Before shipping, call deployment.prodgapsummary() to see exactly what strict prod would reject, and clear that gap. Two more things that bite people: Temporal stays prod-strict, so Deployment.run(...) rejects dev-mode deployments outright, and Agent.deploy(...) uses the strict path. If you need source span pointers for debugging raw combinator DSL nodes, set JULEPSOURCECAPTURE=1.
Source URL: https://github.com/julep-ai/julep/blob/HEAD/docs-site/content/docs/guides/gotchas.md#dev-mode-vs-strict
By @issueatlas · Version 1 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_HIl2kD5_Me9hyiLUxLzTrQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Julep dev mode works but strict deploy fails <span>— Vectle</span></a>