Repository navigation
fix: Update tzdb to 2026e for the Canadian DST changes (backport #12466 to v1.6) - #12471
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## lts/v1.6 #12471 +/- ##
=============================================
+ Coverage 58.89% 79.19% +20.29%
=============================================
Files 225 482 +257
Lines 17950 97651 +79701
Branches 3664 3667 +3
=============================================
+ Hits 10571 77330 +66759
- Misses 6854 19796 +12942
Partials 525 525
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
… to v1.6) tzdb 2026b-2026e cancel the November 1, 2026 fall-back for America/Vancouver, Edmonton, Inuvik and Winnipeg. The bundled tz databases predated that, so every conversion in these zones after 2026-11-01 was an hour off (e.g. date range bounds in both planners). - moment-timezone 0.5.48 -> 0.6.5 (tzdb 2026e), deduped through `resolutions` so snowflake-sdk no longer loads a 0.5.x copy that takes over `moment.tz` on the shared moment instance. - chrono-tz has no release with 2026 data, so every Rust workspace patches it with the cube-js/chrono-tz fork pinned by rev: 0.10.4 for Tesseract, Cube Store and pg-srv, 0.6.3 for the arrow 13 fork under CubeSQL. - Regression tests for date range bounds, Tesseract QueryDateTime and Cube Store CONVERT_TZ_KSQL. Fixes #12431 (cherry picked from commit b837c02) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
046500d to
10fc87d
Compare
The host refuses the download with 403 Forbidden. `table_partition_split_threshold` generates the file locally, since the location only ever contributed its size. `create_table_with_url` serves the CSV from a listener the test owns, so the HTTP import path stays covered. Test-only part of fe263b9 (#11786); its websocket logging change is not backported. (cherry picked from commit fe263b9) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
🤖 Thanks for merging the 1.6 backport! Could you please cut a 1.6 LTS release containing this fix as soon as possible, including the npm packages and Docker image? The affected Canadian zones will not fall back on November 1, 2026, so we need time to validate and roll out the release before that deadline. We are currently on 1.6.69 and cannot move to 1.7+ yet because of the numeric REST serialization change. Could you share an ETA for the release? Getting this published ahead of November 1 would be greatly appreciated. |
… to v1.4) Backport of #12466 / #12471 to lts/v1.4. tzdb 2026b–2026e cancel the November 1, 2026 fall-back for British Columbia, Alberta, Inuvik (NWT) and Manitoba; with the bundled 2025b data every conversion in America/Vancouver, America/Edmonton, America/Inuvik and America/Winnipeg after 2026-11-01 is an hour off. Fixes #12431 for 1.4. - moment-timezone → ^0.6.5 (resolves to 0.6.6, tzdb 2026f) in schema-compiler, api-gateway and backend-shared, plus a `resolutions` entry in the root and cubejs-docker package.json so snowflake-sdk does not load a 0.5.x copy that replaces moment.tz on the shared moment instance. - `[patch.crates-io]` with the cube-js/chrono-tz fork (0.10.4) pinned by rev in every Rust workspace; Tesseract, Cube Store and pg-srv move to chrono-tz 0.10.4. Drops CubeSQL's unused direct `chrono-tz` 0.6 dependency. - Regression tests for date range bounds, Tesseract QueryDateTime and Cube Store CONVERT_TZ_KSQL. Differences from lts/v1.6: no `rust/cube` workspace here, so the patch goes into `rust/cubesqlplanner/Cargo.toml`; the arrow fork on this branch does not depend on chrono-tz, so the 0.6.3 fork patch is not needed; Cube Store's chrono moves 0.4.20 → 0.4.45 (required by chrono-tz 0.10); the unrelated Cube Store test-fixture changes (local CSV server) are not included. Lockfiles regenerated from lts/v1.4. (cherry picked from commit 26b4813) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Summary
Backport of #12466 to
lts/v1.6. tzdb 2026b–2026e cancel the November 1, 2026 fall-back for British Columbia, Alberta, Inuvik (NWT) and Manitoba; with the bundled 2025b data every conversion inAmerica/Vancouver,America/Edmonton,America/InuvikandAmerica/Winnipegafter 2026-11-01 is an hour off.Fixes #12431 for 1.6.
Changes
Same as #12466:
moment-timezone→^0.6.5in schema-compiler, api-gateway and backend-shared, plus aresolutionsentry in the root andcubejs-dockerpackage.jsonsosnowflake-sdkno longer loads a 0.5.x copy that replacesmoment.tzon the shared moment instance.[patch.crates-io]with the cube-js/chrono-tz fork pinned by rev in every Rust workspace: 0.10.4 for Tesseract, Cube Store (its direct0.8.2is bumped to0.10.4) and pg-srv, 0.6.3 for the arrow 13 fork under CubeSQL. Drops CubeSQL's unused directchrono-tzdependency.QueryDateTimeand Cube StoreCONVERT_TZ_KSQL.Differences from master: the schema-compiler test uses the 1.6 test helpers (
compilers.compiler.compile(),new PostgresQuery(...)); lockfiles are regenerated fromlts/v1.6.Testing
yarn tscis clean;base-query.test(121), backend-sharedtime/timezone, api-gateway date tests pass.snowflake-sdk,moment.tz.dataVersionstays2026e.--lib(1075), pg-srv (35), CubeSQL timestamp/timezone tests, Cube Store streaming tests (18) pass;cubejs-backend-nativebuilds.node:22.23.4-bookworm-slimbase image already ships ICU tzdb 2026e.🤖 Generated with Claude Code