hatchet-sdk 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/lib/hatchet/batch.rb +58 -0
- data/lib/hatchet/clients/grpc/dispatcher.rb +42 -0
- data/lib/hatchet/clients/rest/.openapi-generator/FILES +9 -0
- data/lib/hatchet/clients/rest/README.md +16 -3
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/api/filter_api.rb +4 -0
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/api/operator_api.rb +405 -0
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/api/webhook_api.rb +2 -0
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/api/worker_api.rb +3 -0
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/api_meta.rb +14 -4
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/create_tenant_invite_request.rb +14 -4
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/pause_workflow_request.rb +105 -0
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/pause_workflow_request_pause.rb +343 -0
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/pause_workflow_request_unpause.rb +262 -0
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/tenant_invite.rb +11 -1
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/tenant_member.rb +11 -1
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/tenant_member_role.rb +2 -1
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/update_tenant_invite_request.rb +14 -4
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/update_tenant_member_request.rb +14 -4
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_create_http_operator_request.rb +346 -0
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_event.rb +14 -4
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_http_operator.rb +372 -0
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_http_operator_list.rb +231 -0
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_task_event_type.rb +3 -1
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_task_summary.rb +14 -4
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_update_http_operator_request.rb +252 -0
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_workflow_run.rb +14 -4
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/workflow.rb +43 -1
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/workflow_pause_scheduled_cron_run_queue_behavior.rb +40 -0
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/workflow_update_request.rb +7 -8
- data/lib/hatchet/clients/rest/lib/hatchet-sdk-rest.rb +9 -0
- data/lib/hatchet/concurrency.rb +5 -1
- data/lib/hatchet/context.rb +42 -3
- data/lib/hatchet/contracts/dispatcher/dispatcher_pb.rb +4 -1
- data/lib/hatchet/contracts/dispatcher/dispatcher_services_pb.rb +3 -0
- data/lib/hatchet/contracts/v1/workflows_pb.rb +2 -1
- data/lib/hatchet/durable_context.rb +5 -12
- data/lib/hatchet/features/cel.rb +2 -2
- data/lib/hatchet/features/cron.rb +5 -5
- data/lib/hatchet/features/events.rb +7 -7
- data/lib/hatchet/features/filters.rb +7 -7
- data/lib/hatchet/features/logs.rb +2 -2
- data/lib/hatchet/features/metrics.rb +6 -6
- data/lib/hatchet/features/rate_limits.rb +2 -2
- data/lib/hatchet/features/runs.rb +4 -5
- data/lib/hatchet/features/scheduled.rb +7 -7
- data/lib/hatchet/features/tenant.rb +2 -2
- data/lib/hatchet/features/workers.rb +5 -5
- data/lib/hatchet/features/workflows.rb +6 -6
- data/lib/hatchet/task.rb +13 -0
- data/lib/hatchet/version.rb +1 -1
- data/lib/hatchet/worker/runner.rb +113 -0
- data/lib/hatchet/workflow.rb +77 -33
- data/lib/hatchet-sdk.rb +86 -28
- data/sig/hatchet/batch.rbs +12 -0
- data/sig/hatchet/task.rbs +2 -0
- metadata +13 -2
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hatchet-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- gabriel ruttner
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-08-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -185,6 +185,7 @@ files:
|
|
|
185
185
|
- Rakefile.rest
|
|
186
186
|
- config/openapi_generator_config.json
|
|
187
187
|
- lib/hatchet-sdk.rb
|
|
188
|
+
- lib/hatchet/batch.rb
|
|
188
189
|
- lib/hatchet/clients.rb
|
|
189
190
|
- lib/hatchet/clients/grpc/admin.rb
|
|
190
191
|
- lib/hatchet/clients/grpc/dispatcher.rb
|
|
@@ -216,6 +217,7 @@ files:
|
|
|
216
217
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/api/log_api.rb
|
|
217
218
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/api/metadata_api.rb
|
|
218
219
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/api/observability_api.rb
|
|
220
|
+
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/api/operator_api.rb
|
|
219
221
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/api/rate_limits_api.rb
|
|
220
222
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/api/slack_api.rb
|
|
221
223
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/api/sns_api.rb
|
|
@@ -290,6 +292,9 @@ files:
|
|
|
290
292
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/otel_span_list.rb
|
|
291
293
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/otel_status_code.rb
|
|
292
294
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/pagination_response.rb
|
|
295
|
+
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/pause_workflow_request.rb
|
|
296
|
+
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/pause_workflow_request_pause.rb
|
|
297
|
+
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/pause_workflow_request_unpause.rb
|
|
293
298
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/pull_request.rb
|
|
294
299
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/pull_request_state.rb
|
|
295
300
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/queue_metrics.rb
|
|
@@ -373,6 +378,7 @@ files:
|
|
|
373
378
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_cel_debug_response.rb
|
|
374
379
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_cel_debug_response_status.rb
|
|
375
380
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_create_filter_request.rb
|
|
381
|
+
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_create_http_operator_request.rb
|
|
376
382
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_create_webhook_request.rb
|
|
377
383
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_create_webhook_request_api_key.rb
|
|
378
384
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_create_webhook_request_base.rb
|
|
@@ -389,6 +395,8 @@ files:
|
|
|
389
395
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_event_workflow_run_summary.rb
|
|
390
396
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_filter.rb
|
|
391
397
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_filter_list.rb
|
|
398
|
+
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_http_operator.rb
|
|
399
|
+
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_http_operator_list.rb
|
|
392
400
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_log_line.rb
|
|
393
401
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_log_line_level.rb
|
|
394
402
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_log_line_list.rb
|
|
@@ -415,6 +423,7 @@ files:
|
|
|
415
423
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_task_timing_list.rb
|
|
416
424
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_trigger_workflow_run_request.rb
|
|
417
425
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_update_filter_request.rb
|
|
426
|
+
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_update_http_operator_request.rb
|
|
418
427
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_update_webhook_request.rb
|
|
419
428
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_wait_item.rb
|
|
420
429
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/v1_webhook.rb
|
|
@@ -453,6 +462,7 @@ files:
|
|
|
453
462
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/workflow_kind.rb
|
|
454
463
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/workflow_list.rb
|
|
455
464
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/workflow_metrics.rb
|
|
465
|
+
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/workflow_pause_scheduled_cron_run_queue_behavior.rb
|
|
456
466
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/workflow_run.rb
|
|
457
467
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/workflow_run_list.rb
|
|
458
468
|
- lib/hatchet/clients/rest/lib/hatchet-sdk-rest/models/workflow_run_order_by_direction.rb
|
|
@@ -534,6 +544,7 @@ files:
|
|
|
534
544
|
- lib/rubocop/cop/hatchet/rbs_signature_exists.rb
|
|
535
545
|
- sig/_dependencies.rbs
|
|
536
546
|
- sig/hatchet-sdk.rbs
|
|
547
|
+
- sig/hatchet/batch.rbs
|
|
537
548
|
- sig/hatchet/clients.rbs
|
|
538
549
|
- sig/hatchet/clients/grpc/admin.rbs
|
|
539
550
|
- sig/hatchet/clients/grpc/dispatcher.rbs
|