Skip to content

Laravel Nova Action Logs show finished, even when jobs fail. #5290

@kerbs-ns

Description

@kerbs-ns
  • Laravel Version: 9.49.0

  • Nova Version: 4.21.0

  • PHP Version: 8.2.1

  • Sail v1.19.0

Description:

  • Laravel Job is created to use batch implements ShouldQueue and use Batchable
  • Laravel Nova Action implements BatchableAction, ShouldQueue
  • Model use Actionable

When queues are disabled/removed/not in use, nova action log does work as expected.

When Nova Action is batchable and queueable and uses job that is batchable and queueable. All models do get nova activity log that are finished, even if they throw exception.

Maybe this is not issue ?!

What is expected to happen when action is queueable, job is queueable and job create resource/model or there is exception.

What should we see in activity log ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions