Skip to content

🐛 Fix issue with VIP environments#173

Merged
darylldoyle merged 1 commit intodevelopfrom
fix/vip-cache-check
Mar 18, 2025
Merged

🐛 Fix issue with VIP environments#173
darylldoyle merged 1 commit intodevelopfrom
fix/vip-cache-check

Conversation

@darylldoyle
Copy link
Copy Markdown
Contributor

Description of the Change

VIP environments return false for object cache, causing Monitor to flag them as failing. Since VIP is a managed host that always has object caching enabled, we can safely return true if we can confirm that it’s a VIP env. This can be done via the VIP_GO_APP_ENVIRONMENT const as per https://docs.wpvip.com/infrastructure/environments/environment-specific-code/

How to test the Change

Changelog Entry

  • Fixed - Issue with cache returning false on VIP environments.

Credits

Props @darylldoyle, @joshuaabenazer

Checklist:

VIP environments return `false` for object cache, causing Monitor to flag them as failing. Since VIP is a managed host that always has object caching enabled, we can safely return true if we can confirm that it’s a VIP env. This can be done via the VIP_GO_APP_ENVIRONMENT const as per https://docs.wpvip.com/infrastructure/environments/environment-specific-code/
@darylldoyle darylldoyle added the bug Something isn't working label Mar 18, 2025
@darylldoyle darylldoyle self-assigned this Mar 18, 2025
@darylldoyle darylldoyle requested a review from tlovett1 March 18, 2025 10:59
@darylldoyle darylldoyle merged commit 2c12110 into develop Mar 18, 2025
5 checks passed
@darylldoyle darylldoyle deleted the fix/vip-cache-check branch March 18, 2025 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants