Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

FreeAgent Engineering 5 min read How-to mediumAdept

How we Use Dagster Automations in our Data Pipeline

FreeAgent's data team, migrating pipelines to Dagster, uses Schedules for assets with no upstream trigger (such as API extracts) and Declarative Automation as the default for everything else. Asset Sensors were evaluated but dropped in favour of declarative conditions configured in dbt .yml metadata, which avoids separate jobs and sensors. The post explains when to use on_missing for partitioned upstreams, on_cron for full-rebuild dependencies, and eager for infrequently updated inputs like dbt seeds. It also covers modifiers such as ignoring missing data, updating older partitions, gating on blocking data-quality checks, and ignoring specific dependencies.

Assumes: Dagster assets and partitionsdbt modelscron expressions

Related posts

  • Orchestrating Success

    Vinted Engineering mediumAdept

    Vinted replaced hand-written, layer-per-task Airflow DAGs with a generator that reads the dbt manifest and unfolds each domain's lineage into one Airflow task per dbt model, so a failing model only blocks its true downstream dependents. Cross-team dependencies are wired automatically through a central Asset Registry that generates ExternalTaskSensors, validates upstream references in CI, and uses completion callbacks to mark already-timed-out sensors as satisfied when late upstream tasks finish. The registry also posts downstream consumers and their Slack channels on PRs that change a model. Standardizing on the generator limits access to Airflow's full operator ecosystem, but it made the Airflow 3 upgrade a single platform change instead of a rewrite of dozens of DAGs.

  • Test Smarter, Not Harder: Risk-Based Data Quality Without Pipeline Paralysis

    Vinted Engineering mediumAdept

    Vinted's finance data team saw strict shift-left dbt tests on carrier invoice sources (CSV, JSON, Parquet, Excel) drive daily pipeline success sharply down as upstream schemas changed. Borrowing the accounting concept of materiality, they classified data quality tests by impact and frequency: high-impact tests (missing invoice amounts, duplicate tracking IDs) stay blocking in the main run, low-impact high-frequency checks run in a separate daily alerting job, and low-impact low-frequency issues go to weekly review. Implementation uses dbt test tags plus --exclude/--select flags, wired through Airflow orchestration. Alerts must also be actionable to avoid alert fatigue and preserve stakeholder trust.

  • A Smarter Way to Deploy Data Pipelines

    Doximity Technology mediumAdept

    Doximity replaced image-rebuild deployments of 900+ Airflow DAGs with a lightweight sync service that pulls DAGs from S3 into a mounted volume, cutting deployment lag from 20–40 minutes to about one minute and removing service restarts. CI publishes DAG archives to S3 along with two YAML files: an append-only project catalog of versions and an Airflow manifest listing the active project versions. The sync service polls the manifest every minute and adds, updates or deletes project DAGs to match it. It runs as a sidecar for the DAG processor and Celery workers, and as an init container that fetches only the relevant project's DAGs for ephemeral Kubernetes executor pods. Keeping metadata in S3 YAML rather than a database keeps the design simple and portable across environments.

  • How Grab built Scarlet: the AI teammate that turns a Slack message into a production data pipeline

    Grab Engineering mediumAdept

    Grab's ADW team rebuilt Scarlet, its Slack-based data-pipeline agent, around a short core prompt plus a versioned library of Markdown skills (platform, routing, repository, workflow) loaded on demand, shrinking the prompt about 25x and letting new teams onboard by adding one reviewed repository skill. Platform tools sit behind two-tool MCP bridges, data-platform actions run under the requester's short-lived token, and sign-in pauses use LangGraph interrupts to resume runs. Scarlet now validates the data its changes produce by comparing CI candidate output against production (schema, counts, keys, nulls, stats, row diffs), with inconclusive treated as failure and verdicts bound to commits. Deterministic scaffolds replaced model guesses for predictable config, and after rollout the merge rate rose from about 50% to over 85% while repositories served grew about fourfold.

  • The Thin Orchestrator: How We Made Our AI Agents More Reliable by Giving the Router Less to Do

    Meta Engineering mediumAdept

    Meta replaced a single all-knowing AI agent for onboarding data columns across its recommendation pipelines with a deliberately thin, deterministic orchestrator: about 1,300 lines that route 20+ workflows to 14 specialized subagents and do no domain reasoning. The single agent hallucinated as its context grew, mixing conventions across subsystems, and an alternative single-agent approach succeeded only 10-20% of the time without per-task prompt engineering. The new design uses a fixed 7-step protocol where only delegation involves LLM reasoning, workflow templates that sequence existing agents as state machines, structurally uniform subagents, and knowledge files loaded at runtime. Column config prep dropped from three to four days by hand to under an hour, and about two-thirds of changes land without significant human edits.

The quest for software engineering knowledge.

Look:
Layout: