openvibers/openvibe.network Commits

Registry tests pin Contracts 0.83.0's two placeholder services (media-hub, space) as planned

OP OpenVibers committed 29 Sept 2026 · 56bd19b2d7 · 2 files, +6 −5


Changes

ddiff --git a/test/registry-ecosystem.test.js b/test/registry-ecosystem.test.js
iindex 99891f41..23f67f98 100644
---- a/test/registry-ecosystem.test.js
++++ b/test/registry-ecosystem.test.js
@@@ -77,8 +77,8 @@ const { createEcosystemRegistry } = require('../server/registry/ecosystem');
assert.strictEqual(inCat('events'), 'platform'); assert.strictEqual(inCat('ai'), 'platform'); assert.strictEqual(inCat('sources'), 'platform');
assert.strictEqual(inCat('sdk'), 'library'); assert.strictEqual(inCat('contracts'), 'library');
assert.strictEqual(inCat('examples'), 'repository');
-- // 'planned' = exposure placeholder, and no manifest has that state since realtime's was removed
-- assert.deepStrictEqual(cats.planned.services, []);
++ // 'planned' = exposure placeholder: Contracts 0.83.0's media-hub and space (charter only, nothing runs)
++ assert.deepStrictEqual(cats.planned.services.map(x => x.id).sort(), ['media-hub', 'space']);
const liveRow = cats.site.services.find(x => x.id === 'live');
assert.strictEqual(liveRow.runtime, 'down'); assert.ok(liveRow.checked_at, 'rows carry the last check');
r = await get('/api/v1/registry/categories/library');
ddiff --git a/test/registry-exposure.test.js b/test/registry-exposure.test.js
iindex 2bdcddb1..cc24b006 100644
---- a/test/registry-exposure.test.js
++++ b/test/registry-exposure.test.js
@@@ -18,7 +18,8 @@ const PINNED = {
network: 'live', live: 'live', tools: 'live', media: 'live', games: 'live', community: 'live', events: 'live',
billing: 'live', codes: 'live', blog: 'live', wiki: 'live', sites: 'live',
news: 'internal', reviews: 'internal', deals: 'internal', coupons: 'internal', trade: 'internal', host: 'internal',
-- tips: 'internal', vip: 'internal', openre: 'internal', search: 'live', sources: 'internal', chat: 'live', ai: 'internal',
++ tips: 'internal', vip: 'internal', openre: 'internal', search: 'live', sources: 'internal', chat: 'live', 'media-hub': 'placeholder', space: 'placeholder',
++ ai: 'internal',
sdk: 'library', shared: 'library', contracts: 'library', publishing: 'library',
examples: 'repository',
};
@@@ -101,8 +102,8 @@ const ready = [200, { ready: true, status: 'ready', failed: [], degraded: [], ch
assert.strictEqual(sBy.live.label, 'up');
assert.strictEqual(sBy.live.origin, 'https://openvibe.live');
assert.strictEqual(sBy.shared.label, `not running (library, released v${require('openvibe-shared/package.json').version})`);
-- // no manifest has exposure 'placeholder' or 'retired' since realtime's was removed in 0.78.0
-- assert.deepStrictEqual(st.exposure_summary, { live: 14, internal: 11, library: 4, repository: 1, placeholder: 0, retired: 0 });
++ // Contracts 0.83.0 added two placeholder services (media-hub, space); none is retired
++ assert.deepStrictEqual(st.exposure_summary, { live: 14, internal: 11, library: 4, repository: 1, placeholder: 2, retired: 0 });
// The page: no row for a service whose domain serves a placeholder shows a bare "Up".
const html = await fetch(base + '/status').then(x => x.text());