Skip to content
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

Add site health check to detect blocked REST API and short-circuit optimization when Inaccessible #1762

Open
wants to merge 26 commits into
base: trunk
Choose a base branch
from

Merge branch 'trunk' into add/site-health-check-for-od-rest-api

5949bc9
Select commit
Loading
Failed to load commit list.
Open

Add site health check to detect blocked REST API and short-circuit optimization when Inaccessible #1762

Merge branch 'trunk' into add/site-health-check-for-od-rest-api
5949bc9
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jan 8, 2025 in 1s

62.98% of diff hit (target 31.19%)

View this Pull Request on Codecov

62.98% of diff hit (target 31.19%)

Annotations

Check warning on line 20 in plugins/optimization-detective/hooks.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/optimization-detective/hooks.php#L18-L20

Added lines #L18 - L20 were not covered by tests

Check warning on line 57 in plugins/optimization-detective/load.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/optimization-detective/load.php#L55-L57

Added lines #L55 - L57 were not covered by tests

Check warning on line 65 in plugins/optimization-detective/load.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/optimization-detective/load.php#L62-L65

Added lines #L62 - L65 were not covered by tests

Check warning on line 144 in plugins/optimization-detective/load.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/optimization-detective/load.php#L144

Added line #L144 was not covered by tests

Check warning on line 10 in plugins/optimization-detective/site-health.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/optimization-detective/site-health.php#L9-L10

Added lines #L9 - L10 were not covered by tests

Check warning on line 25 in plugins/optimization-detective/site-health.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/optimization-detective/site-health.php#L22-L25

Added lines #L22 - L25 were not covered by tests

Check warning on line 27 in plugins/optimization-detective/site-health.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/optimization-detective/site-health.php#L27

Added line #L27 was not covered by tests

Check warning on line 73 in plugins/optimization-detective/site-health.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/optimization-detective/site-health.php#L63-L73

Added lines #L63 - L73 were not covered by tests

Check warning on line 111 in plugins/optimization-detective/site-health.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/optimization-detective/site-health.php#L106-L111

Added lines #L106 - L111 were not covered by tests

Check warning on line 127 in plugins/optimization-detective/site-health.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/optimization-detective/site-health.php#L126-L127

Added lines #L126 - L127 were not covered by tests

Check warning on line 137 in plugins/optimization-detective/site-health.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/optimization-detective/site-health.php#L137

Added line #L137 was not covered by tests

Check warning on line 149 in plugins/optimization-detective/site-health.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/optimization-detective/site-health.php#L148-L149

Added lines #L148 - L149 were not covered by tests

Check warning on line 152 in plugins/optimization-detective/site-health.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/optimization-detective/site-health.php#L152

Added line #L152 was not covered by tests

Check warning on line 156 in plugins/optimization-detective/site-health.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/optimization-detective/site-health.php#L154-L156

Added lines #L154 - L156 were not covered by tests

Check warning on line 164 in plugins/optimization-detective/site-health.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/optimization-detective/site-health.php#L158-L164

Added lines #L158 - L164 were not covered by tests

Check warning on line 176 in plugins/optimization-detective/site-health.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/optimization-detective/site-health.php#L175-L176

Added lines #L175 - L176 were not covered by tests

Check warning on line 178 in plugins/optimization-detective/site-health.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/optimization-detective/site-health.php#L178

Added line #L178 was not covered by tests

Check warning on line 184 in plugins/optimization-detective/site-health.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/optimization-detective/site-health.php#L180-L184

Added lines #L180 - L184 were not covered by tests

Check warning on line 187 in plugins/optimization-detective/site-health.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/optimization-detective/site-health.php#L186-L187

Added lines #L186 - L187 were not covered by tests

Check warning on line 111 in plugins/optimization-detective/tests/test-optimization-detective-rest-api-site-health-check.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/optimization-detective/tests/test-optimization-detective-rest-api-site-health-check.php#L106-L111

Added lines #L106 - L111 were not covered by tests