Repository navigation
Decouple core modern CEL value representation from legacy V1 evaluation types so pure modern runtimes no longer link deprecated evaluation and interop targets transitively. - #2456
Open
copybara-service[bot] wants to merge 1 commit into
Conversation
copybara-service
Bot
force-pushed
the
test_1021200957
branch
3 times, most recently
from
November 13, 2026 21:45
9fdbe0f to
00da8c5
Compare
…on types so pure modern runtimes no longer link deprecated evaluation and interop targets transitively. Previously, the core value library bundled legacy list, map, and struct wrapper bridges directly alongside modern arena-allocated values and aliased the legacy target back into itself. Any binary using modern CEL values was forced to pull in legacy registries, evaluation helpers, and type providers even when no legacy APIs were called. Extracting the legacy wrapper implementations and compatibility adapters into a separate library target, backed by lightweight per-instance dispatch tables registered only when legacy wrappers are constructed, preserves existing interop behavior for unmigrated callers without imposing legacy binary footprint on modern consumers. Removing redundant multiple inheritance from modern container implementations also prevents legacy container interfaces from anchoring unnecessary virtual tables into pure modern binaries. PiperOrigin-RevId: 1021200957
copybara-service
Bot
force-pushed
the
test_1021200957
branch
from
November 13, 2026 21:49
00da8c5 to
0fe7e60
Compare
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.
Decouple core modern CEL value representation from legacy V1 evaluation types so pure modern runtimes no longer link deprecated evaluation and interop targets transitively.
Previously, the core value library bundled legacy list, map, and struct wrapper bridges directly alongside modern arena-allocated values and aliased the legacy target back into itself. Any binary using modern CEL values was forced to pull in legacy registries, evaluation helpers, and type providers even when no legacy APIs were called.
Extracting the legacy wrapper implementations and compatibility adapters into a separate library target, backed by lightweight per-instance dispatch tables registered only when legacy wrappers are constructed, preserves existing interop behavior for unmigrated callers without imposing legacy binary footprint on modern consumers. Removing redundant multiple inheritance from modern container implementations also prevents legacy container interfaces from anchoring unnecessary virtual tables into pure modern binaries.