temporalio / features

Behavior and history compatibility testing for Temporal SDKs
13 stars 17 forks source link

Enable users to easily run samples in Cloud #454

Open josh-berry opened 6 months ago

josh-berry commented 6 months ago

Describe the solution you'd like

From Spencer and Maxim:

We should have a defaultConnection() type static method in all the SDKs that uses localhost by default but, if some file path/env vars/etc are provided, will use those to connect to cloud.

Idea being people can run all our samples easily locally, and then make this ~/.config/temporalconnection file or whatever and boom now it switches to connecting to cloud.

Per-SDK Tickets

Samples Tickets

cretz commented 6 months ago

This should all depend on https://github.com/temporalio/features/issues/441, where a proper generally-applicable design needs to be made.