Attributi
{
  "id": "9b318ea1-02bd-4b55-b0ff-a2949026f798",
  "created_at": "2024-11-21 08:47:30 UTC",
  "updated_at": "2024-11-21 08:47: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 08:47:30 UTC",
  "discarded_at": "2024-11-21 08:47:37 UTC",
  "finished_at": "2024-11-21 08:47:37 UTC",
  "jobs_finished_at": "2024-11-21 08:47:37 UTC",
  "properties": {
    "foo": "bar"
  }
}
Job di callback
Job
Coda
Priorità
Tentativi
{
  "job_id": "c02d101a-036c-4811-ba43-ae1ea4c44c59",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/9b318ea1-02bd-4b55-b0ff-a2949026f798"
    },
    {
      "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-21T08:47:37.177984236Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "c02d101a-036c-4811-ba43-ae1ea4c44c59",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:47:37 UTC",
    "performed_at": "2024-11-21 08:47:37 UTC",
    "finished_at": "2024-11-21 08:47:37 UTC",
    "error": null,
    "created_at": "2024-11-21 08:47:37 UTC",
    "updated_at": "2024-11-21 08:47:37 UTC",
    "active_job_id": "c02d101a-036c-4811-ba43-ae1ea4c44c59",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "9b318ea1-02bd-4b55-b0ff-a2949026f798",
    "executions_count": 1,
    "job_class": "ExampleJob::BatchJob::CallbackJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Job raggruppati
Job
Coda
Priorità
Tentativi
Coda
default
Priorità
0
Tentativi
3
{
  "job_id": "00bc4a56-ccc1-4a80-bc32-1324f09ab982",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T08:47:33.936540376Z",
  "scheduled_at": "2024-11-21T08:47:37.153125837Z",
  "provider_job_id": "00bc4a56-ccc1-4a80-bc32-1324f09ab982",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "00bc4a56-ccc1-4a80-bc32-1324f09ab982",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:47:37 UTC",
    "performed_at": "2024-11-21 08:47:37 UTC",
    "finished_at": "2024-11-21 08:47:37 UTC",
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "created_at": "2024-11-21 08:47:33 UTC",
    "updated_at": "2024-11-21 08:47:37 UTC",
    "active_job_id": "00bc4a56-ccc1-4a80-bc32-1324f09ab982",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "9b318ea1-02bd-4b55-b0ff-a2949026f798",
    "batch_callback_id": null,
    "executions_count": 3,
    "job_class": "ExampleJob",
    "error_event": "retry_stopped",
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Coda
default
Priorità
0
Tentativi
1
{
  "job_id": "1c8c46b4-b3ff-4061-9bc0-4d60cbb5c6cf",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "success"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T08:47:30.431775205Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "1c8c46b4-b3ff-4061-9bc0-4d60cbb5c6cf",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:47:30 UTC",
    "performed_at": "2024-11-21 08:47:30 UTC",
    "finished_at": "2024-11-21 08:47:30 UTC",
    "error": null,
    "created_at": "2024-11-21 08:47:30 UTC",
    "updated_at": "2024-11-21 08:47:30 UTC",
    "active_job_id": "1c8c46b4-b3ff-4061-9bc0-4d60cbb5c6cf",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "9b318ea1-02bd-4b55-b0ff-a2949026f798",
    "batch_callback_id": null,
    "executions_count": 1,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Coda
default
Priorità
0
Tentativi
1
{
  "job_id": "b49d0830-dd02-40da-9696-1d79fcbef85a",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "success"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T08:47:30.431727414Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "b49d0830-dd02-40da-9696-1d79fcbef85a",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:47:30 UTC",
    "performed_at": "2024-11-21 08:47:30 UTC",
    "finished_at": "2024-11-21 08:47:30 UTC",
    "error": null,
    "created_at": "2024-11-21 08:47:30 UTC",
    "updated_at": "2024-11-21 08:47:30 UTC",
    "active_job_id": "b49d0830-dd02-40da-9696-1d79fcbef85a",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "9b318ea1-02bd-4b55-b0ff-a2949026f798",
    "batch_callback_id": null,
    "executions_count": 1,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}