Skip to content

Commit df0a34f

Browse files
authored
Worker Versioning (#262)
1 parent 8c5c8b9 commit df0a34f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1600
-329
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ temporalio/.yardoc
88
temporalio/doc
99
temporalio/pkg
1010
temporalio/lib/temporalio/internal/bridge/temporalio_bridge.bundle
11+
temporalio/.bundle
12+
.idea/

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ class GreetingWorkflow < Temporalio::Workflow::Definition
418418
# on wait_condition calls, so Cancellation object doesn't need to be passed
419419
# explicitly.
420420
Temporalio::Workflow.wait_condition { @greeting_params_update || @complete }
421-
421+
422422
# If there was an update, exchange and rerun. If it's _only_ a complete, finish
423423
# workflow with the greeting.
424424
if @greeting_params_update
@@ -1203,9 +1203,11 @@ Prerequisites:
12031203

12041204
First, install dependencies:
12051205

1206-
bundle install
1206+
# Optional: Change bundler install path to be local
1207+
bundle config --local path $(pwd)/.bundle
1208+
bundle instal
12071209

1208-
To build shared library for development use:
1210+
To build shared library for development use (ensure you have cloned submodules :
12091211

12101212
bundle exec rake compile
12111213

@@ -1237,6 +1239,9 @@ the gem at `lib/temporalio/internal/bridge/3.2/temporalio_bridge.so` and
12371239

12381240
### Testing
12391241

1242+
Note you can set `TEMPORAL_TEST_CLIENT_TARGET_HOST` and `TEMPORAL_TEST_CLIENT_TARGET_NAMESPACE`
1243+
(optional, defaults to 'default') environment variables to use an existing server.
1244+
12401245
This project uses `minitest`. To test:
12411246

12421247
bundle exec rake test

temporalio/.yardopts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
--readme README.md
2-
--protected
2+
--protected

0 commit comments

Comments
 (0)