DatabricksKevin HartmanAnnouncement
Introducing Consort: Test-driven development on a branching database
Summary
Consort is introduced as an open-source agentic development framework for test-driven development on branching Lakebase Postgres databases. It addresses the limitations of mocks, shared staging databases, and risky schema-change ceremonies by bringing integration testing into the inner loop. Its build lane runs red/green/refactor cycles against isolated copy-on-write branches of real data, while versioned migrations keep code and schema changes together and pull-request checks test migrations against fresh branches. Consort organizes work through role-based agents and a deterministic conductor, preserving feature artifacts in dedicated directories and supplying scoped context packages. A VS Code plugin pairs Git and Lakebase branches, while an observability dashboard exposes agent turns and human approval gates; the project is community-supported rather than a bundled platform feature with an SLA.
Context
Traditional development workflows treated the database as a rigid monolith, making real-database testing in the inner loop too expensive and encouraging mocks, shared staging, and cautious schema-change ceremonies. The source presents database branching as a way to move integration testing and regression detection earlier in development.
Approach / What changed
Consort uses Lakebase branching as the foundation for an agentic test-driven build. It separates spec-first design from a build lane, runs tests against live copy-on-write database branches, coordinates specialized roles with a deterministic conductor, stores feature artifacts in dedicated directories, and provides scoped context packages, VS Code integration, observability, and human approval gates.
Takeaways
Copy-on-write branching creates isolated branches of a real database in roughly constant time regardless of data size, allowing destructive tests without affecting other team members.
Versioned migrations let schema changes travel with the code that depends on them; pull-request and merge checks can apply migrations and run the full test suite on fresh branches.
Consort separates role responsibilities: the code-writing role cannot alter tests, while a deterministic conductor routes work, enforces approval gates, and handles conflicts.
Source and freshness
- Source
- databricks.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.