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: e503ffbbb6a86a89139bfd9033cb30fa6fe36f98 / Shawn Yang <[email protected]> feat(javascript): add javascript gRPC support for nodejs/browser (#3760) ## Why? JavaScript users can generate Fory model types today, but service schemas do not yet emit JavaScript/TypeScript gRPC companions. This closes the JavaScript gRPC stub generation gap from #3278 while keeping gRPC transport packages as application-owned dependencies. ## What does this PR do? - Adds JavaScript service companion generation for Node.js `@grpc/grpc-js` clients and servers with Fory request/response serialization. - Adds `--grpc-web` for JavaScript browser clients, including callback and promise clients backed by `grpc-web`. - Adds generated JavaScript schema helpers (`install`, `createFory`, and `getFory`) plus a `Fory.getRootCodec` API for exact struct/union root serialization. - Validates JavaScript gRPC export, method, output-path, and gRPC-Web streaming-shape collisions during compilation. - Updates compiler, IDL, generated-code, and JavaScript guide docs for JavaScript gRPC and gRPC-Web output. - Adds compiler codegen tests and JavaScript runtime tests covering generated service bindings and root codecs. ## Related issues Closes #3278 ## 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? Yes. It adds JavaScript gRPC/gRPC-Web compiler outputs and a JavaScript root-codec API used by generated service companions. - [x] Does this PR introduce any public API change? - [ ] Does this PR introduce any binary protocol compatibility change? ## Benchmark Not applicable; this PR adds code generation, runtime codec helpers, tests, and documentation rather than changing benchmarked serialization paths. Report URL: https://github.com/apache/fory/actions/runs/27463322863 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
