The GitHub Actions job "Fory CI" on fory.git/xlang_ref_alignment has failed. Run started by GitHub user chaokunyang (triggered by chaokunyang).
Head commit for run: 52c7282e82a77e42e573c2c60d6dd7d559f341be / chaokunyang <[email protected]> fix(go): generate xlang-mode conditional code for slice/map null handling In xlang mode, slices and maps are NOT nullable by default (per xlang spec). In native Go mode, slices and maps can be nil and need null flags. This commit: - Updates Go codegen (encoder.go, decoder.go) to generate conditional code that checks isXlang at runtime to determine null flag behavior - Updates struct.go and type_def.go to correctly mark slices/maps as NOT nullable in xlang mode (only pointer types are nullable) - Adds IsXlang() method to TypeResolver for runtime mode checking - Updates Go tests that expect native Go nil preservation to use WithXlang(false) This ensures proper Java-Go cross-language interoperability while maintaining native Go nil preservation when using WithXlang(false). Report URL: https://github.com/apache/fory/actions/runs/20673364981 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
