Skip to content

ci(duckdb): add matrix coverage for min and max @duckdb/node-api versions in supported range #15363

@coderabbitai

Description

@coderabbitai

Summary

PR #15361 relaxed the @duckdb/node-api version pin from 1.4.2-r.1 to >=1.4.2-r.1 <1.6.0 to resolve downstream dependency conflicts. To ensure reliability across the full supported window, CI should validate both the minimum and a representative near-maximum version.

Requested by

@Akash504-ai — deferred from #15361 to keep that change minimal.

Tasks

  • Add a CI matrix entry pinning @duckdb/node-api to the minimum version (1.4.2-r.1)
  • Add a CI matrix entry pinning @duckdb/node-api to a representative 1.5.x version (e.g., 1.5.9)
  • Run the full @mastra/duckdb test suite under both pinned versions
  • Confirm existing defensive API handling (closeSync/disconnectSync/close/disconnect, timestamp shape) passes at both bounds
  • Only after both CI jobs pass, consider the compatibility range >=1.4.2-r.1 <1.6.0 validated

Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions