Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🐛 BUG]: Buf remote plugin is deprecated, roadrunner/plugins/protoc-gen-php-grpc not available #1643

Closed
1 task done
rapita opened this issue Jul 12, 2023 · 3 comments
Closed
1 task done
Assignees
Labels
P-GRPC Plugins: GRPC

Comments

@rapita
Copy link
Sponsor

rapita commented Jul 12, 2023

No duplicates 🥲.

  • I have searched for a similar issue in our bug tracker and didn't find any solutions.

What happened?

The buf generate does not work with using remote: buf.build/roadrunner/plugins/protoc-gen-php-grpc:v2.11.5.

Version (rr --version)

How to reproduce the issue?

Create buf.gen.yaml with content:

version: v1
plugins:
  # php
  - plugin: buf.build/protocolbuffers/php:v23.4
    out: gen/php
  - plugin: buf.build/grpc/php:v1.56.1
    out: gen/php
  - remote: buf.build/roadrunner/plugins/protoc-gen-php-grpc:v2.11.5
    out: gen/php

Run command:

buf generate --debug

Relevant log output

DEBUG   get_ref {"duration": "24.715µs"}
DEBUG   get_config      {"duration": "213.525µs"}
DEBUG   get_workspace_config    {"duration": "66.653µs"}
DEBUG   get_config      {"duration": "133.893µs"}
DEBUG   get_config      {"duration": "77.422µs"}
DEBUG   get_module_config       {"duration": "685.566µs"}
DEBUG   get_config      {"duration": "45.803µs"}
DEBUG   cache_hit       {"module_pin": "buf.build/gogo/protobuf:5461a3dfa9d941da82028ab185dc2a0e"}
DEBUG   get_config      {"duration": "68.02µs"}
DEBUG   cache_hit       {"module_pin": "buf.build/googleapis/googleapis:783e4b5374fa488ab068d08af9658438"}
DEBUG   get_image       {"duration": "37.934µs"}
DEBUG   build   {"duration": "6.403265ms"}
DEBUG   build_module    {"duration": "6.413471ms"}
DEBUG   /buf.alpha.registry.v1alpha1.GenerateService/GeneratePlugins    {"duration": "367.115226ms", "http.status_code": 404, "http.path": "/buf.alpha.registry.v1alpha1.GenerateService/GeneratePlugins", "http.url": "https://api.buf.build/buf.alpha.registry.v1alpha1.GenerateService/GeneratePlugins", "http.host": "api.buf.build", "http.method": "POST", "http.user_agent": "connect-go/1.0.0 (go1.19.2)"}
DEBUG   /buf.alpha.registry.v1alpha1.CodeGenerationService/GenerateCode {"duration": "367.799931ms", "http.method": "POST", "http.user_agent": "connect-go/1.0.0 (go1.19.2)", "http.path": "/buf.alpha.registry.v1alpha1.CodeGenerationService/GenerateCode", "http.url": "https://api.buf.build/buf.alpha.registry.v1alpha1.CodeGenerationService/GenerateCode", "http.host": "api.buf.build"}
DEBUG   /buf.alpha.registry.v1alpha1.CodeGenerationService/GenerateCode {"duration": "367.961931ms", "http.path": "/buf.alpha.registry.v1alpha1.CodeGenerationService/GenerateCode", "http.url": "https://api.buf.build/buf.alpha.registry.v1alpha1.CodeGenerationService/GenerateCode", "http.host": "api.buf.build", "http.method": "POST", "http.user_agent": "connect-go/1.0.0 (go1.19.2)"}
DEBUG   /buf.alpha.registry.v1alpha1.CodeGenerationService/GenerateCode {"duration": "367.858931ms", "http.user_agent": "connect-go/1.0.0 (go1.19.2)", "http.path": "/buf.alpha.registry.v1alpha1.CodeGenerationService/GenerateCode", "http.url": "https://api.buf.build/buf.alpha.registry.v1alpha1.CodeGenerationService/GenerateCode", "http.host": "api.buf.build", "http.method": "POST"}
DEBUG   /buf.alpha.registry.v1alpha1.CodeGenerationService/GenerateCode {"duration": "367.857882ms", "http.path": "/buf.alpha.registry.v1alpha1.CodeGenerationService/GenerateCode", "http.url": "https://api.buf.build/buf.alpha.registry.v1alpha1.CodeGenerationService/GenerateCode", "http.host": "api.buf.build", "http.method": "POST", "http.user_agent": "connect-go/1.0.0 (go1.19.2)"}
DEBUG   command {"duration": "380.446047ms"}
Failure: Remote generation alpha features have been sunset.

For more information, see https://buf.build/docs/migration-guides/migrate-remote-generation-alpha/
@rustatian
Copy link
Member

rustatian commented Jul 12, 2023

Hey @rapita 👋🏻
Unfortunately, buf devs deprecate and remove access for individuals to push plugins: link. All public plugins are now managed by the buf team.
Here is the issue to track the progress: bufbuild/plugins#655

@rustatian rustatian added W-waiting-on-maintainer Wait: waiting for the feature maintainer response or the ticket author and removed B-bug Bug: bug, exception F-need-verification labels Jul 12, 2023
@rustatian
Copy link
Member

@rapita Fixed, soon should be in the buf community plugins list. I'll update docs then.

@rustatian rustatian added P-GRPC Plugins: GRPC and removed W-waiting-on-maintainer Wait: waiting for the feature maintainer response or the ticket author labels Jul 12, 2023
@rustatian
Copy link
Member

@rapita https://buf.build/community/roadrunner-server-php-grpc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-GRPC Plugins: GRPC
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants