lavinmq-bed: GREEN — AMQP provider provisions a require-only consumer's vhost (mint fix)

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
This commit is contained in:
2026-09-06 23:20:59 +02:00
parent 73bd086193
commit f04c4ba3be
-9
View File
@@ -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) {