Repository navigation
fix: Update tzdb to 2026e for the Canadian DST changes - #12466
Merged
Merged
Conversation
tzdb 2026b-2026e cancel the 2026-11-01 fall-back for America/Vancouver, Edmonton, Inuvik and Winnipeg. The bundled tz databases (moment-timezone, chrono-tz) predate that, so these tests fail until the data is bumped: date range bounds in schema-compiler, QueryDateTime in Tesseract and CONVERT_TZ_KSQL in Cube Store. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
tzdb 2026b-2026e cancel the November 1, 2026 fall-back for America/Vancouver, Edmonton, Inuvik and Winnipeg. moment-timezone 0.5.48 ships 2025b, so date range bounds in these zones after that date were one hour off. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
No chrono-tz release ships 2026 data, so every workspace patches it with the cube-js/chrono-tz fork: branch cube-0.10.4 for direct and arrow 54 users, cube-0.6.3 for the arrow 13 fork under CubeSQL. Also drops CubeSQL's unused direct chrono-tz dependency. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Contributor
|
Claude finished @waralexrom's task in 3m 12s —— View job Changes requested — 1 medium (plausible), 1 low. Review details
Findings
Verified as fine
Not done
Review threadsNo prior threads: the listing returned 0 of my own threads, so none were resolved or re-affirmed. |
snowflake-sdk still pulled moment-timezone 0.5.48. Loading it attaches its own zone registry to the shared moment instance, so after the first Snowflake query every moment.tz call ran on tzdb 2025b again. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #12466 +/- ##
==========================================
+ Coverage 82.79% 82.89% +0.10%
==========================================
Files 525 525
Lines 121596 122095 +499
Branches 5138 5143 +5
==========================================
+ Hits 100672 101214 +542
+ Misses 20155 20111 -44
- Partials 769 770 +1
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:
|
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Contributor
|
Claude finished @waralexrom's task in 2m 7s —— View job LGTM — 0 issues. Both earlier threads are fixed and resolved. Review details
What I checked
Review threadsThe listing returned 2 of my own threads. I resolved both and re-affirmed none:
|
ovr
approved these changes
Oct 28, 2026
waralexrom
added a commit
that referenced
this pull request
Oct 29, 2026
… 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>
waralexrom
added a commit
that referenced
this pull request
Oct 29, 2026
… to v1.6) (#12471) ## 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 in `America/Vancouver`, `America/Edmonton`, `America/Inuvik` and `America/Winnipeg` after 2026-11-01 is an hour off. Fixes #12431 for 1.6. ## Changes Same as #12466: - `moment-timezone` → `^0.6.5` in schema-compiler, api-gateway and backend-shared, plus a `resolutions` entry in the root and `cubejs-docker` `package.json` so `snowflake-sdk` no longer loads a 0.5.x copy that replaces `moment.tz` on the shared moment instance. - `[patch.crates-io]` with the [cube-js/chrono-tz](https://github.com/cube-js/chrono-tz) fork pinned by rev in every Rust workspace: 0.10.4 for Tesseract, Cube Store (its direct `0.8.2` is bumped to `0.10.4`) and pg-srv, 0.6.3 for the arrow 13 fork under CubeSQL. Drops CubeSQL's unused direct `chrono-tz` dependency. - Regression tests for date range bounds, Tesseract `QueryDateTime` and Cube Store `CONVERT_TZ_KSQL`. Differences from master: the schema-compiler test uses the 1.6 test helpers (`compilers.compiler.compile()`, `new PostgresQuery(...)`); lockfiles are regenerated from `lts/v1.6`. ## Testing - `yarn tsc` is clean; `base-query.test` (121), backend-shared `time`/`timezone`, api-gateway date tests pass. - After loading `snowflake-sdk`, `moment.tz.dataVersion` stays `2026e`. - cubesqlplanner `--lib` (1075), pg-srv (35), CubeSQL timestamp/timezone tests, Cube Store streaming tests (18) pass; `cubejs-backend-native` builds. - The `node:22.23.4-bookworm-slim` base image already ships ICU tzdb 2026e. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
ovr
pushed a commit
that referenced
this pull request
Nov 9, 2026
… 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tzdb 2026b–2026e cancel the November 1, 2026 fall-back for British Columbia, Alberta, Inuvik (NWT) and Manitoba. The bundled tz databases (moment-timezone 0.5.48 = 2025b, chrono-tz up to 0.10.4 = 2025b) predate that, so every conversion in
America/Vancouver,America/Edmonton,America/InuvikandAmerica/Winnipegafter 2026-11-01 02:00 is an hour off. For example, the bounds of adateRangeon 2026-11-02 in Vancouver were08:00Zinstead of07:00Z.Fixes #12431
Changes
moment-timezone^0.5.48→^0.6.5(tzdb 2026e) in schema-compiler, api-gateway and backend-shared.rust/cube,rust/cubestore,rust/cubesql,cubejs-backend-native) patches it via[patch.crates-io]with the new cube-js/chrono-tz fork:cube-0.10.4(2026e data, Update data to 2026e chrono-tz#1) for Tesseract, Cube Store (incl. arrow 54) and pg-srv; their direct dependencies are bumped to0.10.4so one patch covers them.cube-0.6.3(2026e data, Update data to 2026e chrono-tz#2) for the arrow 13 fork under CubeSQL.chrono-tz = "0.6"dependency.QueryDateTimein Tesseract,CONVERT_TZ_KSQLin Cube Store.Testing
--lib(1743), pg-srv (35), CubeSQL timestamp/timezone tests, Cube Store streaming tests pass against the git fork;cargo treeconfirms arrow 13 and arrow 54 resolve chrono-tz to the fork.🤖 Generated with Claude Code