You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: apply revocations when services can't load #673
RegistryCache reads GET /verifications and then GET /services. If the first read succeeds and the second fails, the fresh verifications are thrown away along with the rest, and the previous list stays in use for up to max_stale (default one hour). So a revoked verification can keep applying for that long.
Apply what was read: a successful read of the verifications should remove backends that are no longer verified, also when the services can't be read. Consider a filter or pagination for the registry's /services too, since it's unpaginated and its size counts against FOCA's response limit. That part would need a change in Cloud Registry.
Note on the registry part: no change to Cloud Registry from this issue. With the fix, a failing GET /services no longer delays revocations, so a filter or pagination isn't needed for that. What's left is the response limit of FOCA (16 MiB) for GET /services, far above the size of registries we know of, and a list that doesn't fit counts as a failed read, with max_stale as the bound. GET /services also is the GA4GH Service Registry's plain list. If a registry ever gets near that size, it's worth a separate issue in cloud-registry.
Activity
uniqueg commentedon Nov 4, 2026
Note on the registry part: no change to Cloud Registry from this issue. With the fix, a failing
GET /servicesno longer delays revocations, so a filter or pagination isn't needed for that. What's left is the response limit of FOCA (16 MiB) forGET /services, far above the size of registries we know of, and a list that doesn't fit counts as a failed read, withmax_staleas the bound.GET /servicesalso is the GA4GH Service Registry's plain list. If a registry ever gets near that size, it's worth a separate issue in cloud-registry.