commit | d35c2b95eafa8d775bb4297653620c24145f7447 | [log] [tgz] |
---|---|---|
author | stapelberg <stapelberg@google.com> | Tue Dec 17 17:22:54 2024 +0100 |
committer | Gopher Robot <gobot@golang.org> | Tue Dec 17 08:32:01 2024 -0800 |
tree | 1579c8e43678deebdb4b8a04e0405cb8906f7c8c | |
parent | 7994c7ac8fe07d94acd4d99d33b9c6518fa459d3 [diff] |
fix loading tests in Open Source version This required giving up on the len(patterns) = len(loaded) assumption, which in turn required refactoring how the concurrency is structured. I tested that edge cases like -parallel_jobs=1 and -parallel_jobs=35 (for a conversion with 35 packages) work correctly. Also consider .pb.go files as generated while here. fixes golang/open2opaque#3 fixes golang/open2opaque#4 PiperOrigin-RevId: 707109446 Change-Id: I2241e4a9a54613e68efee437b691946c66a3bfd3 Reviewed-on: https://go-review.googlesource.com/c/open2opaque/+/637135 Reviewed-by: Michael Stapelberg <stapelberg@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Nicolas Hillegeer <aktau@google.com> Auto-Submit: Michael Stapelberg <stapelberg@google.com>
The program open2opaque migrates Go code using Go Protobuf from the Open API to the Opaque API.
See https://go.dev/blog/protobuf-opaque for context.