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

Get latest from upstream #6

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open

Get latest from upstream #6

wants to merge 20 commits into from

Conversation

longkt90
Copy link

No description provided.

dhruv-stripe and others added 20 commits January 4, 2024 16:15
* Add schedule model classes

These are meant to be the interface that users will have to use - I
tried to copy as much useful documentation from the temporal grpc api as
I could

* Add serializers to convert model objects to proto

* Add create, describe and list schedules

* Delete and update schedule

* Trigger and pause schedule

* Add methods and Schedule module to Temporal obj

* Remove unrelated spec

Co-authored-by: Jeff Schoner <[email protected]>

---------

Co-authored-by: Jeff Schoner <[email protected]>
* Remove cancelation commands when underlying futures are closed

* Fix spec for timer command preservation

* Remove potentially flaky example spec
Convert keyword argument into hashes in order to fulfill Temporal::Metrics API contract obligations.

Fixes: #90

Signed-off-by: Progyan Bhattacharya <[email protected]>
* Add base64 to gemspec for Ruby 3.4.0

* Fix not to raise expectations to stop warning
* Allow passing channel args to GRPC connection

* Add config.connection_options hash

* Add option for client grpc connection retries

* Allow passing custom gRPC retry policy
* Testing build with readme change

* Sleep longer

* Pin Temporal to version 1.22

* Remove test changes

* Nit
)

* Bump `dry-types`/`dry-struct` example versions

The current versions in the examples are pretty old.

* Use `Dry::Struct` instead of `Dry::Struct::Value`

The gem is warning that `Dry::Struct::Value` is finally going to be
removed.

```
[dry-struct] Dry::Struct::Value is deprecated and will be removed in the next major version
/Users/sal/Development/temporal-ruby/lib/temporal/concerns/typed.rb:35:in `generate_struct'
```
Raise NotImplementedError instead of NoMethodError for clarify.
* Specialize workflow event targets

* Methods for downloading histories

* Replay tester

* Basic replay tester unit tests

* Add example replay test with history file

* Add workflow stack trace to replay error

* Dynamically load replay state in workflow logger

* Log when replaying in replay tests

* Use binpb extension for protobuf biniaries

* Better comments about logging during replay

* Simplify file -> bytes read calls

* Fix comment typos

* More ergonomic replaying callback

* Improve ReplayTesterError, rubyfmt spec

* Remove extra commands check

* Don't default to logging in replay tests

* Check history starts correctly

* Remove correct_event_types

* Refactor to more composable API

* Use real namespace from configuration

* rubyfmt

* Fix test name typo
* Add pagination to get_workflow_history

* Fix CI
…Apple Silicon machines (#310)

* relax the version requirement for 'google-protobuf' to allow using newer 'grpc' gem

* use major.minor to have min minor version requirement
* support passing activity task rate limit on worker options

* remove extra space in README
* Implement ConverterWrapper as a replacement for Concern::Payloads

* Wrap concerter & payload codec with ConverterWrapper in Configuration

* Use ConverterWrapper in Connection::GRPC

* Fix failing specs

* Remove Concerns::Payload from worker and client

* Remove Concerns::Payloads dependency from all the serializers

* Remove Concerns::Payloads from Metadata

* fixup! Remove Concerns::Payloads dependency from all the serializers

* Remove Concerns::Payloads from Errors

* Remove Concerns::Payloads from Executions

* Remove Concerns::Payloads from fabricators

* Remove Concerns::Payloads
* Remove global config from client specs

* Remove global configuration from client and connection

* Remove global configuration from integration specs

* Remove global config from error messages and comments

* Remove global config from specs

* Remove global config from worker spec

* Add README section on global vs local configuration
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.