Skip to content

Bump magic_enum from v0.9.7 to v0.9.8 - #118896

Merged
thevar1able merged 5 commits into
ClickHouse:masterfrom
actueleai:bump-magic_enum-v0.9.8
Sep 25, 2026
Merged

thevar1able merged 5 commits into
ClickHouse:masterfrom
actueleai:bump-magic_enum-v0.9.8

Conversation

@actueleai

@actueleai actueleai commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Bumps magic_enum from an off-tag commit five commits past v0.9.7 onto the v0.9.8 release tag, so the submodule tracks a proper upstream release again. The library is header-only and consumed through an INTERFACE target, so this is a submodule pointer change only; the reflected enum names and counts ClickHouse relies on are unchanged.

Changelog category (leave one):

  • Build/Testing/Packaging Improvement

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

Update magic_enum to v0.9.8.


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

Version info

  • Merged into: 26.10.1.665-master (included in 26.10 and later)

Upstream release notes: https://github.com/Neargye/magic_enum/releases/tag/v0.9.8

Notable upstream changes:
- `magic_enum::customize::enum_range` can now also be configured via an ADL
  hook (`magic_enum_define_range_adl`); the existing explicit specializations
  used by ClickHouse keep working unchanged.
- `MAGIC_ENUM_AUTO_IS_FLAGS` and `magic_enum::customize::enum_format_enabled`
  were removed. ClickHouse defines neither and does not include
  `magic_enum_format.hpp` - `base/base/EnumReflection.h` provides its own
  `fmt::formatter` for enums - so nothing had to be adapted.
- `enum_name` for an unnamed value now returns an empty `string_view` with a
  non-null `data`, instead of a null one.
- Explicit calling convention on the internal reflection helpers, which makes
  the mangled names reliable when the default calling convention is changed.

Only the submodule pointer changes: `magic_enum` is header-only and
`contrib/magic-enum-cmake/CMakeLists.txt` merely exposes
`contrib/magic_enum/include/magic_enum` as an INTERFACE include directory,
which the new release keeps in place.
@thevar1able
thevar1able self-requested a review September 8, 2026 21:16
@thevar1able thevar1able self-assigned this Sep 8, 2026
@thevar1able thevar1able added the can be tested Allows running workflows for external contributors label Sep 8, 2026
@thevar1able
thevar1able marked this pull request as ready for review September 8, 2026 21:16
@clickhouse-gh

clickhouse-gh Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [da1efa3]

Summary: ✅


AI Review

Summary

This PR advances contrib/magic_enum from commit 1a1824d to the upstream v0.9.8 tag. I reviewed the PR diff, the current tree, the existing GitHub discussion, and the upstream magic_enum delta against ClickHouse's in-tree usage; the potentially risky v0.9.8 changes (enum_range ADL/prefix support, removal of MAGIC_ENUM_AUTO_IS_FLAGS and enum_format_enabled, the empty enum_name string_view fix, and the x86 calling-convention fix) do not intersect current ClickHouse usage, so I did not find any actionable correctness, compatibility, or packaging issues in the current change.

Final Verdict

✅ No actionable findings. No inline review comments were posted.

@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. comp-external-dependencies Third-party deps updates in contrib/, vendored code, and platform base libraries. labels Sep 8, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Commit da1efa3d865d3c6bcd5d634f4354e76af10ee6d0 was not compared: the CI logs cluster did not answer (every POST attempt failed with an exception).

See the job log for details.

@thevar1able
thevar1able added this pull request to the merge queue Sep 25, 2026
Merged via the queue into ClickHouse:master with commit 2bf63dd Sep 25, 2026
348 of 349 checks passed
@thevar1able
thevar1able deleted the bump-magic_enum-v0.9.8 branch September 25, 2026 12:08
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Sep 25, 2026
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. manual approve Manual approve required to run CI pr-build Pull request with build/testing/packaging improvement 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.

4 participants