Skip to content

Block Action Scheduler too#68

Merged
szepeviktor merged 2 commits into
masterfrom
szepeviktor-patch-5
Jul 17, 2026
Merged

Block Action Scheduler too#68
szepeviktor merged 2 commits into
masterfrom
szepeviktor-patch-5

Conversation

@szepeviktor

@szepeviktor szepeviktor commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Added action to modify Action Scheduler behavior by removing the default runner and preventing async requests.


Summary by cubic

Blocks background job execution by disabling ActionScheduler runners on the source server. Removes the default queue runner from action_scheduler_run_queue, forces action_scheduler_allow_async_request_runner to false, and renames the MU plugin to Migration source server guard.

Written for commit 124d471. Summary will update on new commits.

Review in cubic

Added action to modify Action Scheduler behavior by removing the default runner and preventing async requests.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR further hardens the “migration” MU plugin by blocking Action Scheduler background execution, complementing the existing blocks for WP-Cron, outbound HTTP, and email sending.

Changes:

  • Adds an init hook that attempts to remove the default Action Scheduler queue runner.
  • Disables the async request runner via action_scheduler_allow_async_request_runner filter.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread mu-plugins/_core-migration.php
Comment thread mu-plugins/_core-migration.php

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Re-trigger cubic

@szepeviktor
szepeviktor merged commit 15663e4 into master Jul 17, 2026
7 checks passed
@szepeviktor
szepeviktor deleted the szepeviktor-patch-5 branch July 17, 2026 12:48
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