Comments (9)
@steven-supersolid might also be able to shed some light on the expected behavior here.
from agones.
I thought that node did it's code gen at runtime?
from agones.
I thought that node did it's code gen at runtime?
Ignore me - that was the old nodejs.+ grpc.
from agones.
It seems to be working fine on my side, from what I've seen, the command used in the description of the issue is make gen-sdk-grpc
, which only generate the files for the default SDK_FOLDER=go
, but not the node one
To generate the node one you can either run make run-sdk-command COMMAND=gen SDK_FOLDER=node
or make gen-all-sdk-grpc
to generate them all
I can make an PR to update it to beta if you want though ?
from agones.
It seems to be working fine on my side, from what I've seen, the command used in the description of the issue is
make gen-sdk-grpc
, which only generate the files for the defaultSDK_FOLDER=go
, but not the node one
Good catch, typo on my end. I'll update the bug title to make gen-all-sdk-grpc
. This should generate for nodejs (and for all "supported" languages in general).
I can make an PR to update it to beta if you want though ?
If you're able to get the make run-sdk-command COMMAND=gen SDK_FOLDER=node
to work that would be amazing.
from agones.
It seems to be working fine on my side, from what I've seen, the command used in the description of the issue is
make gen-sdk-grpc
, which only generate the files for the defaultSDK_FOLDER=go
, but not the node oneGood catch, typo on my end. I'll update the bug title to
make gen-all-sdk-grpc
. This should generate for nodejs (and for all "supported" languages in general).I can make an PR to update it to beta if you want though ?
If you're able to get the
make run-sdk-command COMMAND=gen SDK_FOLDER=node
to work that would be amazing.
I've been able to generate it, not sure if we want to keep both alpha and beta ?
from agones.
We'll need to generate this manually for node.js and commit to the repo
We'll need both alpha and beta - alpha appears to be working so should be no change, beta may require a new line in the script
from agones.
build/build-sdk-images/node/gen.sh
needs updating with a line similar to alpha line for each export
e.g. these are the alpha lines. Also see gen.sh in go for how there is a generation line per feature stage
grpc_tools_node_protoc -I ${googleapis} -I ${gatewaygrpc} -I ${sdk}/alpha --js_out=import_style=commonjs,binary:./sdks/nodejs/lib/alpha google/api/annotations.proto google/api/client.proto google/api/field_behavior.proto google/api/http.proto google/api/launch_stage.proto google/api/resource.proto protoc-gen-openapiv2/options/annotations.proto protoc-gen-openapiv2/options/openapiv2.proto
grpc_tools_node_protoc -I ${googleapis} -I ${gatewaygrpc} -I ${sdk}/alpha --grpc_out=generate_package_definition:./sdks/nodejs/lib/alpha --js_out=import_style=commonjs,binary:./sdks/nodejs/lib/alpha alpha.proto
from agones.
I've done this in my branch so can commit there or wait if we want to keep this separate. Not tested yet so the first command may need changes if additional google/api entries were used
grpc_tools_node_protoc -I ${googleapis} -I ${gatewaygrpc} -I ${sdk}/beta --js_out=import_style=commonjs,binary:./sdks/nodejs/lib/beta google/api/annotations.proto google/api/client.proto google/api/field_behavior.proto google/api/http.proto google/api/launch_stage.proto google/api/resource.proto protoc-gen-openapiv2/options/annotations.proto protoc-gen-openapiv2/options/openapiv2.proto
grpc_tools_node_protoc -I ${googleapis} -I ${gatewaygrpc} -I ${sdk}/beta --grpc_out=generate_package_definition:./sdks/nodejs/lib/beta --js_out=import_style=commonjs,binary:./sdks/nodejs/lib/beta beta.proto
from agones.
Related Issues (20)
- Refactor metrics register exporter setup
- Unit test to check if metrics endpoint is scraping metrics
- [Agones Unity SDK] Add instructions to run tests using a Container Image(s) HOT 9
- Move Feature GKEAutopilotExtendedDurationPods to Beta HOT 6
- Migration from pterodactyl to agones | Egg like solution | More real steamserver examples
- Issue with Agones Game Server Connectivity Using Cilium CNI HOT 8
- Fleet autoscaler with "List" policy throws an error if configured with a fleet with no replicas HOT 3
- CORS enabled on ping service
- Upgrade to Golang 1.22.6 HOT 2
- Extend Webhook autoscaler to send fleet metadata with the request HOT 4
- Add chain ID status to fleetautoscaler event logger
- FleetAutoscaler with Counter policy trying to scale Fleet to negative replicas count HOT 2
- Add logging to webhook failure and schedule parsing errors for Schedule/Chain policies
- Game servers are having some delays until getting external IPs from agones SDK
- Update AWS Provider Version for Terraform module to fix Timeout Rather than Manual Workarounds
- Incorrect error logging caused by ResourceVersion conflict on SDK Patch call HOT 2
- Release 1.43.0 HOT 1
- Support GameServer.Spec.SdkServer.LogLevel "Trace" HOT 1
- Rolling updates do not progress if all game servers in the fleet are in the `Allocated` state
- Doc: "Available metrics" mark up was broken down HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agones.