Attributi
{
  "id": "2f542f97-3cf1-410b-8c88-1a86773f60e4",
  "created_at": "2025-11-29 15:34:30 UTC",
  "updated_at": "2025-11-29 15:34:36 UTC",
  "description": "Example batch",
  "properties": {
    "foo": "bar"
  },
  "on_finish": "ExampleJob::BatchJob::CallbackJob",
  "on_success": null,
  "on_discard": null,
  "callback_queue_name": null,
  "callback_priority": null,
  "enqueued_at": "2025-11-29 15:34:30 UTC",
  "discarded_at": "2025-11-29 15:34:36 UTC",
  "finished_at": "2025-11-29 15:34:36 UTC",
  "jobs_finished_at": "2025-11-29 15:34:36 UTC"
}
Job di callback
Job
Coda
Priorità
Etichette
Tentativi
{
  "job_id": "73982f1b-fbca-4d74-b43f-188416b1de11",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/2f542f97-3cf1-410b-8c88-1a86773f60e4"
    },
    {
      "event": {
        "value": "finish",
        "_aj_serialized": "ActiveJob::Serializers::SymbolSerializer"
      },
      "_aj_symbol_keys": [
        "event"
      ]
    }
  ],
  "job_class": "ExampleJob::BatchJob::CallbackJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2025-11-29T15:34:36.418434233Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "73982f1b-fbca-4d74-b43f-188416b1de11",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2025-11-29 15:34:36 UTC",
    "performed_at": "2025-11-29 15:34:36 UTC",
    "finished_at": "2025-11-29 15:34:36 UTC",
    "error": null,
    "created_at": "2025-11-29 15:34:36 UTC",
    "updated_at": "2025-11-29 15:34:36 UTC",
    "active_job_id": "73982f1b-fbca-4d74-b43f-188416b1de11",
    "concurrency_key": "ExampleJob::BatchJob::CallbackJob",
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "2f542f97-3cf1-410b-8c88-1a86773f60e4",
    "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à
Etichette
Tentativi
Coda
default
Priorità
0
Etichette
dead
Tentativi
3
{
  "job_id": "6ce2b339-e1bd-494a-bc1f-f318e2e6db9b",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2025-11-29T15:34:33.224724561Z",
  "scheduled_at": "2025-11-29T15:34:36.367071107Z",
  "provider_job_id": "6ce2b339-e1bd-494a-bc1f-f318e2e6db9b",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "6ce2b339-e1bd-494a-bc1f-f318e2e6db9b",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2025-11-29 15:34:36 UTC",
    "performed_at": "2025-11-29 15:34:36 UTC",
    "finished_at": "2025-11-29 15:34:36 UTC",
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "created_at": "2025-11-29 15:34:33 UTC",
    "updated_at": "2025-11-29 15:34:36 UTC",
    "active_job_id": "6ce2b339-e1bd-494a-bc1f-f318e2e6db9b",
    "concurrency_key": "ExampleJob",
    "cron_key": null,
    "cron_at": null,
    "batch_id": "2f542f97-3cf1-410b-8c88-1a86773f60e4",
    "batch_callback_id": null,
    "executions_count": 3,
    "job_class": "ExampleJob",
    "error_event": "retry_stopped",
    "labels": [
      "dead"
    ],
    "locked_by_id": null,
    "locked_at": null
  }
}
Coda
default
Priorità
0
Etichette
dead
Tentativi
3
{
  "job_id": "f6746575-f7b7-4fb2-9e65-bdac50348f98",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2025-11-29T15:34:33.183353486Z",
  "scheduled_at": "2025-11-29T15:34:36.299785007Z",
  "provider_job_id": "f6746575-f7b7-4fb2-9e65-bdac50348f98",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "f6746575-f7b7-4fb2-9e65-bdac50348f98",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2025-11-29 15:34:36 UTC",
    "performed_at": "2025-11-29 15:34:36 UTC",
    "finished_at": "2025-11-29 15:34:36 UTC",
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "created_at": "2025-11-29 15:34:33 UTC",
    "updated_at": "2025-11-29 15:34:36 UTC",
    "active_job_id": "f6746575-f7b7-4fb2-9e65-bdac50348f98",
    "concurrency_key": "ExampleJob",
    "cron_key": null,
    "cron_at": null,
    "batch_id": "2f542f97-3cf1-410b-8c88-1a86773f60e4",
    "batch_callback_id": null,
    "executions_count": 3,
    "job_class": "ExampleJob",
    "error_event": "retry_stopped",
    "labels": [
      "dead"
    ],
    "locked_by_id": null,
    "locked_at": null
  }
}
Coda
default
Priorità
0
Etichette
success
Tentativi
1
{
  "job_id": "5f9c02d0-242f-4c53-ad9d-491513897cca",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "success"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2025-11-29T15:34:30.059697860Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "5f9c02d0-242f-4c53-ad9d-491513897cca",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2025-11-29 15:34:30 UTC",
    "performed_at": "2025-11-29 15:34:30 UTC",
    "finished_at": "2025-11-29 15:34:30 UTC",
    "error": null,
    "created_at": "2025-11-29 15:34:30 UTC",
    "updated_at": "2025-11-29 15:34:30 UTC",
    "active_job_id": "5f9c02d0-242f-4c53-ad9d-491513897cca",
    "concurrency_key": "ExampleJob",
    "cron_key": null,
    "cron_at": null,
    "batch_id": "2f542f97-3cf1-410b-8c88-1a86773f60e4",
    "batch_callback_id": null,
    "executions_count": 1,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": [
      "success"
    ],
    "locked_by_id": null,
    "locked_at": null
  }
}