Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demonstrate interoperability with Coinbase Ruby SDK #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cretz
Copy link
Member

@cretz cretz commented Feb 4, 2025

What was changed

Added sample and test to show how Coinbase SDK activities, workflows, and clients interoperate with the Temporal SDK equivalents. Requires the following two PRs from other projects before it will pass CI:

But it can still be reviewed even without CI passing

@cretz cretz requested a review from a team February 4, 2025 17:59
Comment on lines +6 to +9
gem 'temporalio', path: '../temporal-sdk-ruby/temporalio'

# Additional dependencies for certain samples
gem 'google-protobuf', '~> 3.25'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix this invalid path-specific dependency when temporalio/sdk-ruby#213 released


# Additional dependencies for certain samples
gem 'google-protobuf', '~> 3.25'
gem 'temporal-ruby', path: '../coinbase-temporal-ruby'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Point to GitHub repo when coinbase/temporal-ruby#335 merged (or consider pointing to fork temporarily)

@@ -0,0 +1,24 @@
# Coinbase Ruby

This sample shows a workflow, activity, and client from [Coinbase Ruby SDK](https://github.com/coinbase/temporal-ruby)
Copy link

@mjameswh mjameswh Feb 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sample shows a workflow, activity, and client from Coinbase Ruby SDK able to interoperate with a workflow, activity, and client from Temporal Ruby SDK

Maybe that's just me, but the "… able to …" in the middle reads badly.


bundle exec ruby worker.rb

Finally in another terminal, use the Ruby client to the workflow from this directory:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Finally in another terminal, use the Ruby client to the workflow from this directory:
Finally in another terminal, use the Ruby client to run the workflow from this directory:

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