Page MenuHomePhabricator

Linked Artifact Cache - use explicit names in gRPC protocol
Closed, ResolvedPublic

Description

Hoarde currently associates a LambdaRequest specifically with a request for a wiki/page/revision based artifact.

We should name the artifact type protocols explicitly asap, so that users don't have to migrate later if we add support for other kinds of artifacts (e.g. users).

Done is

  • Hoarde protobuf explicitly names its contracts.

Details

Event Timeline

This patch is copying Hoarde's lambda.proto file. If that patch is deployed, it will make it difficult to change the protobuf contract later. cc @Esanders

LambdaResponse is relatively generic and is probably fine as is.

Perhaps:

  • LambdaService -> LambdaRevisionService
  • LambdaRequest -> LambdaRevisionRequest

?

Related:

Eevans triaged this task as High priority.Tue, Jul 21, 6:11 PM

Change #1314000 had a related patch set uploaded (by Eevans; author: Eevans):

[operations/deployment-charts@master] linked-artifacts: upgrade to Hoarde v1.5.0

https://gerrit.wikimedia.org/r/1314000

Change #1314000 merged by jenkins-bot:

[operations/deployment-charts@master] linked-artifacts: upgrade to Hoarde v1.5.0

https://gerrit.wikimedia.org/r/1314000

Change #1314013 had a related patch set uploaded (by Eevans; author: Eevans):

[operations/deployment-charts@master] linked-artifacts: upgrade (production) to Hoarde v1.5.0

https://gerrit.wikimedia.org/r/1314013

Change #1314013 merged by jenkins-bot:

[operations/deployment-charts@master] linked-artifacts: upgrade (production) to Hoarde v1.5.0

https://gerrit.wikimedia.org/r/1314013

Eevans updated the task description. (Show Details)

Deployed as v1.5.0; {{done}}