Skip to content

Conversation

@chaokunyang
Copy link
Collaborator

@chaokunyang chaokunyang commented Jan 30, 2026

Why?

  • Enable IDL compatible mode across languages so struct/union metadata and type-def diffs round-trip correctly.

What does this PR do?

  • Align union handling in fingerprints/type IDs across Java/C++/Rust/Python/Go for compatibility.
  • Fix compatible-mode read/write paths for struct/union fields and dynamic type resolution, including named union typedef handling.
  • Improve Go struct detection, primitive array skipping, and type-def diff diagnostics; add debug output hooks in Java/Go/Python.
  • Expand IDL roundtrip coverage for compatible mode and union scenarios.
  • Minor QoL: union string representations.

Related issues

#3099

#2906

Does this PR introduce any user-facing change?

  • Does this PR introduce any public API change?
  • Does this PR introduce any binary protocol compatibility change?

Benchmark

@chaokunyang chaokunyang force-pushed the compatible_test_for_idl branch from e123ed4 to ad28c1c Compare January 30, 2026 09:31
@chaokunyang chaokunyang force-pushed the compatible_test_for_idl branch from ad28c1c to c2b9a18 Compare January 30, 2026 09:50
@chaokunyang chaokunyang force-pushed the compatible_test_for_idl branch from 6dc1368 to 395219a Compare January 30, 2026 10:25
@chaokunyang chaokunyang merged commit 9a48b8d into apache:main Jan 30, 2026
61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants