Skip to content

Bump cctz from 2026d to 2026e - #124249

Merged
thevar1able merged 1 commit into
ClickHouse:masterfrom
actueleai:bump-cctz-2026e
Oct 8, 2026
Merged

thevar1able merged 1 commit into
ClickHouse:masterfrom
actueleai:bump-cctz-2026e

Conversation

@actueleai

@actueleai actueleai commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Bump cctz to tzdata 2026e. Closes #124209.

Behaviour changes

  • America/Winnipeg, America/Rainy_River and Canada/Central stay at UTC−5 from 2026-11-01 (Manitoba dropped the DST fall-back): 2026-11-15 12:00:00 UTC now formats as 07:00:00 instead of 06:00:00 in those zones.
  • Europe/Dublin / Eire: a 1925 transition moved; it is before the Unix epoch and not observable in ClickHouse.

Fork

Four ClickHouse patches carried on branch ClickHouse/2026e (fa5fe114a87a), rebased onto upstream 2026e (ClickHouse/cctz#15).

Changelog category (leave one):

  • Build/Testing/Packaging Improvement

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Update cctz to 2026e.


Workflow [PR]
Sync PR [sync-upstream/pr/124249]

Version info

  • Merged into: 26.10.1.1840-master (included in 26.10 and later)
  • Backported to: 26.9.14.9, 26.8.22.9, 26.7.28.5, 26.3.47.5

Update the tzdata shipped with cctz to release 2026e. The fork branch
ClickHouse/2026e carries the four ClickHouse patches (CoreFoundation
dependency removal, arbitrary file open prevention, `file:` prefix
rejection, illumos -Wchar-subscripts fix) rebased onto the upstream
2026e commit.

Co-Authored-By: Claude Code <[email protected]>
@thevar1able thevar1able added the can be tested Allows running workflows for external contributors label Oct 6, 2026
@clickhouse-gh

clickhouse-gh Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [e663c42]

Summary: ✅


AI Review

Summary

This PR bumps contrib/cctz from 2026d to 2026e, pulling in the upstream tzdata refresh plus cctz fixes around tm_gmtoff handling and RFC 9636 TZif validation. I found one contract regression in the new large-offset support: the loader now accepts file-supplied offsets beyond 24 hours, but cctz's public format/parse surface still hard-codes %z hours to 00..23, so the newly accepted zones no longer round-trip cleanly through that API.

Findings

⚠️ Majors

  • [contrib/cctz:1] src/time_zone_info.cc now accepts TZif utoff values in the RFC 9636 range (-25h, 26h), and src/time_zone_format.cc will format them as +2500 / +25:00, but ParseOffset still rejects any %z/%Ez hour above 23. The new ExtendedLargeOffset test only checks load_time_zone, so this regression is currently untested: a zone file that now loads cannot round-trip through format/parse, and %Ez is no longer actually RFC3339-compatible for those accepted inputs. Please either keep rejecting >24h offsets until the public formatting/parsing API is widened too, or widen ParseOffset and add a round-trip test for the 25h case.
Final Verdict

⚠️ Request changes — the widened TZif loader accepts offsets that the rest of cctz's public formatting/parsing surface still cannot handle consistently.

LLVM Coverage Report

Measured on commit e663c42.

Metric Baseline Current Δ
Lines 88.30% 88.20% -0.10%
Functions 92.10% 91.80% -0.30%
Branches 79.70% 79.70% +0.00%

Changed lines: Uncovered code analysis did not run: No coverable C/C++ source files changed (contrib/ is excluded from coverage).

Newly covered: +143 lines in 46 files (-145 lines lost coverage) · Details

Full report

@clickhouse-gh clickhouse-gh Bot added pr-build Pull request with build/testing/packaging improvement submodule changed At least one submodule changed in this PR. labels Oct 6, 2026
Comment thread contrib/cctz
@@ -1 +1 @@
Subproject commit bfd13df99e26583c1a00edc5032964b01bab551b
Subproject commit fa5fe114a87a34c055853adf54dde305979acea0

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This widens TimeZoneInfo::Load to accept RFC 9636 utoff values beyond 24 hours, but the rest of cctz's public surface still assumes %z hours stay in 00..23: FormatOffset will happily emit +2500 / +25:00, while ParseOffset still hard-rejects anything above 23. The new ExtendedLargeOffset test only checks load_time_zone, so a valid TZif file that now loads no longer round-trips through format / parse, and %Ez stops being RFC3339-compatible for those accepted inputs.

Can we either keep rejecting >24h offsets until the parse/format API is widened too, or widen ParseOffset and add a round-trip test for the 25h case?

@clickhouse-gh clickhouse-gh Bot added the comp-external-dependencies Third-party deps updates in contrib/, vendored code, and platform base libraries. label Oct 6, 2026
@clickhouse-gh

clickhouse-gh Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing e663c42c2 with master 508c633b9 (stripped binary size, per-symbol sizes and ThinLTO time; compile times per translation unit against the most recent warmup build that recompiled it).

✅ No significant changes.

Binary sizes

programs/clickhouse-stripped: smaller than the master baseline by the known offset between the two builds, so the difference is not shown. A delta that differs from the offset by more than 50% of it is shown, in either direction.

The official master build is compiled with -g and a pull request build is not, and XRay counts debug instructions towards its instrumentation threshold, so master instruments thousands of functions more and its binary is ~0.4% larger no matter what the pull request does.

Compile time of recompiled translation units

8 translation units recompiled, 7 s compile time in total, 8 of them have a recent master baseline.

Job report

@thevar1able
thevar1able added this pull request to the merge queue Oct 8, 2026
Merged via the queue into ClickHouse:master with commit 98051ef Oct 8, 2026
294 of 296 checks passed
@thevar1able
thevar1able deleted the bump-cctz-2026e branch October 8, 2026 14:51
@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-synced-to-cloud The PR is synced to the cloud repo label Oct 8, 2026
@den-crane

Copy link
Copy Markdown
Contributor

Please backport to 26.3/26.8

@thevar1able thevar1able added the pr-must-backport Pull request should be backported intentionally. Use this label with great care! label Oct 8, 2026
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Oct 8, 2026
@robot-clickhouse robot-clickhouse added the pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR label Oct 8, 2026
clickhouse-gh Bot added a commit that referenced this pull request Oct 9, 2026
Backport #124249 to 26.9: Bump `cctz` from 2026d to 2026e
clickhouse-gh Bot added a commit that referenced this pull request Oct 9, 2026
Backport #124249 to 26.8: Bump `cctz` from 2026d to 2026e
kewin-robetti pushed a commit to viasoftkorp/ClickHouse that referenced this pull request Oct 9, 2026
kewin-robetti pushed a commit to viasoftkorp/ClickHouse that referenced this pull request Oct 9, 2026
alexey-milovidov added a commit that referenced this pull request Oct 9, 2026
Backport #124249 to 26.3: Bump `cctz` from 2026d to 2026e
PedroTadim added a commit that referenced this pull request Oct 12, 2026
Backport #124249 to 26.7: Bump `cctz` from 2026d to 2026e
alexey-milovidov added a commit that referenced this pull request Nov 24, 2026
Two cases where a copied bullet was wrong, from the review of
#134278:

- A bullet merged from several entries was copied for any of its pull
  requests. The bullet of #121325 (`cctz` 2026d) and #124249 (2026e) would be
  copied for the backport of the former into `v26.9.3.38-stable` and announce
  the latter, which is not in that release.
- A pull request with an entry in two releases got both of them: #124907 is
  under `Performance Improvement` in 26.11 and under `New Feature` in 26.10,
  with different wording.

The bullets and the pull requests they attribute now make groups, connected by
the attributions. The bullets of a group are copied only if they are all in one
release and every pull request of the group is merged in the changelog
interval; for a backport, the group has to be the original pull request alone.
All other pull requests are requested from GitHub as before.

On `v26.11.1.2942-stable` this leaves 1789 of the 5313 pull requests copied
instead of 1796.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors comp-external-dependencies Third-party deps updates in contrib/, vendored code, and platform base libraries. pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-build Pull request with build/testing/packaging improvement pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR pr-synced-to-cloud The PR is synced to the cloud repo submodule changed At least one submodule changed in this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bump tzdata to 2026e (America/Winnipeg changes effective from 2026-11-01)

6 participants