The GitHub Actions job "Fory CI" on fory.git/main has failed. Run started by GitHub user chaokunyang (triggered by chaokunyang).
Head commit for run: ef25ea23d0ff78f616162c0f718ffafaa807f1a2 / Chang-Yen (Brian) Li <[email protected]> feat(go): add missing type resolver for uint{16,32,64}slice (#3311) ## Why? The `uint` serializer and specific `uint16`, `uint32`, `uint64` slice serializers were implemented but missing from the `TypeResolver` registration and dispatch logic. This caused `not supported` errors when using these types. ## What does this PR do? 1. **Type Registration**: * Registers `uint16Type`, `uint32Type`, and `uint64Type` in `newTypeResolver` initialization to ensure `decodeType` can correctly resolve these type strings. 2. **Serializer Dispatch**: * Updates `createSerializer` in `type_resolver.go` to correctly dispatch to the existing optimized `uint16SliceSerializer`, `uint32SliceSerializer`, and `uint64SliceSerializer` for the corresponding slice types. 3. **Tests**: * Adds test cases in `TestTypeResolver` (`type_test.go`) to verify that `[]uint16`, `[]uint32`, and `[]uint64` are correctly resolved and serialized. ## Related issues ## 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 Report URL: https://github.com/apache/fory/actions/runs/21816638637 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
