Skip to content

Ruby SDK 0.12.4

Choose a tag to compare

@github-actions github-actions released this 17 Nov 15:38
34a0d20

Overview

Fixed

  • Triggering a run, bulk triggering and pushing events, one at a time or in bulk, now retry when the engine throttles the call with RESOURCE_EXHAUSTED and a google.rpc.RetryInfo detail, waiting the delay the server asks for. Other errors, including RESOURCE_EXHAUSTED without RetryInfo, are raised at once as before. The wait doubles with each retry up to 5 seconds and is extended by a random amount of up to 20%, so that clients throttled together do not all retry at the same moment. At most 5 attempts are made, and a call the server asks to wait longer than 5 seconds fails at once with the server's error.

Documentation for agents

The linked pages serve plain markdown for tools and agents. Full docs index: https://docs.hatchet.run/llms.txt

Setup and local development:

Core concepts:

Flow control:

Ruby SDK reference (overview: https://docs.hatchet.run/reference/ruby.md):

Installation

Add this line to your application's Gemfile:

gem 'hatchet'

And then execute:

bundle install

Or install it yourself as:

gem install hatchet

Documentation

For detailed documentation, examples, and best practices, visit:

What's Changed?