-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Include proto unzip directory as proto import directory argument for protoc #43706
Conversation
Thanks for your pull request! Your pull request does not follow our editorial rules. Could you have a look?
This message is automatically generated by a bot. |
Rebased to avoid merge commits! |
This comment has been minimized.
This comment has been minimized.
@alesj for the integration test that was failing I corrected the import path of the proto files so that they are relative to the root directory, otherwise we would have to change the sorting of the import directory arguments passed into protoc because protoc detects a conflicting .proto definition in the subfolder if it has already traversed the import directory root folder: Fails:
with error:
But this succeeds:
|
The import statements should use a path relative to the root as per the recommendation in the guidelines:
|
What worries me a bit with this is that I thought this option was used to only handle some specific files/directories and from the error, it looks like it's now handling the whole root directory. Note that I'm not familiar at all with this thing so it might be a very dumb question. |
no the change is only to pass in the root directory as an Here is the complete command for reference in this example:
|
OK, looks good then. Let's see what CI has to say and merge if green. |
Status for workflow
|
Status | Name | Step | Failures | Logs | Raw logs | Build scan |
---|---|---|---|---|---|---|
✖ | JVM Tests - JDK 17 | Build |
Failures | Logs | Raw logs | 🔍 |
✖ | JVM Tests - JDK 21 | Build |
Failures | Logs | Raw logs | 🔍 |
You can consult the Develocity build scans.
Failures
⚙️ JVM Tests - JDK 17 #
- Failing: integration-tests/opentelemetry-jdbc-instrumentation
📦 integration-tests/opentelemetry-jdbc-instrumentation
✖ Failed to execute goal io.fabric8:docker-maven-plugin:0.45.1:start (docker-start) on project quarkus-integration-test-opentelemetry-jdbc-instrumentation: I/O Error
⚙️ JVM Tests - JDK 21 #
- Failing: integration-tests/opentelemetry-jdbc-instrumentation
📦 integration-tests/opentelemetry-jdbc-instrumentation
✖ Failed to execute goal io.fabric8:docker-maven-plugin:0.45.1:start (docker-start) on project quarkus-integration-test-opentelemetry-jdbc-instrumentation: I/O Error
@gsmet re-run? Since this doesn't look related ... |
We can merge, it's isolated to these two modules. |
Thanks for the pull request! |
No problem! Thank you for the quick turnaround |
Relevant issue: #43539
This is to fix code gen issue where
quarkus.generate-code.grpc.scan-for-proto-include
option is used and.proto
files use imports relative to the root directory.