Add Optimizer smoke test to Site Health integration #4869
Labels
Integration: WP Core
Optimizer
P2
Low priority
WS:Perf
Work stream for Metrics, Performance and Optimizer
Feature description
If the Optimizer throws a fatal error, it will not take the server down, but rather fail silently and leave the unoptimized output to be sent to the browser.
This means you can have an inactive Optimizer (that just takes up server resources without producing a result) without knowing it.
The Site Health integration should be extended to add a smoke test that tries to optimize a basic page. This way, we can show a warning/error if the Optimizer is fataling. This might for example happen if you have misconfigured it via the configuration filters.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation brief
amp_site_health_test_optimizer=1
'amp_enable_optimizer'
istrue
QA testing instructions
Demo
Changelog entry
The text was updated successfully, but these errors were encountered: