-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update healthcheck
Method to Support First-Party Mode Filters for Tester Plugin Integration
#9855
Comments
Thanks @hussain-t, the IB LGTM. It needed an estimate which I've set to 7 to allow for testing. IB ✅ |
@hussain-t actually, on reflection - |
Sure. Go for it, @techanvil 👍 |
Thanks @hussain-t. I've updated the IB and the PR accordingly. |
Closing this ticket as the tester plugin implementation was updated to leverage the WordPress |
Feature Description
Update the
healthcheck
method in theFirst_Party_Mode
class to support overrides for the health check logic. This enhancement will enable seamless integration with the Site Kit Tester Plugin, allowing developers and testers to simulate various server configurations and validate the behavior of the First-party mode feature.Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
healthcheck
method in theFirst_Party_Mode
class should support dynamic overrides for FPFE and proxy script access checks.Implementation Brief
In
includes/Core/Tags/First_Party_Mode/First_Party_Mode.php
:First_Party_Mode::healthcheck
method to allow dynamic overrides for:googlesitekit_is_fpm_healthy
googlesitekit_is_fpm_script_access_enabled
Test Coverage
QA Brief
firstPartyMode
feature flag enabled.isFPMHealthy
andisScriptAccessEnabled
aretrue
in the returnedresponse
:mu-plugins
with the following content:isFPMHealthy
andisScriptAccessEnabled
properties should befalse
.Changelog entry
The text was updated successfully, but these errors were encountered: