Skip to content

Add read-only Action Scheduler diagnostics - #240

Merged
mehul0810 merged 1 commit into
release/1.8.0from
feature/181-action-scheduler-diagnostics
Aug 11, 2026
Merged

Add read-only Action Scheduler diagnostics#240
mehul0810 merged 1 commit into
release/1.8.0from
feature/181-action-scheduler-diagnostics

Conversation

@mehul0810

Copy link
Copy Markdown
Collaborator

Closes #181.

Summary

  • adds a manual, cached, current-site Action Scheduler diagnostic with clean absent-table handling
  • reports aggregate pending/running/complete/failed/canceled counts, oldest pending age, top hooks/groups, and action/log row indicators
  • never reads action arguments, payloads, or log messages and never runs, cancels, deletes, or reschedules queue entries
  • explicitly leaves failed-action trend unavailable because reliable derivation would require interpreting private log messages
  • keeps future cleanup separate; no cleanup workflow is included in 1.8.0

Validation

  • PHP lint and scoped PHPCS
  • composer test — 143 tests, 471 assertions
  • npm run test:unit — 40 tests
  • npm run lint
  • npm run build
  • PHPStan full repository and changed-path follow-up
  • git diff --check

Hosted WordPress smoke proof must confirm the absent-queue state, capability denial, clear-only-saved-snapshot behavior, and responsive desktop/mobile UI before merge.

@github-actions

Copy link
Copy Markdown

WordPress Playground Preview

The changes in this pull request can previewed and tested using a WordPress Playground instance.

Open WordPress Playground Preview

@mehul0810
mehul0810 merged commit 7ec8b5a into release/1.8.0 Aug 11, 2026
13 checks passed
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.

1 participant