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: afb2f3f46259be6ab0d918a8f853d1a8dc067b87 / Shawn Yang <[email protected]> feat(java): annotation processor for android serialization (#3670) ## Why? Java runtime code generation is disabled on Android and unavailable in GraalVM native images, so `@ForyStruct` users need a build-time serializer path that preserves schema metadata, compatible reads, and the same wire protocol without falling back to reflective object serializers. ## What does this PR do? - Adds the `fory-annotation-processor` Maven module and processor for generating same-package static serializers for Java `@ForyStruct` classes and records. - Adds static serializer runtime support, including deterministic lookup, descriptor metadata exposure, copy/read/write paths, and compatible-mode reads for generated serializers. - Extends Java descriptor, generic type, type annotation, and type definition handling so generated descriptors can carry nested `TypeRef`, `TypeExtMeta`, `@ForyField`, and `@ArrayType` metadata without runtime annotated-field reflection. - Documents static struct serializers and clarifies Android, configuration, and GraalVM behavior for build-time serializers versus runtime codegen/native-image generation. - Adds annotation processor tests, updates xlang test fixture construction, and adds an Android Go xlang CI job. ## Related issues #1017 #3405 #1101 #2435 #3667 ## AI Contribution Checklist - [ ] Substantial AI assistance was used in this PR: `yes` / `no` - [ ] If `yes`, I included a completed [AI Contribution Checklist](https://github.com/apache/fory/blob/main/AI_POLICY.md#9-contributor-checklist-for-ai-assisted-prs) in this PR description and the required `AI Usage Disclosure`. - [ ] If `yes`, my PR description includes the required `ai_review` summary and screenshot evidence of the final clean AI review results from both fresh reviewers on the current PR diff or current HEAD after the latest code changes. ## Does this PR introduce any user-facing change? - [x] 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/25777968622 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
