Skip to content
Latchkey

How to Validate Orchestrator Config in CI

Parsing config in CI turns a runtime scheduler failure into a fast, obvious pull request failure.

Run dbt parse, yamllint, and orchestrator-specific validators so malformed project or definition files fail before merge.

Steps

  • Run yamllint over config directories.
  • Run dbt parse to compile the project without touching the warehouse.
  • Run the orchestrator validator (for example dagster definitions validate).

Workflow

.github/workflows/ci.yml
steps:
  - uses: actions/checkout@v4
  - run: pip install yamllint dbt-snowflake==1.8.0
  - run: yamllint -d relaxed models/ dbt_project.yml
  - name: Compile dbt project
    run: dbt parse --target ci

Gotchas

  • dbt parse compiles and builds the manifest without running models, so it needs no warehouse write.
  • Use yamllint -d relaxed to avoid failing on cosmetic rules while still catching real syntax errors.

Related guides

Run this faster and cheaper on Latchkey managed runners. Start free →