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

System status checks only shows 25 messages #21748

Merged
merged 1 commit into from
Oct 6, 2021

Conversation

mattwire
Copy link
Contributor

@mattwire mattwire commented Oct 6, 2021

Overview

Because this page uses API3 and doesn't specify limit=0 it's only showing the first 25 status checks. That's particularly bad because they get sorted by severity and it's the lowest severity first meaning you won't see the real problems if you have more than 25 checks.

Before

Only first 25 (lowest severity) system status check messages are shown.

After

All system status check messages are shown.

Technical Details

Add limit=0

Comments

@mlutfy I'm surprised if you didn't already see this - I'm using an extension based on your symbiotic one that does lot's of extra system checks.

@civibot
Copy link

civibot bot commented Oct 6, 2021

(Standard links)

@colemanw
Copy link
Member

colemanw commented Oct 6, 2021

You've got to be kidding me.

@mlutfy
Copy link
Member

mlutfy commented Oct 6, 2021

Oh, that explains some odd behaviours I've seen indeed.

Without the patch:

image

With the patch:

image

@colemanw You'd be surprised how many hours of debugging we save with these extra monitoring checks:

  • Site added with a language not supported by the system, and devs wonder why it's not displaying in the right language
  • Devs doing dump/restore of MySQL tables and deleting all the Foreign Keys
  • Email quotas, high rate of bounces, invalid sending domains, ...
  • we also monitor for some obscure known bugs that we don't really know how they happen, but they sometimes happen.

It adds up pretty quickly :)

@colemanw
Copy link
Member

colemanw commented Oct 6, 2021

@mlutfy those checks look useful. My comment wasn't directed at those; more like "you gotta be kidding me, when are we ever going to stop getting bitten by the limit=25 gotcha!"

@colemanw colemanw merged commit ed4c9f6 into civicrm:master Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants