altimate-code icon indicating copy to clipboard operation
altimate-code copied to clipboard

29 pre-existing test failures in CI: DuckDB missing, timeout flakiness

Open anandgupta42 opened this issue 8 months ago • 0 comments

Description

The test suite has 29 pre-existing failures:

  • 25 DuckDB driver tests fail because duckdb is a peer dependency not installed in dev
  • 4 tests timeout under parallel load (registry, SSE, DuckDB connections)

Root Causes

  1. duckdb is listed as a peerDependency but not devDependency, so driver tests always fail
  2. bun test in CI uses 5s default timeout instead of the 30s configured in package.json
  3. DuckDB beforeEach creates a new connection per test, causing native binding contention
  4. Mock leakage from dbt-first-execution.test.ts pollutes connections.test.ts DuckDB tests

anandgupta42 avatar Mar 23 '26 20:03 anandgupta42