Skip to content

ci(drizzle): add informational CI workflow for drizzle-clickhouse#794

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/drizzle-adapter-clickhouse
Draft

ci(drizzle): add informational CI workflow for drizzle-clickhouse#794
Copilot wants to merge 2 commits into
mainfrom
copilot/drizzle-adapter-clickhouse

Conversation

Copilot AI commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Summary

The experimental @clickhouse/drizzle-orm package (Phase 0 / MVP) had no dedicated CI signal, so there was no easy way to see which checks pass and which fail as the adapter evolves. This adds a non-blocking workflow that runs the package's checks and reports per-check status.

  • .github/workflows/drizzle.yml — informational, non-blocking workflow on workflow_dispatch plus pushes/PRs touching packages/drizzle-clickhouse/** or the workflow file. Runs build → typecheck → lint → unit tests across a Node 20/22/24 matrix. Each check uses continue-on-error: true and writes a pass/fail table to the job summary, so it surfaces results without gating PRs. Follows repo conventions (permissions: {}, pinned action SHAs, concurrency cancel-in-progress, fail-fast: false).
  • test:drizzle:unit root npm script — runs the drizzle unit tests in isolation (TEST_MODE=unit vitest run … packages/drizzle-clickhouse), reused by the workflow.

Note: the drizzle unit tests already run in the main tests workflow via node-unit-tests (TEST_MODE=unit); this workflow is a focused, always-visible dashboard rather than a replacement. Dropping continue-on-error and adding an aggregate gate would turn it into a required check if desired.

Checklist

  • A human-readable description of the changes was provided to include in CHANGELOG

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

})

it('refuses to bind null/undefined without an explicit type', () => {
expect(() => compile(sql`SELECT ${null}`)).toThrow(/cannot infer type/i)

it('refuses to bind null/undefined without an explicit type', () => {
expect(() => compile(sql`SELECT ${null}`)).toThrow(/cannot infer type/i)
expect(() => compile(sql`SELECT ${undefined}`)).toThrow(/cannot infer type/i)
@codecov

codecov Bot commented Jun 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copilot AI changed the title Planning drizzle adapter implementation for ClickHouse ci(drizzle): add informational CI workflow for drizzle-clickhouse Jun 3, 2026
Copilot AI requested a review from peter-leonov-ch June 3, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants