Skip to content

fix: apply revocations when services can't load #673

Closed

Description

@uniqueg

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.

Found while working on #665. Pre-existing.

Activity

  1. added this to the v0.21.0 milestone on Nov 4, 2026
  2. added
    priority: medium
    status: triage
    type: security
    workload: hours
    on Nov 4, 2026
  3. uniqueg commented on Nov 4, 2026

    @uniqueg
    MemberAuthor

    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.

  4. added
    status: in progress
    and removed
    status: triage
    on Nov 4, 2026
  5. removed
    status: in progress
    on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype: securityworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions