Skip to content

fix(monitoringapi): remove the vc missing validators ready check - #687

Open
varex83agent wants to merge 1 commit into
mainfrom
fix/issue-683-remove-vc-missing-validators
Open

fix(monitoringapi): remove the vc missing validators ready check#687
varex83agent wants to merge 1 commit into
mainfrom
fix/issue-683-remove-vc-missing-validators

Conversation

@varex83agent

Copy link
Copy Markdown
Collaborator

Closes #683.

/readyz never became ready when not every key in a cluster was active: the beacon node only
returns duties for active validators, so the expected pubkey set could never be fully observed and
the node served 500 vc missing validators with app_monitoring_readyz stuck at 6 while every
active validator did its duties normally.

Charon deleted the same check in v1.10.0 (ObolNetwork/charon#4359) for this exact failure mode, and
its v1.11.0 readiness chain ends at vc not connected. This removes
ValidatorClientMissingValidators, retires readyz code 6 (the remaining codes are unchanged —
7/8 keep their values, matching charon's app/metrics.go), and drops the seen-pubkeys
observation plumbing that existed only to feed it. /readyz still reports vc not connected
(code 5) when the VC makes no validator API calls during an epoch.

Co-Authored-By: Bohdan Ohorodnii 35969035+varex83@users.noreply.github.com

The check served 500 `vc missing validators` forever whenever not every
key in a cluster was active, since the beacon node only returns duties
for active validators and the expected set can never be fully observed.

Charon deleted the same check in v1.10.0 (ObolNetwork/charon#4359) for
this exact failure mode; its v1.11.0 readiness chain ends at `vc not
connected`. This drops `ValidatorClientMissingValidators`, retires
readyz code `6`, and removes the seen-pubkeys observation plumbing that
existed only to feed it.

Closes #683.

Co-Authored-By: Bohdan Ohorodnii <35969035+varex83@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove the vc missing validators ready check, as charon did in v1.10.0

2 participants