Atributos
{
  "id": "5bd31fc6-a1db-402f-a4ab-c4ac3c5906e2",
  "callback_priority": null,
  "callback_queue_name": null,
  "created_at": "2026-09-24 23:58:30 UTC",
  "description": "Example batch",
  "discarded_at": "2026-09-24 23:58:36 UTC",
  "enqueued_at": "2026-09-24 23:58:30 UTC",
  "finished_at": "2026-09-25 00:16:43 UTC",
  "jobs_finished_at": "2026-09-25 00:16:43 UTC",
  "on_discard": null,
  "on_finish": "ExampleJob::BatchJob::CallbackJob",
  "on_success": null,
  "properties": {
    "foo": "bar"
  },
  "updated_at": "2026-09-25 00:16:43 UTC"
}
Tarefas de Callback
Tarefas
Fila
Prioridade
Rótulos
Tentativas
Fila
default
Prioridade
0
Rótulos
Tentativas
1
Concluído com sucesso
{
  "job_id": "1fae1266-228b-40f9-a0e4-aa0ab05deb1c",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/5bd31fc6-a1db-402f-a4ab-c4ac3c5906e2"
    },
    {
      "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-09-25T00:16:43.430032222Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "1fae1266-228b-40f9-a0e4-aa0ab05deb1c",
    "active_job_id": "1fae1266-228b-40f9-a0e4-aa0ab05deb1c",
    "batch_callback_id": "5bd31fc6-a1db-402f-a4ab-c4ac3c5906e2",
    "batch_id": null,
    "concurrency_key": "ExampleJob::BatchJob::CallbackJob",
    "created_at": "2026-09-25 00:16:43 UTC",
    "cron_at": null,
    "cron_key": null,
    "error": null,
    "error_event": null,
    "executions_count": 1,
    "finished_at": "2026-09-25 00:16:43 UTC",
    "job_class": "ExampleJob::BatchJob::CallbackJob",
    "labels": null,
    "lock_type": null,
    "locked_at": null,
    "locked_by_id": null,
    "performed_at": "2026-09-25 00:16:43 UTC",
    "priority": 0,
    "queue_name": "default",
    "scheduled_at": "2026-09-25 00:16:43 UTC",
    "updated_at": "2026-09-25 00:16:43 UTC"
  }
}
Tarefas em Lote
Tarefas
Fila
Prioridade
Rótulos
Tentativas
Fila
default
Prioridade
0
Rótulos
dead
Tentativas
3
Descartado
{
  "job_id": "1b91fa38-1745-4a7e-8600-d2b2c545ec72",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2026-09-24T23:58:33.404036427Z",
  "scheduled_at": "2026-09-24T23:58:36.623997508Z",
  "provider_job_id": "1b91fa38-1745-4a7e-8600-d2b2c545ec72",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "1b91fa38-1745-4a7e-8600-d2b2c545ec72",
    "active_job_id": "1b91fa38-1745-4a7e-8600-d2b2c545ec72",
    "batch_callback_id": null,
    "batch_id": "5bd31fc6-a1db-402f-a4ab-c4ac3c5906e2",
    "concurrency_key": "ExampleJob",
    "created_at": "2026-09-24 23:58:33 UTC",
    "cron_at": null,
    "cron_key": null,
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "error_event": "retry_stopped",
    "executions_count": 3,
    "finished_at": "2026-09-24 23:58:36 UTC",
    "job_class": "ExampleJob",
    "labels": [
      "dead"
    ],
    "lock_type": null,
    "locked_at": null,
    "locked_by_id": null,
    "performed_at": "2026-09-24 23:58:36 UTC",
    "priority": 0,
    "queue_name": "default",
    "scheduled_at": "2026-09-24 23:58:36 UTC",
    "updated_at": "2026-09-24 23:58:36 UTC"
  }
}
Fila
default
Prioridade
0
Rótulos
error_once
Tentativas
2
Concluído com sucesso
{
  "job_id": "9f59eaa4-ab31-4c5a-b409-9bcccf443dd3",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_once"
  ],
  "job_class": "ExampleJob",
  "executions": 1,
  "queue_name": "default",
  "enqueued_at": "2026-09-24T23:58:30.073745473Z",
  "scheduled_at": "2026-09-24T23:58:33.193584765Z",
  "provider_job_id": "9f59eaa4-ab31-4c5a-b409-9bcccf443dd3",
  "exception_executions": {
    "[StandardError]": 1
  },
  "_good_job": {
    "id": "9f59eaa4-ab31-4c5a-b409-9bcccf443dd3",
    "active_job_id": "9f59eaa4-ab31-4c5a-b409-9bcccf443dd3",
    "batch_callback_id": null,
    "batch_id": "5bd31fc6-a1db-402f-a4ab-c4ac3c5906e2",
    "concurrency_key": "ExampleJob",
    "created_at": "2026-09-24 23:58:30 UTC",
    "cron_at": null,
    "cron_key": null,
    "error": null,
    "error_event": null,
    "executions_count": 2,
    "finished_at": "2026-09-24 23:58:33 UTC",
    "job_class": "ExampleJob",
    "labels": [
      "error_once"
    ],
    "lock_type": null,
    "locked_at": null,
    "locked_by_id": null,
    "performed_at": "2026-09-24 23:58:33 UTC",
    "priority": 0,
    "queue_name": "default",
    "scheduled_at": "2026-09-24 23:58:33 UTC",
    "updated_at": "2026-09-24 23:58:33 UTC"
  }
}
Fila
default
Prioridade
0
Rótulos
error_five_t...
Tentativas
6
Concluído com sucesso
{
  "job_id": "8b5e0ae7-318c-4542-9f99-db3a253d2e5b",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2026-09-25T00:05:07.580752708Z",
  "scheduled_at": "2026-09-25T00:16:43.400692286Z",
  "provider_job_id": "8b5e0ae7-318c-4542-9f99-db3a253d2e5b",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "8b5e0ae7-318c-4542-9f99-db3a253d2e5b",
    "active_job_id": "8b5e0ae7-318c-4542-9f99-db3a253d2e5b",
    "batch_callback_id": null,
    "batch_id": "5bd31fc6-a1db-402f-a4ab-c4ac3c5906e2",
    "concurrency_key": "ExampleJob",
    "created_at": "2026-09-25 00:05:07 UTC",
    "cron_at": null,
    "cron_key": null,
    "error": null,
    "error_event": null,
    "executions_count": 6,
    "finished_at": "2026-09-25 00:16:43 UTC",
    "job_class": "ExampleJob",
    "labels": [
      "error_five_times"
    ],
    "lock_type": null,
    "locked_at": null,
    "locked_by_id": null,
    "performed_at": "2026-09-25 00:16:43 UTC",
    "priority": 0,
    "queue_name": "default",
    "scheduled_at": "2026-09-25 00:16:43 UTC",
    "updated_at": "2026-09-25 00:16:43 UTC"
  }
}