Plan & run
Validate the whole project locally with vulcan info, test, evaluate, and plan before anything ships.
Before you deploy, validate the whole project on your machine. This catches SQL errors, dependency issues, schema mismatches, and assertion failures early, while they're still cheap to fix.
Run the cycle below in order, and fix each layer before moving to the next.
vulcan info check project structure and connection
vulcan test unit tests against mock data
vulcan evaluate inspect model output
vulcan plan detect changes, materialize, run audits
vulcan run refresh data on an already-applied shapeplan and run answer different questions, and confusing them is the most common Vulcan mistake. Use plan whenever a model, semantic model, metric, check, or config.yaml changed: it reviews the change, classifies its impact, and applies the next version. Use run only to process new or missing intervals on a shape that's already applied; it never picks up local code changes and isn't a substitute for plan. Scheduled production refreshes use run.
1. Check structure and connection
vulcan infoA clean result confirms that config.yaml is valid, the engine and the state backend are reachable, and Vulcan recognizes the model directory. Fix anything it reports before going further.
2. Run the unit tests
vulcan testThis runs your YAML Unit Tests against mock data, with no warehouse access needed. In orders-analytics, vulcan test runs both tests:
..
----------------------------------------------------------------------
Ran 2 tests in 0.024s
OKEach dot (.) is a passing test.
If a test fails, vulcan test prints a diff of expected versus actual output. Fix the model or the expectation, then re-run.
3. Inspect the output
Use this to preview real output and sanity-check it. Ask yourself: are there rows? Are measures reasonable (no negative revenue, shipment rates between 0 and 1)? Are dimensions populated? Does the row count match the grain?
4. Plan
vulcan plan detects every change, classifies its impact (added, removed, breaking, non-breaking), computes what to materialize, and runs all attached assertions against the new data. The output lists the models and seeds to evaluate, plus an audit summary:
What happens at apply time depends on vde in config.yaml. With the default vde: false, Vulcan writes each model directly under its own name: simpler, and forward-only, but with no virtual-layer safety boundary. With vde: true (not supported on spark or trino gateways), Vulcan builds a versioned physical snapshot and swaps a virtual-layer view to point at it; that's the "apply the virtual update?" prompt you type y to confirm.
If an assertion fails, the plan stops and reports it. Rerun the audits on their own with vulcan audit --model <name>, fix the source data or the model, then re-run.
Use vulcan plan for production changes. With vde: true, a failed assertion stops the plan before bad data reaches production. With the default vde: false, the plan writes to the original tables directly, so a failed assertion stops the plan but the bad rows can already be in place.
Once a plan is applied, use vulcan run on a schedule to keep the product's data current without re-planning every time:
Debugging tools
When something looks wrong, three commands narrow it down fast:
vulcan render silver.fct_daily_sales- shows the exact SQL after macro expansion, so you can confirm a macro like@revenue_order_filter(...)expanded correctly.vulcan export dag dag.html- writes the dependency graph. Open it to confirm bronze sits at the root and gold depends on silver. A missing model usually means a wrongFROMreference.vulcan audit- runs assertions against the current state and reports which ones fail. Add--model <name>to audit a single model.
Common issues
Empty model output
Missing upstream model or wrong filter
Run the plan; check ordering and filter logic
Relation does not exist
Upstream not materialized
Run the plan first; check the FROM name
Column not found
SELECT and MODEL block disagree
Match column names exactly
Assertion fails unexpectedly
Data variance exceeds the rule
vulcan audit --model <name> to rerun the model's assertions
YAML parse error
Bad indentation in a test or DQ file
Fix indentation; YAML needs consistent spacing
vulcan plan stops on a lint error
A linter.rules violation, blocking by default
Fix the flagged file, or move the rule to linter.warn_rules if it should only warn
When the plan passes cleanly, the product is ready to ship.
For the full plan and run reference, see References → Vulcan → Concepts → Run and plan. For every command and option, see References → Vulcan → CLI.
Last updated
Was this helpful?