Skip to content

Since v1.68.0, a symbol that is re-exported via import public is not found by importers. v1.67.0 and protoc accept the same files. #4633

Description

@smnbbrv

GitHub repository with your minimal reproducible example (do not leave this field blank or fill out this field with "github.com/bufbuild/buf" or we will automatically close your issue, see the instructions above!)

https://github.com/smnbbrv/buf-public-import-repro

Commands

npx -y -p @bufbuild/buf@1.72.0 buf build .   # broken: errors
npx -y -p @bufbuild/buf@1.67.0 buf build .   # good: accepts the same files

Output

proto/a.proto:5:3:cannot find `google.protobuf.Timestamp` in this scope

Expected Output

None

Anything else?

No response

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions