Skip to content

Conversation

cicoyle
Copy link
Contributor

@cicoyle cicoyle commented Aug 13, 2025

Locally I have a diff protoc version. That results in a crazy bad error. To not use a developers local protoc Im removing it so cmds like mvn clean install will run without error.

I believe it fixes this issue or is at least a very similar err. See the err in the attached file.
protoc-issue.txt

Also noticed CI throwing:

Run ./mvnw compile -B -q
protoc-jar: executing: [protoc, --version]
protoc-jar: caught exception, retrying: java.io.IOException: Cannot run program "protoc": error=2, No such file or directory
protoc-jar: executing: [protoc, --version]
protoc-jar: caught exception, retrying: java.io.IOException: Cannot run program "protoc": error=2, No such file or directory
protoc-jar: executing: [protoc, --version]
protoc-jar: executing: [/tmp/protoc18031117828517050527.exe, --version]
libprotoc 25.5

…ion and results in a bad error

Signed-off-by: Cassandra Coyle <[email protected]>
@cicoyle cicoyle requested review from a team as code owners August 13, 2025 21:40
artur-ciocanu
artur-ciocanu previously approved these changes Aug 14, 2025
Copy link
Contributor

@artur-ciocanu artur-ciocanu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, does this mean that the Maven plugin will use its internal protoc version?

@dapr-bot dapr-bot merged commit 62b01c6 into dapr:master Aug 22, 2025
9 of 10 checks passed
Copy link

codecov bot commented Aug 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.70%. Comparing base (d759c53) to head (76a6d0d).
⚠️ Report is 200 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1498      +/-   ##
============================================
+ Coverage     76.91%   78.70%   +1.78%     
- Complexity     1592     1918     +326     
============================================
  Files           145      237      +92     
  Lines          4843     5926    +1083     
  Branches        562      610      +48     
============================================
+ Hits           3725     4664     +939     
- Misses          821      939     +118     
- Partials        297      323      +26     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

javier-aliaga pushed a commit to javier-aliaga/java-sdk that referenced this pull request Aug 26, 2025
* rm protoc cmd bc it uses a local protoc which might be the wrong version and results in a bad error

Signed-off-by: Cassandra Coyle <[email protected]>

* update protoc

Signed-off-by: Cassandra Coyle <[email protected]>

---------

Signed-off-by: Cassandra Coyle <[email protected]>
Co-authored-by: artur-ciocanu <[email protected]>
Co-authored-by: salaboy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants