From f04c4ba3bea6bc40992baec1ef61eb4ae021f91c Mon Sep 17 00:00:00 2001 From: jochen Date: Sun, 6 Sep 2026 23:20:59 +0200 Subject: [PATCH] =?UTF-8?q?lavinmq-bed:=20GREEN=20=E2=80=94=20AMQP=20provi?= =?UTF-8?q?der=20provisions=20a=20require-only=20consumer's=20vhost=20(min?= =?UTF-8?q?t=20fix)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two-node: substrate broker on anchor, lavinmq provider + amqp-ping consumer on laptop. The consumer gets its scoped vhost+user, connects, and round-trips a message. Requires the mesh-control require-only-mint fix. Diagnostic removed now it's green. SUITE_EXIT=0. Claude-Session: https://claude.ai/code/session_01LrgweAeERJYBg88c5cKDzF --- test/integration/lavinmq-bed.test.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test/integration/lavinmq-bed.test.ts b/test/integration/lavinmq-bed.test.ts index af37b7b..44a2ab8 100644 --- a/test/integration/lavinmq-bed.test.ts +++ b/test/integration/lavinmq-bed.test.ts @@ -379,15 +379,6 @@ test("the lavinmq provider and its consumer ride laptop while the substrate brok // local control socket needs no auth); the admin authenticating to the management API is implicit, // because the vhost could not exist otherwise. // ================================================================================================ - // DIAG: the provisioner logged no create — is the grant in its receives file, and is the management - // API it must reach actually up? (A stuck waitReady logs neither a create nor an error.) - { - const grants = (await on(NODE, `cat /var/lib/lavinmq-module/grants/mesh.json 2>&1 || echo MISSING`)).out; - const api = (await on(NODE, `docker exec lavinmq sh -c 'wget -qO- http://127.0.0.1:15672/api/overview 2>&1 | head -c 200 || curl -s http://127.0.0.1:15672/api/overview 2>&1 | head -c 200' 2>&1`)).out; - const full = (await on(NODE, `docker logs mesh-lavinmq 2>&1`)).out; - console.log(`\n=== LAVINMQ DIAG ===\ngrants mesh.json:\n${grants}\n--- mgmt API (lavinmq:15672/api/overview) ---\n${api}\n--- mesh-lavinmq full log ---\n${full}\n=== END LAVINMQ DIAG ===\n`); - } - let vhosts = { out: "", ok: false }; const untilVhost = Date.now() + 90_000; while (Date.now() < untilVhost) {