Update build scripts + migration to use Buf#737
Closed
Conversation
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
…retrieving the protos Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
…sing node runtime instead of bash) Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
…alue can be used in the JS output without having to hard code and remember it - it automatically pulls from the value in package.json Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
…nerate prototype types Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
…ted all tests to pass Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
…e2e script Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
nelson-parente
added a commit
to nelson-parente/js-sdk
that referenced
this pull request
Mar 30, 2026
Update fetch-proto.sh to download proto definitions from Dapr v1.17.0-rc.1 (previously pinned to v1.16.0-rc.3). This adds all new building block message type protos that were split out of dapr.proto in v1.17: - runtime/v1/actors.proto - runtime/v1/ai.proto (Conversation Alpha2) - runtime/v1/binding.proto - runtime/v1/configuration.proto - runtime/v1/crypto.proto - runtime/v1/invoke.proto - runtime/v1/jobs.proto (Jobs/Scheduler Alpha1) - runtime/v1/lock.proto - runtime/v1/metadata.proto - runtime/v1/pubsub.proto (streaming subscriptions) - runtime/v1/secret.proto - runtime/v1/state.proto - runtime/v1/workflow.proto (Beta1/Stable) Also adds: - google/protobuf/struct.proto and duration.proto (new dependencies) - Pin Google WKT downloads to protobuf v28.3 (was floating master) - buf.yaml and buf.gen.yaml scaffolding for future Buf migration - Correct compilation order (message types before service definitions) The generated proto stubs are NOT regenerated in this commit — run `./scripts/fetch-proto.sh` locally to regenerate after merging. Relates to: dapr#737, dapr#667, dapr#664, dapr#668 Signed-off-by: Nelson Parente <nelson_parente@live.com.pt>
4 tasks
3 tasks
Contributor
Author
|
Superseded by #745 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The protos generation has been flaky in recent releases, so this PR migrates the entire project to use Buf. This was a greater lift than expected given that it uses a different signature/approach to creating instances from the generated types and then all the tests had to be updated, but now the whole solution builds and tests as expected on my machine.
Further, this also updates the entire build pipeline to use a cross-platform compatible approach.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: