GitHub Repository
https://github.com/abhinav/buf-include_imports-strategy-repro
Commands
Output
protoc: common/v1/value.proto, keyvalue/v1/service.proto
Expected Output
protoc: common/v1/value.proto
protoc: keyvalue/v1/service.proto
Anything else?
I wrote a minimal plugin in the reproduction repo that just logs the files to generate to demonstrate the problem.
I'm using the latest release of Buf as of writing this.
The only workaround right now is to manually list imports in the inputs section.
Without this, old plugins like Twirp explode during package name resolution.