The GitHub Actions job "Fory CI" on fory.git/row-codec-schema-versions has failed. Run started by GitHub user stevenschlansker (triggered by stevenschlansker).
Head commit for run: aba433840590fe173dd8df396fd967ed9acfdfc8 / Claude (on behalf of Steven Schlansker) <[email protected]> fix(format): gate version-history bean probe behind isBean SchemaHistory.isBeanWithVersioning probed every nested field's raw type with Descriptor.getDescriptors to find @ForyVersion descriptors. TypeInference.inferField, the real encode/decode path, routes collection/map/array/enum field types away from getDescriptors (they are classified before the isBean branch), so a collection subclass that shadows a field name across its hierarchy round-trips fine even though getDescriptors rejects it for duplicate fields. The unguarded probe threw IllegalArgumentException and broke SchemaHistory.build for such a bean. Gate getDescriptors behind TypeUtils.isBean, matching inferField's classification, so only genuine bean field types are introspected. A class that truly cannot be a bean still surfaces its error through isBean, which fails identically on the real path. Add a MemoryBuffer streaming round-trip test through a projection hit, covering the sizeEmbedded int32-prefix framing the byte[] tests skip, and a reproducer (versionedBeanWithShadowedCollectionFieldBuilds) for the shadowed-collection regression. Report URL: https://github.com/apache/fory/actions/runs/28260153666 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
