The GitHub Actions job "go_modules in /integration_tests/grpc_tests/go for 
golang.org/x/net - Update #1404401599" on fory.git/main has failed.
Run started by GitHub user dependabot[bot] (triggered by dependabot[bot]).

Head commit for run:
7ec4a175bce944de4e9ef2e85f2065f4250dee42 / Ayush Kumar 
<[email protected]>
feat(go): implement grpc stub generation (#3698)

## Why?
Go implementation only provides type generation and misses the gRPC
service stub generations for now. this PR adds it.

## Related issues
Closes #3274 


## What it does ?
### Implemented till now -
#### `ImportTracker` class in `base.py`
1. which returns the foreign imports defined in a RpcMethod inside a
schema file's service interface.

#### `generate_services()`
1. which returns a service generated file
2. License header, package header using `get_package_name()`
3. the imports block of go using `_build_import_block(tracker)`
`_build_import_block(tracker)` function returns the import block with
fixed grpc, context imports which are required by every single generated
file for each service. and a foreign type imports statement returned by
the `tracker.go_imports()`. at end after all the service code generation
is done, this function inserts the import block to the saved placeholder
index.

- [ ] 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?



- [ ] 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/27185663369

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to