KEMBAR78
Generate test protobuf using the `buf` tool by jbardin · Pull Request #354 · hashicorp/go-plugin · GitHub
Skip to content

Conversation

@jbardin
Copy link
Member

@jbardin jbardin commented Jul 18, 2025

It wasn't clear which versions of the protobuf tooling needed to be used to generate the test code, and updating them required some additional changes. Since the buf tool was adopted to generate the example code, use the same tool to make generating the test code easier too.

@jbardin jbardin requested a review from a team as a code owner July 18, 2025 18:55
@jbardin
Copy link
Member Author

jbardin commented Aug 5, 2025

@hashicorp/team-ip-compliance, waiting on review please

@jbardin jbardin force-pushed the jbardin/panic-logging-cleanup branch from 2b902c6 to 6a167cc Compare August 7, 2025 17:54
It wasn't clear which versions of the protobuf tooling needed to be used
to generate the test code, and updating them required some additional
changes. Since the `buf` tool was adopted to generate the example code,
use the same tool to make generating the test code easier too.
@jbardin jbardin force-pushed the jbardin/generate-test-protobuf branch from ea6ae66 to 33ebac7 Compare August 7, 2025 17:58
@jbardin jbardin merged commit a5ada4b into jbardin/panic-logging-cleanup Aug 7, 2025
3 checks passed
jbardin added a commit that referenced this pull request Aug 8, 2025
…353)

* cleanup panic logging flag

Don't shadow the builtin `panic` symbol.
Remove the redundant `false` assignments.
Flatten the if block since we are already using a switch.

* add Panic to grpc test service

* update impls with new Panic method

* test that server panics go to ERROR

* CHANGELOG

* fix test plugin mapping

* use Debug for logger test to avoid timed output

* Use buf to generate test proto (#354)

It wasn't clear which versions of the protobuf tooling needed to be used
to generate the test code, and updating them required some additional
changes. Since the `buf` tool was adopted to generate the example code,
use the same tool to make generating the test code easier too.
@jbardin jbardin deleted the jbardin/generate-test-protobuf branch August 11, 2025 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants