Атрибути
{
  "id": "b838ce3f-f50a-45e5-bbd6-32c77aedc919",
  "created_at": "2024-11-21 06:28:30 UTC",
  "updated_at": "2024-11-21 06:28:37 UTC",
  "description": "Example batch",
  "on_finish": "ExampleJob::BatchJob::CallbackJob",
  "on_success": null,
  "on_discard": null,
  "callback_queue_name": null,
  "callback_priority": null,
  "enqueued_at": "2024-11-21 06:28:30 UTC",
  "discarded_at": "2024-11-21 06:28:36 UTC",
  "finished_at": "2024-11-21 06:28:37 UTC",
  "jobs_finished_at": "2024-11-21 06:28:37 UTC",
  "properties": {
    "foo": "bar"
  }
}
Задачі з зворотнім викликом
Роботи
Черга
Пріоритет
Спроби
Черга
default
Пріоритет
0
Спроби
1
Успішно виконано
{
  "job_id": "9da3f3fc-8ed4-46b5-8f79-7b626d13dd9c",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/b838ce3f-f50a-45e5-bbd6-32c77aedc919"
    },
    {
      "event": {
        "value": "finish",
        "_aj_serialized": "ActiveJob::Serializers::SymbolSerializer"
      },
      "_aj_symbol_keys": [
        "event"
      ]
    }
  ],
  "job_class": "ExampleJob::BatchJob::CallbackJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T06:28:37.079576353Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "9da3f3fc-8ed4-46b5-8f79-7b626d13dd9c",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 06:28:37 UTC",
    "performed_at": "2024-11-21 06:28:37 UTC",
    "finished_at": "2024-11-21 06:28:37 UTC",
    "error": null,
    "created_at": "2024-11-21 06:28:37 UTC",
    "updated_at": "2024-11-21 06:28:37 UTC",
    "active_job_id": "9da3f3fc-8ed4-46b5-8f79-7b626d13dd9c",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "b838ce3f-f50a-45e5-bbd6-32c77aedc919",
    "executions_count": 1,
    "job_class": "ExampleJob::BatchJob::CallbackJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Задачі в пакеті
Роботи
Черга
Пріоритет
Спроби
Черга
default
Пріоритет
0
Спроби
2
Успішно виконано
{
  "job_id": "cc6dccee-12d3-4ce7-9f8b-2bc669bed154",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_once"
  ],
  "job_class": "ExampleJob",
  "executions": 1,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T06:28:30.182699236Z",
  "scheduled_at": "2024-11-21T06:28:33.209453819Z",
  "provider_job_id": "cc6dccee-12d3-4ce7-9f8b-2bc669bed154",
  "exception_executions": {
    "[StandardError]": 1
  },
  "_good_job": {
    "id": "cc6dccee-12d3-4ce7-9f8b-2bc669bed154",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 06:28:33 UTC",
    "performed_at": "2024-11-21 06:28:33 UTC",
    "finished_at": "2024-11-21 06:28:33 UTC",
    "error": null,
    "created_at": "2024-11-21 06:28:30 UTC",
    "updated_at": "2024-11-21 06:28:33 UTC",
    "active_job_id": "cc6dccee-12d3-4ce7-9f8b-2bc669bed154",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "b838ce3f-f50a-45e5-bbd6-32c77aedc919",
    "batch_callback_id": null,
    "executions_count": 2,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Черга
default
Пріоритет
0
Спроби
3
{
  "job_id": "24152fb2-6166-45da-b635-1653ef601ecc",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T06:28:33.339758351Z",
  "scheduled_at": "2024-11-21T06:28:36.641315663Z",
  "provider_job_id": "24152fb2-6166-45da-b635-1653ef601ecc",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "24152fb2-6166-45da-b635-1653ef601ecc",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 06:28:36 UTC",
    "performed_at": "2024-11-21 06:28:36 UTC",
    "finished_at": "2024-11-21 06:28:36 UTC",
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "created_at": "2024-11-21 06:28:33 UTC",
    "updated_at": "2024-11-21 06:28:36 UTC",
    "active_job_id": "24152fb2-6166-45da-b635-1653ef601ecc",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "b838ce3f-f50a-45e5-bbd6-32c77aedc919",
    "batch_callback_id": null,
    "executions_count": 3,
    "job_class": "ExampleJob",
    "error_event": "retry_stopped",
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Черга
default
Пріоритет
0
Спроби
3
{
  "job_id": "a960796c-0f37-4014-b50d-98e3ccb98ebc",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T06:28:33.598636223Z",
  "scheduled_at": "2024-11-21T06:28:37.000782744Z",
  "provider_job_id": "a960796c-0f37-4014-b50d-98e3ccb98ebc",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "a960796c-0f37-4014-b50d-98e3ccb98ebc",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 06:28:37 UTC",
    "performed_at": "2024-11-21 06:28:37 UTC",
    "finished_at": "2024-11-21 06:28:37 UTC",
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "created_at": "2024-11-21 06:28:33 UTC",
    "updated_at": "2024-11-21 06:28:37 UTC",
    "active_job_id": "a960796c-0f37-4014-b50d-98e3ccb98ebc",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "b838ce3f-f50a-45e5-bbd6-32c77aedc919",
    "batch_callback_id": null,
    "executions_count": 3,
    "job_class": "ExampleJob",
    "error_event": "retry_stopped",
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}