Linux 软件免费装
Banner图

Asyncra Queue Triage for Action Scheduler

开发者 hamzaahmadaslam
更新时间 2026年11月7日 02:06
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce wp-cron site health action scheduler scheduled actions

下载

1.0.0

详情介绍:

Action Scheduler is the background job queue inside WooCommerce and many other plugins. When it goes wrong, its own screen lists the actions one row at a time, and the notice "past-due actions found; something may be wrong" does not say what is wrong. Asyncra Queue Triage adds one screen under Tools > Queue Triage that answers the questions a store owner or a developer asks first: It also adds two Site Health tests (is the queue running on time, are actions failing), a section in Site Health Info, a report you can paste into a support ticket, and a WP-CLI command. What it never does Why "retry candidate" and not "safe to retry" The rules read the error text and the hook name, nothing else. They cannot see whether a payment went through before a timeout, or whether a remote service already received a request. So no group is ever called safe, and hooks whose names suggest payments, renewals, refunds, receipts, emails or webhooks never get the retry label at all. Works with Anything that uses Action Scheduler with its own database tables, such as WooCommerce, the Action Scheduler plugin and the many plugins that bundle it. Tested with Action Scheduler 3.9.2, 4.1.0 (inside WooCommerce 11.2.1) and 4.2.0. If no active plugin loads Action Scheduler, the screen still reads the tables that remain and says so. WP-CLI wp queue-triage report prints the support report. --format=groups prints the failure groups as a table, --format=json prints everything, and --sample=2000 reads more failed actions. Source code Development happens on GitHub: hamzaahmadaslam/asyncra-queue-triage. Issues and pull requests are welcome there.

安装:

  1. Install and activate the plugin from Plugins > Add New, or upload the zip.
  2. Open Tools > Queue Triage.
There is nothing to set up. Administrators (the manage_options capability) can see the screen.

屏幕截图:

  • Past-due actions by hook, the queue counts and the runner.
  • Table sizes, retention in effect, the Action Scheduler copies on the site, and the report for a support ticket.
  • The two Site Health tests.

常见问题:

Does it slow down my site?

No. It does nothing on the front end. The screen, the Site Health tests and the WP-CLI command run a fixed set of read queries when you open them, each limited or using Action Scheduler's indexes.

Can it retry the failed actions for me?

No, on purpose. Action Scheduler does not run a failed action again; running the work again means scheduling a new action with the same hook and arguments. Whether that is safe depends on what the callback does, which only you or the plugin's developer can judge. Fix the cause first, then use the tools of the plugin that owns the hook.

What is a "past-due" action?

A pending action whose scheduled time has passed. A few minutes late is normal between two runs of the queue. Hours or days late means nothing is running the queue, or it cannot keep up.

WP-Cron is disabled on my site. Is that a problem?

Not by itself. Many hosts disable WP-Cron and run it from a server cron job or WP-CLI. Queue Triage shows when anything last ran, so you can see whether something else is doing the job.

What is in the support report?

Versions, counts, settings, the past-due hooks, and the failure groups as hook names and error signatures. It leaves out action arguments, action ids, group names, email addresses, IP addresses, URL query strings and server paths. Read it before you share it: a hook name or an error message can still say something about your site.

Who can see the screen?

Users with the manage_options capability. Developers can change it with the queue_triage_capability filter. The queue_triage_failed_sample filter changes how many failed actions are read (500 by default, at most 5000).

My site is not in English.

The screen can be translated. Action Scheduler's own log lines are read in English; on a site in another language the last log line is used as the error, so grouping still works but some causes may show as "Review".

更新日志:

1.0.0