Case study
WordPress Fleet Management & Automation Platform
I built an internal operations platform for managing a collection of WordPress installations across a shared hosting environment. It brings site inventory, update selection, scheduled automation, backup visibility, job history, administrator access, and project provisioning into one dashboard. The work centered on making server-side operations observable and controlled: stable installation identities, queued execution, current-policy checks, clear failure states, and explicit limits around recovery and first publication.
At a glance
- Account-and-path installation identity across single-site and mapped multisite workflows
- Queued scans, updates, access requests, and provisioning operations
- Execution-time automation policy checks and emergency-stop behavior
- Backup eligibility, scan freshness, and duplicate-work controls
- Version recovery paths with visible limitations and manual-attention states
- Outcome-based batch summaries with retry and deduplication
The problem
Routine WordPress maintenance required moving between hosting controls, individual site administrators, command-line tools, and update logs. The information needed to make a decision was scattered across those systems.
A consolidated interface also had to handle the differences between installations: multiple sites within a hosting account, staging environments, multisite networks, runtime compatibility, licensed packages, and inconsistent URL configuration.
The engineering problem was to connect that inventory to long-running actions without making the browser responsible for execution or allowing stale information to authorize a later operation.
Constraints
Existing hosting accounts and WordPress installations had to remain the operational boundary. Server commands and site-level work needed appropriate account ownership and explicit privileges. Automatic work had to obey current policy, maintenance windows, scan freshness, backup eligibility, and emergency stops. Licensed update packages and previous versions could not be assumed available. A successful HTTP check could not stand in for complete functional testing. Provisioning and initial publication had to preserve existing production data and use project-specific configuration. Credentials, license material, and login tokens could not be exposed through normal dashboard results or reports.
The solution
Separate inventory, requests, and execution
I implemented a React dashboard with PHP API endpoints and Python/Bash workers using WP-CLI and hosting integrations. Installation identities combine the hosting account and filesystem path, so multiple installations in the same account can be handled independently.
Scans and actions use queues with progress and result records. The interface submits requests and reads status; workers validate and execute operations. Locks and duplicate-job checks control overlapping work.
Apply policy where changes happen
The automation planner selects eligible updates under configurable schedules, update types, risk levels, exclusions, and site overrides. Automatic jobs recheck policy and scan eligibility when execution starts and between update items. Global stop and backup requirements remain above site-specific settings.
Make recovery states visible
Update results include version changes, homepage health information, fatal-log checks where available, and distinct failure or recovery outcomes. Supported plugin and theme operations can attempt previous-version recovery. Unavailable packages and unrecovered failures remain explicit operational states rather than being presented as successful updates.
Extend the platform with bounded workflows
Administrator access uses explicit installation/user mappings and short-lived single-use grants. Provisioning creates fresh project installations; initial publication requires an empty live destination, a separate live database, serialization-aware URL replacement, and post-copy validation. It intentionally does not overwrite an existing running site.
Close the loop with actual results
Automated batch summaries reconcile the saved plan with worker outcomes. They account for incomplete batches, retry failed mail submissions, and deduplicate successful notifications. Reports omit raw logs and sensitive authentication or package information.
The UI is organized into overview, websites, automation, activity, and settings views. Shared dashboard state and API actions are separated from component presentation and pure update-inventory calculations.
Results
- Centralized operational inventory, update controls, and job history
- One execution path shared by manual update requests and scheduled update jobs
- Policy changes can block queued automatic work before subsequent update items begin
- Clear separation between successful updates, recovery attempts, blocked work, and unresolved failures
- Reusable staging and initial-publication workflows that refuse occupied live destinations
- Targeted test coverage for policy decisions, access-grant handling, provisioning boundaries, and summary reporting
What comes next
Continue refining site-specific compatibility handling, operator feedback, and workflow-level verification beyond homepage checks. Recovery procedures and package availability remain areas that require explicit operational judgment.