Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
8bd2483
fix(macros): keep SAFE_ADD, SAFE_SUB and SAFE_DIV grouped inside surr…
Rodrigo-Palma Sep 17, 2026
76225c6
feat(test): treat model file paths as test selectors (#6061)
tripleaceme Sep 20, 2026
a6ba67d
fix(vscode): scope render tab assertions to the editor tab (#6076)
tripleaceme Sep 22, 2026
df6e3a5
fix(vscode): stop the LSP restarting on unrelated configuration chang…
tripleaceme Sep 24, 2026
9bd35b7
feat(cli): report state backend versions on rollback and info (#6088)
tripleaceme Sep 24, 2026
1e0c859
Chore(deps): Bump @swc/core-linux-x64-gnu from 1.13.2 to 1.16.2 (#6080)
dependabot[bot] Sep 24, 2026
1e8dc95
fix(mssql): skip dbo on drop schema (#6026)
cmgoffena13 Sep 25, 2026
5f1911d
fix(ci): fixing 1.5 dbt tests (#6073)
cmgoffena13 Sep 25, 2026
1da53a1
fix(format): preserve dialect-specific SQL in MODEL/AUDIT/METRIC head…
mday-io Sep 28, 2026
af1dc08
fix(config): parse default_test_connection from yaml (#6103)
manan28025 Sep 28, 2026
263723f
docs: explain which SQLMesh version to use with rollback (#6090)
tripleaceme Sep 29, 2026
3a6fff4
feat: Add IBM Db2 engine adapter (#6030)
hdm-db2-eco-system Oct 1, 2026
271b855
docs(starrocks): note that the StarRocks adapter is a community contr…
yuki-kakegawa Oct 1, 2026
849d6ed
Fix Redshift parenthesized single-column SORTKEY and DISTKEY (#5915)
simen-strand Oct 4, 2026
92e9514
perf: avoid full snapshot mapping in _resolve_table/_resolve_tables (…
mday-io Oct 5, 2026
3e0a5ca
fix(vscode): retry temp directory cleanup in the e2e fixture (#6094)
tripleaceme Oct 6, 2026
00d46ed
fix(clickhouse): strip virtual catalogs from executed queries and ins…
mday-io Oct 6, 2026
d69c262
fix(duckdb): do not cascade table/view drops in DuckLake catalogs (#6…
kingjaiteh Oct 7, 2026
cc8d8b0
fix(fabric): no-op warehouse create when the name already exists (#6041)
cmgoffena13 Oct 12, 2026
7d8cd50
fix(snowflake): look up last modified timestamps in each table's data…
DG47 Oct 14, 2026
7c1e4e4
fix(ci): pendulum workaround no longer needed (#6143)
cmgoffena13 Oct 14, 2026
afec213
fix(databricks): limiting pyarrow version to meet requirements (#6142)
cmgoffena13 Oct 15, 2026
3bd5972
Fix: Propagate terminal worker failures and stop queued DAG work (#6140)
mday-io Oct 15, 2026
d60480e
fix(ci): isolate model-loading fork tests (#6145)
mday-io Oct 15, 2026
3891d65
fix(clickhouse): suppress ON CLUSTER for object DDL in a Replicated d…
mday-io Oct 15, 2026
f180e03
fix(ci): wait for blocking (#6146)
cmgoffena13 Oct 15, 2026
c8fd585
Feat: Add optional per-task context propagation (#6141)
mday-io Oct 16, 2026
02e6551
fix(ci): add download retries on spark image (#6148)
cmgoffena13 Oct 16, 2026
c0026dc
ci: build the e2e virtualenv once per worker and re-enable test-vscod…
tripleaceme Oct 16, 2026
65cb608
fix(vscode): pick the print environment command by shell (#6091)
tripleaceme Oct 20, 2026
25992fa
Chore(deps-dev): Bump web-vitals from 4.2.4 to 6.2.2 (#6082)
dependabot[bot] Oct 20, 2026
45aed93
Chore(deps): Bump apache-arrow from 19.0.1 to 21.2.0 (#6083)
dependabot[bot] Oct 20, 2026
9d8302e
Chore(deps-dev): Bump autoprefixer from 10.4.21 to 10.6.1 (#6104)
dependabot[bot] Oct 20, 2026
c1cc16b
perf: reuse decoded optimized query cache entries (#6015)
fresioAS Oct 21, 2026
d47a7ae
perf: selective snapshot hydration (#6016)
fresioAS Oct 21, 2026
7d834c2
fix(plan): add explainer visit method for PhysicalLayerSchemaCreation…
nkwork9999 Oct 21, 2026
8b9ee0b
fix(migrations): keep still-live dev intervals in v0071 (#5899)
anxkhn Oct 21, 2026
2026750
Fix: render execution_time through a per-test generator instead of pa…
niklasdohmen Oct 21, 2026
f6527ff
fix(dependencies): limit duckdb <2 til we can upgrade (#6158)
cmgoffena13 Oct 21, 2026
a8e3405
Feat: Add optional execution observations (#6051)
mday-io Oct 31, 2026
966e34d
test: assert ClickHouse overwrite SQL (#6149)
mday-io Oct 31, 2026
d42639b
fix(audits): apply condition to the rows checked by z_score and valid…
DG47 Nov 1, 2026
5a09168
chore(db2): bump db2-sqlglot-dialect minimum to 1.1.0 (#6170)
hdm-db2-eco-system Nov 1, 2026
4423ec3
Chore(deps-dev): Bump web-vitals from 6.2.2 to 6.2.3 (#6166)
dependabot[bot] Nov 2, 2026
f187fc0
fix!: pass macros to the last audit in load_multiple_audits (#6120)
markussagens Nov 2, 2026
15ae5a6
fix(audits): accept RFC 9562 UUID versions 6-8 in valid_uuid (#6168)
DG47 Nov 2, 2026
ccf6678
chore(deps): group Storybook packages in Dependabot and hold major bu…
mday-io Nov 2, 2026
c4dbac4
feat(clickhouse): support DataLake catalog source mappings (#6153)
mday-io Nov 2, 2026
3fea21e
fix(tests): stop Windows xdist workers from sharing DuckDB and sushi …
nicksspirit Nov 4, 2026
f0ed98e
fix(metrics): infer measure table for aggregates with ORDER BY (#6192)
mday-io Nov 5, 2026
7975a8d
fix: load materializations during cleanup (#6162)
lafirm Nov 8, 2026
c1f3ce0
docs: clarify that default connections are not merged into gateways (…
tripleaceme Nov 10, 2026
1dcd885
ci: publish with a pip that excludes the compromised eMudhra/emSign C…
mday-io Nov 10, 2026
8c71de8
fix(snowflake): change the clustering key before dropping a clustered…
nicksspirit Nov 10, 2026
d943714
docs: point community Slack links at the Tobiko Data workspace (#6211)
yuki-kakegawa Nov 12, 2026
6bf4fb0
fix(databricks): run U2M OAuth queries concurrently with a shared log…
gabepesco Nov 13, 2026
3df452c
fix(snowflake): compare the bare database name when dropping a catalo…
DG47 Nov 14, 2026
220ef31
fix(console): preserve literal SQL in GitHub plan diffs (#6150)
Vamsi-klu Nov 17, 2026
ec513a7
fix(dbt): return lists and scalars from fromyaml (#6138)
raams95 Nov 17, 2026
54852e7
fix(snowflake): use ALTER ICEBERG TABLE to register column comments o…
sineline Nov 17, 2026
ce817c0
fix(fabric): include default warehouse on listed objects (#6042)
cmgoffena13 Nov 20, 2026
dd16a0f
ci: pin GitHub Actions runners to Ubuntu 24.04 (#6227)
yuki-kakegawa Nov 20, 2026
ee61dec
Merge branch 'main' into fix/safe-sub-parens
mday-io Nov 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,30 @@ updates:
directory: '/'
schedule:
interval: 'weekly'
groups:
# Storybook add-ons declare a peer dependency on the matching `storybook`
# release, so they have to move together. Bump them in a single PR.
storybook:
patterns:
- 'storybook'
- '@storybook/*'
- '@chromatic-com/storybook'
- 'eslint-plugin-storybook'
update-types:
- 'minor'
- 'patch'
ignore:
# A Storybook major upgrade has to be done by hand as one coordinated
# migration (e.g. @storybook/addon-vitest 10 requires vitest 4+), so don't
# open per-package major-bump PRs, which break the Storybook build.
- dependency-name: 'storybook'
update-types: ['version-update:semver-major']
- dependency-name: '@storybook/*'
update-types: ['version-update:semver-major']
- dependency-name: '@chromatic-com/storybook'
update-types: ['version-update:semver-major']
- dependency-name: 'eslint-plugin-storybook'
update-types: ['version-update:semver-major']
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
Expand Down
2 changes: 2 additions & 0 deletions .github/scripts/install-prerequisites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ ENGINE_DEPENDENCIES=""

if [ "$ENGINE" == "spark" ]; then
ENGINE_DEPENDENCIES="default-jdk"
elif [ "$ENGINE" == "db2" ]; then
ENGINE_DEPENDENCIES="libxml2-dev build-essential"
elif [ "$ENGINE" == "fabric" ]; then
echo "Installing Microsoft package repository"

Expand Down
14 changes: 14 additions & 0 deletions .github/scripts/wait-for-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,20 @@ risingwave_ready() {
probe_port 4566
}

db2_ready() {
probe_port 50001

echo "Waiting for Db2 to finish initialising (this can take 2-4 minutes)..."
while true; do
if docker exec db2 su - db2inst1 -c "db2 connect to TESTDB" > /dev/null 2>&1; then
echo "Db2 is accepting connections"
break
fi
echo "Db2 not yet ready; sleeping 15s..."
sleep 15
done
}

echo "Waiting for $ENGINE to be ready..."

READINESS_FUNC="${ENGINE}_ready"
Expand Down
66 changes: 66 additions & 0 deletions .github/workflows/db2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: db2

on:
push:
branches:
- main
paths:
- 'sqlmesh/core/engine_adapter/db2.py'
- 'tests/core/engine_adapter/test_db2.py'
- 'tests/core/engine_adapter/integration/test_integration_db2.py'
- 'tests/core/engine_adapter/integration/docker/compose.db2.yaml'
- '.github/workflows/db2.yaml'
- 'pyproject.toml'
pull_request:
branches:
- main
paths:
- 'sqlmesh/core/engine_adapter/db2.py'
- 'tests/core/engine_adapter/test_db2.py'
- 'tests/core/engine_adapter/integration/test_integration_db2.py'
- 'tests/core/engine_adapter/integration/docker/compose.db2.yaml'
- '.github/workflows/db2.yaml'
- 'pyproject.toml'

concurrency:
group: db2-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true

permissions:
contents: read

# Pin Ubuntu 24.04. ubuntu-latest now resolves to 26.04.
jobs:
db2-test:
runs-on: ubuntu-24.04
timeout-minutes: 25
env:
PYTEST_XDIST_AUTO_NUM_WORKERS: 2
SQLMESH__DISABLE_ANONYMIZED_ANALYTICS: '1'
UV: '1'
steps:
- uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: '3.12'
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Install SQLMesh dev dependencies
run: |
uv venv .venv
source .venv/bin/activate
make install-dev
- name: Install OS-level dependencies
run: ./.github/scripts/install-prerequisites.sh "db2"
- name: Run tests
run: |
source .venv/bin/activate
make db2-test
- name: Upload test results
uses: actions/upload-artifact@v7
if: ${{ !cancelled() }}
with:
name: test-results-docker-db2
path: test-results/
retention-days: 7
3 changes: 2 additions & 1 deletion .github/workflows/dco.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Sanity check
on: [pull_request]

# Pin Ubuntu 24.04. ubuntu-latest now resolves to 26.04.
jobs:
commits_check_job:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
name: Commits Check
steps:
- name: Get PR Commits
Expand Down
50 changes: 34 additions & 16 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@ concurrency:
cancel-in-progress: true
permissions:
contents: read
# ubuntu-latest is Ubuntu 26.04. That image drops Python 3.9, installs OpenJDK 25
# (Spark/Hadoop calls the removed Subject.getSubject), and has no Playwright Chromium.
jobs:
changes:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
python: ${{ steps.filter.outputs.python }}
client: ${{ steps.filter.outputs.client }}
vscode: ${{ steps.filter.outputs.vscode }}
lsp: ${{ steps.filter.outputs.lsp }}
ci: ${{ steps.filter.outputs.ci }}
steps:
- uses: actions/checkout@v7
Expand All @@ -37,6 +40,8 @@ jobs:
- 'web/client/**'
vscode:
- 'vscode/**'
lsp:
- 'sqlmesh/lsp/**'
ci:
- '.github/**'
- 'Makefile'
Expand All @@ -47,7 +52,7 @@ jobs:
if:
needs.changes.outputs.python == 'true' || needs.changes.outputs.ci ==
'true' || github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
UV: '1'
steps:
Expand All @@ -73,7 +78,7 @@ jobs:
if:
needs.changes.outputs.python == 'true' || needs.changes.outputs.ci ==
'true' || github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -147,6 +152,10 @@ jobs:
. ./venv/Scripts/activate
python.exe -m pip install --upgrade pip
make install-dev
- name: Install DuckLake extension
run: |
. ./venv/Scripts/activate
python -c "import duckdb; duckdb.connect().install_extension('ducklake')"
- name: Run fast unit tests
run: |
. ./venv/Scripts/activate
Expand All @@ -166,7 +175,7 @@ jobs:
if:
needs.changes.outputs.python == 'true' || needs.changes.outputs.ci ==
'true' || github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
SQLMESH__DISABLE_ANONYMIZED_ANALYTICS: '1'
UV: '1'
Expand Down Expand Up @@ -195,7 +204,7 @@ jobs:
needs.changes.outputs.client == 'true' || needs.changes.outputs.vscode ==
'true' || needs.changes.outputs.ci == 'true' || github.ref ==
'refs/heads/main'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
Expand All @@ -222,7 +231,7 @@ jobs:
if:
needs.changes.outputs.client == 'true' || needs.changes.outputs.ci ==
'true' || github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
container:
image: mcr.microsoft.com/playwright:v1.54.1-jammy
steps:
Expand Down Expand Up @@ -250,7 +259,7 @@ jobs:
if:
needs.changes.outputs.python == 'true' || needs.changes.outputs.ci ==
'true' || github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 25
strategy:
fail-fast: false
Expand All @@ -264,6 +273,7 @@ jobs:
trino,
spark,
clickhouse,
clickhouse-datalake,
risingwave,
starrocks,
]
Expand All @@ -290,6 +300,9 @@ jobs:
run: |
source .venv/bin/activate
make ${{ matrix.engine }}-test
- name: Stop DataLake services
if: ${{ always() && matrix.engine == 'clickhouse-datalake' }}
run: make clickhouse-datalake-down
- name: Upload test results
uses: actions/upload-artifact@v7
if: ${{ !cancelled() }}
Expand All @@ -301,7 +314,7 @@ jobs:
engine-tests-cloud:
needs: engine-tests-docker
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 25
strategy:
fail-fast: false
Expand Down Expand Up @@ -413,7 +426,7 @@ jobs:
'true' || github.ref == 'refs/heads/main'
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
Expand All @@ -427,10 +440,12 @@ jobs:
- name: Run CI
run: pnpm run ci
test-vscode-e2e:
runs-on:
labels: [ubuntu-2204-8]
# As at 2026-01-12 this job flakes 100% of the time. It needs investigation
if: false
needs: changes
if:
needs.changes.outputs.vscode == 'true' || needs.changes.outputs.lsp ==
'true' || needs.changes.outputs.ci == 'true' || github.ref ==
'refs/heads/main'
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
Expand All @@ -453,7 +468,9 @@ jobs:
source .venv/bin/activate
make install-dev
- name: Install code-server
run: curl -fsSL https://code-server.dev/install.sh | sh
# Pinned so that a code-server release cannot change the editor UI the
# tests drive without the change showing up here first.
run: curl -fsSL https://code-server.dev/install.sh | sh -s -- --version 4.137.0
- name: Install Playwright browsers
working-directory: ./vscode/extension
run: pnpm exec playwright install
Expand All @@ -474,7 +491,7 @@ jobs:
if:
needs.changes.outputs.python == 'true' || needs.changes.outputs.ci ==
'true' || github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -558,7 +575,8 @@ jobs:
run: |
source ../../.venv/bin/activate
sed -i 's/target: in_memory/target: postgres/g' profiles.yml
if [[ $(echo -e "${{ matrix.dbt-version }}\n1.5.0" | sort -V | head -n1) == "${{ matrix.dbt-version }}" ]] && [[ "${{ matrix.dbt-version }}" != "1.5.0" ]]; then
if [[ "${{ matrix.dbt-version }}" == "1.3" ]] || \
[[ "${{ matrix.dbt-version }}" == "1.4" ]]; then
echo "DBT version is ${{ matrix.dbt-version }} (< 1.5.0), removing version parameters..."
sed -i -e 's/, version=1) }}/) }}/g' -e 's/, v=1) }}/) }}/g' models/top_waiters.sql
else
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ on:
- 'v*.*.*'
permissions:
contents: write
# Pin Ubuntu 24.04. ubuntu-latest now resolves to 26.04.
jobs:
ui-build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
Expand All @@ -29,7 +30,7 @@ jobs:

publish:
needs: ui-build
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7
- name: Download UI build artifact
Expand All @@ -40,9 +41,13 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: '3.10'
# 3.13.17+ bundles pip 26.2.2+, which no longer trusts the compromised eMudhra/emSign root CA.
python-version: '3.13'
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Check pip includes the eMudhra/emSign CA removal
run: |
python -c "import sys, pip; v = tuple(int(p) for p in pip.__version__.split('.')[:3]); sys.exit(0 if v >= (26, 2, 2) else f'pip {pip.__version__} predates the eMudhra/emSign CA removal; need >= 26.2.2')"
- name: Install build dependencies
run: pip install build twine setuptools_scm
- name: Publish Python package
Expand All @@ -59,7 +64,7 @@ jobs:
run: unset TWINE_USERNAME TWINE_PASSWORD && make publish-tests

gh-release:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release_extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ on:
description: 'Version to release (e.g., 1.0.0)'
required: true
type: string
# Pin Ubuntu 24.04. ubuntu-latest now resolves to 26.04.
jobs:
release:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v7
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release_shared_js.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ on:
permissions:
id-token: write
contents: read
# Pin Ubuntu 24.04. ubuntu-latest now resolves to 26.04.
jobs:
release:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v7
Expand Down
Loading
Loading