github hatchet-dev/hatchet rb/0.13.0
Ruby SDK 0.13.0

latest release: py/2.0.0a7
one hour ago

Overview

Added

  • max_reassignments_allowed: option on tasks and durable tasks, the number of times a task can be reassigned to a new worker (when its worker stops heartbeating or never acknowledges the assignment) before it fails instead. Set it to 0 to never reassign a task, for example when re-running it is unsafe or when it crashes its worker. When unset, the server's default limit applies; the server's limit also caps this value. Raises ArgumentError for negative values.

Fixed

  • The Hatchet::BatchTaskConfig docs no longer say a batch flushes once group_max_runs is exceeded. While a group has group_max_runs batches running, its ready batches stay buffered. The docs also give the engine defaults: max_interval_ms is 1000, measured from when a batch's first item is buffered, and group_max_runs is 100.

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?

Don't miss a new hatchet release

NewReleases is sending notifications on new releases.