Skip to content

[13.x] Add runtime to ScheduledTaskFailed - #61970

Merged
taylorotwell merged 1 commit into
laravel:13.xfrom
jackbayliss:13.x-include-runtime-in-ScheduledTaskFailed
Oct 14, 2026
Merged

taylorotwell merged 1 commit into
laravel:13.xfrom
jackbayliss:13.x-include-runtime-in-ScheduledTaskFailed

Conversation

@jackbayliss

@jackbayliss jackbayliss commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

ScheduledTaskFinished already carries a runtime, so it would be useful to have it on ScheduledTaskFailed too.

Basically just handy when sending it to a logging service, so we can tell where a task scheduled didn't run at all vs one that actually ran / died. More info = better

@github-actions

Copy link
Copy Markdown

Thanks for submitting a PR!

Note that draft PRs are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@jackbayliss
jackbayliss marked this pull request as ready for review October 13, 2026 13:47
@taylorotwell
taylorotwell merged commit 3727a91 into laravel:13.x Oct 14, 2026
64 checks passed
@jackbayliss
jackbayliss deleted the 13.x-include-runtime-in-ScheduledTaskFailed branch October 14, 2026 14:48
albertcht pushed a commit to hypervel/console that referenced this pull request Oct 31, 2026
Port laravel/framework#61970 (3727a91780ac544845b4cd1abdcd6f5bf8d10f0d).

Append a nullable runtime to ScheduledTaskFailed and supply elapsed seconds from the existing command start time. Preserve listener guards and cancellation handling.

Document the units and unavailable value, and retain the upstream runtime assertion alongside existing event checks. The complete scheduling command test file passes.
albertcht pushed a commit to hypervel/docs that referenced this pull request Oct 31, 2026
Port laravel/framework#61970 (3727a91780ac544845b4cd1abdcd6f5bf8d10f0d).

Append a nullable runtime to ScheduledTaskFailed and supply elapsed seconds from the existing command start time. Preserve listener guards and cancellation handling.

Document the units and unavailable value, and retain the upstream runtime assertion alongside existing event checks. The complete scheduling command test file passes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants