From e4c924a85e8e04386ebea67fab23e634cd5933f0 Mon Sep 17 00:00:00 2001 From: jochen Date: Mon, 21 Sep 2026 19:32:36 +0200 Subject: [PATCH] The grant bed's consumer takes a slug: its derived identity was one character over what a backend keeps --- test/integration/mesh-grant-end-to-end.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/integration/mesh-grant-end-to-end.test.ts b/test/integration/mesh-grant-end-to-end.test.ts index 172fdc1..509325b 100644 --- a/test/integration/mesh-grant-end-to-end.test.ts +++ b/test/integration/mesh-grant-end-to-end.test.ts @@ -152,6 +152,9 @@ test("the mesh grants a consumer redis's cache, and the credential it delivers a const consumerManifest = JSON.stringify({ module: "cacheuser", version: "1", + // `mesh_anchor_cacheuser` is 21 characters, over the 20 a backend keeps (ADR 0049); the slug + // makes the consumer identity `mesh_anchor_cache`. + slug: "cache", requires: ["redis-cache"], // `contributes` (not just `requires`) is what makes a consumer *ask* — the grant forms from a // contribution. It must be non-empty; redis's provisioner ignores the value (it uses the login