Атрибути
{
  "id": "cb303476-6556-41e6-9e07-0a368fa031d2",
  "callback_priority": null,
  "callback_queue_name": null,
  "created_at": "2026-11-30 21:24:00 UTC",
  "description": "Example batch",
  "discarded_at": "2026-11-30 21:24:06 UTC",
  "enqueued_at": "2026-11-30 21:24:00 UTC",
  "finished_at": "2026-11-30 21:24:06 UTC",
  "jobs_finished_at": "2026-11-30 21:24:06 UTC",
  "on_discard": null,
  "on_finish": "ExampleJob::BatchJob::CallbackJob",
  "on_success": null,
  "properties": {
    "foo": "bar"
  },
  "updated_at": "2026-11-30 21:24:06 UTC"
}
Задачі з зворотнім викликом
Роботи
Черга
Пріоритет
Спроби
Черга
default
Пріоритет
0
Спроби
1
Успішно виконано
{
  "job_id": "6b9036d2-1f6d-459f-b71e-94983b3e5c84",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/cb303476-6556-41e6-9e07-0a368fa031d2"
    },
    {
      "event": {
        "value": "finish",
        "_aj_serialized": "ActiveJob::Serializers::SymbolSerializer"
      },
      "_aj_symbol_keys": [
        "event"
      ]
    }
  ],
  "job_class": "ExampleJob::BatchJob::CallbackJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2026-11-30T21:24:06.967468414Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "6b9036d2-1f6d-459f-b71e-94983b3e5c84",
    "active_job_id": "6b9036d2-1f6d-459f-b71e-94983b3e5c84",
    "batch_callback_id": "cb303476-6556-41e6-9e07-0a368fa031d2",
    "batch_id": null,
    "concurrency_key": "ExampleJob::BatchJob::CallbackJob",
    "created_at": "2026-11-30 21:24:06 UTC",
    "cron_at": null,
    "cron_key": null,
    "error": null,
    "error_event": null,
    "executions_count": 1,
    "finished_at": "2026-11-30 21:24:06 UTC",
    "job_class": "ExampleJob::BatchJob::CallbackJob",
    "labels": null,
    "lock_type": null,
    "locked_at": null,
    "locked_by_id": null,
    "performed_at": "2026-11-30 21:24:06 UTC",
    "priority": 0,
    "queue_name": "default",
    "scheduled_at": "2026-11-30 21:24:06 UTC",
    "updated_at": "2026-11-30 21:24:06 UTC"
  }
}
Задачі в пакеті
Роботи
Черга
Пріоритет
Спроби
Черга
default
Пріоритет
0
Спроби
3
Відхилено
{
  "job_id": "bf6a48ce-9d11-47f5-82a7-b6002e7e86ef",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2026-11-30T21:24:03.257333169Z",
  "scheduled_at": "2026-11-30T21:24:06.602068763Z",
  "provider_job_id": "bf6a48ce-9d11-47f5-82a7-b6002e7e86ef",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "bf6a48ce-9d11-47f5-82a7-b6002e7e86ef",
    "active_job_id": "bf6a48ce-9d11-47f5-82a7-b6002e7e86ef",
    "batch_callback_id": null,
    "batch_id": "cb303476-6556-41e6-9e07-0a368fa031d2",
    "concurrency_key": "ExampleJob",
    "created_at": "2026-11-30 21:24:03 UTC",
    "cron_at": null,
    "cron_key": null,
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "error_event": "retry_stopped",
    "executions_count": 3,
    "finished_at": "2026-11-30 21:24:06 UTC",
    "job_class": "ExampleJob",
    "labels": [
      "dead"
    ],
    "lock_type": null,
    "locked_at": null,
    "locked_by_id": null,
    "performed_at": "2026-11-30 21:24:06 UTC",
    "priority": 0,
    "queue_name": "default",
    "scheduled_at": "2026-11-30 21:24:06 UTC",
    "updated_at": "2026-11-30 21:24:06 UTC"
  }
}
Черга
default
Пріоритет
0
Спроби
3
Відхилено
{
  "job_id": "96c37df0-ff48-432c-b9bf-08bae04ce604",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2026-11-30T21:24:03.532267418Z",
  "scheduled_at": "2026-11-30T21:24:06.934033878Z",
  "provider_job_id": "96c37df0-ff48-432c-b9bf-08bae04ce604",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "96c37df0-ff48-432c-b9bf-08bae04ce604",
    "active_job_id": "96c37df0-ff48-432c-b9bf-08bae04ce604",
    "batch_callback_id": null,
    "batch_id": "cb303476-6556-41e6-9e07-0a368fa031d2",
    "concurrency_key": "ExampleJob",
    "created_at": "2026-11-30 21:24:03 UTC",
    "cron_at": null,
    "cron_key": null,
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "error_event": "retry_stopped",
    "executions_count": 3,
    "finished_at": "2026-11-30 21:24:06 UTC",
    "job_class": "ExampleJob",
    "labels": [
      "dead"
    ],
    "lock_type": null,
    "locked_at": null,
    "locked_by_id": null,
    "performed_at": "2026-11-30 21:24:06 UTC",
    "priority": 0,
    "queue_name": "default",
    "scheduled_at": "2026-11-30 21:24:06 UTC",
    "updated_at": "2026-11-30 21:24:06 UTC"
  }
}
Черга
default
Пріоритет
0
Спроби
2
Успішно виконано
{
  "job_id": "45eb21e3-0025-4cee-9730-f1a6915459b4",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_once"
  ],
  "job_class": "ExampleJob",
  "executions": 1,
  "queue_name": "default",
  "enqueued_at": "2026-11-30T21:24:00.142999859Z",
  "scheduled_at": "2026-11-30T21:24:03.186166698Z",
  "provider_job_id": "45eb21e3-0025-4cee-9730-f1a6915459b4",
  "exception_executions": {
    "[StandardError]": 1
  },
  "_good_job": {
    "id": "45eb21e3-0025-4cee-9730-f1a6915459b4",
    "active_job_id": "45eb21e3-0025-4cee-9730-f1a6915459b4",
    "batch_callback_id": null,
    "batch_id": "cb303476-6556-41e6-9e07-0a368fa031d2",
    "concurrency_key": "ExampleJob",
    "created_at": "2026-11-30 21:24:00 UTC",
    "cron_at": null,
    "cron_key": null,
    "error": null,
    "error_event": null,
    "executions_count": 2,
    "finished_at": "2026-11-30 21:24:03 UTC",
    "job_class": "ExampleJob",
    "labels": [
      "error_once"
    ],
    "lock_type": null,
    "locked_at": null,
    "locked_by_id": null,
    "performed_at": "2026-11-30 21:24:03 UTC",
    "priority": 0,
    "queue_name": "default",
    "scheduled_at": "2026-11-30 21:24:03 UTC",
    "updated_at": "2026-11-30 21:24:03 UTC"
  }
}