#223·lore

repository delete reports a missing repository as an invalid name

Author: goldyfruitCreated Sep 21, 2026Updated Sep 21, 2026

Small one, on v0.10.0. Deleting a repository that doesn't exist reports a name validation error instead of not-found:

$ lore repository delete -f lore://<host>:41337/does-not-exist
[Error] Not found
  at lore-transport/src/error.rs:28:38
  at lore-revision/src/repository/delete.rs:59 - Invalid repository name, can only contain alphanumerical characters and separators /-_

The response underneath is right:

grpc-status: 5, grpc-message: "Repository does-not-exist not found"

does-not-exist is a valid name, so the message sends you chasing a naming problem that isn't there. I hit this looping over a few repos to clean up — some deleted fine, others came back "invalid name", which looked like inconsistent validation rather than some of them simply being gone. Took me a -d run to see the actual gRPC status.

Would be good to surface the not-found and keep the name validation message for names that actually fail validation.