openvibers/openvibe.host Commits

openvibe-contracts v0.200.0 (was v0.199.0) (#123)

OP OpenVibers committed 27 days ago · 9234baec93 · 6 files, +12 −14

* openvibe-contracts v0.200.0 (was v0.199.0)

Opened by scripts/pin-bump.js in OpenVibers/OpenVibe.Shared after the v0.200.0 release.

* Browser check watches openvibe.tips and openvibe.vip (live since contracts 0.200.0; parked until now)

Changes

ddiff --git a/README.md b/README.md
iindex 49d0f5f..d9fc284 100644
---- a/README.md
++++ b/README.md
@@@ -342,7 +342,7 @@ the owner's gates (go-ahead, a DMCA agent, a Public Suffix List entry for openvi
Part of the [OpenVibe network](https://openvibe.network). Built in the open by [OpenVibers](https://github.com/OpenVibers).
<!-- versions:start -->
--- openvibe-contracts: v0.199.0
++- openvibe-contracts: v0.200.0
- openvibe-sdk: v0.50.1
- openvibe-shared: v4.3.0
- openvibe-publishing: v1.4.0
ddiff --git a/STATUS.json b/STATUS.json
iindex 86653da..bd76aa4 100644
---- a/STATUS.json
++++ b/STATUS.json
@@@ -13,11 +13,11 @@
"runtime": "node 22; Express 4 + PostgreSQL 18 (openvibe-sdk/db, async) + optional Valkey",
"port": 4910,
"domain": "openvibe.host",
-- "contracts": "openvibe-contracts v0.199.0",
++ "contracts": "openvibe-contracts v0.200.0",
"sdk": "openvibe-sdk v0.50.1",
"shared": "openvibe-shared v4.3.0",
"packages": [
-- "openvibe-contracts v0.199.0",
++ "openvibe-contracts v0.200.0",
"openvibe-sdk v0.50.1",
"openvibe-shared v4.3.0"
],
ddiff --git a/deploy/systemd/openvibe-browsercheck.service b/deploy/systemd/openvibe-browsercheck.service
iindex 8cc5541..c9ceecf 100644
---- a/deploy/systemd/openvibe-browsercheck.service
++++ b/deploy/systemd/openvibe-browsercheck.service
@@@ -9,7 +9,7 @@ Type=oneshot
# Root reads the state and writes the textfile metrics; Chrome runs as the unprivileged ovcheck account
# (runuser), never as root. --sites names the watched services (inventory origin or manifest publicOrigin).
User=root
--ExecStart=/usr/local/bin/ovhost browser-watch --sites live,network,tools,media,community,chat,games,blog,wiki,codes,host,ai,billing,search,sources,news,reviews,deals,coupons,trade,openre,space,bot,events,services,actor,watch,run,food,help,work,quest,rent,media-hub,inventory,play,zone
++ExecStart=/usr/local/bin/ovhost browser-watch --sites live,network,tools,media,community,chat,games,blog,wiki,codes,host,ai,billing,search,sources,news,reviews,deals,coupons,trade,openre,space,bot,events,services,actor,watch,run,food,help,work,quest,rent,media-hub,inventory,play,zone,tips,vip
Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Environment=OVHOST_INVENTORY=/etc/openvibe/host.json
Nice=10
ddiff --git a/package-lock.json b/package-lock.json
iindex ebd61ea..e3cc37f 100644
---- a/package-lock.json
++++ b/package-lock.json
@@@ -15,7 +15,7 @@
"express": "^4.21.2",
"express-rate-limit": "^7.5.0",
"iovalkey": "^0.4.0",
-- "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.199.0",
++ "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.200.0",
"openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.4.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.50.1",
"openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.3.0",
@@@ -1259,9 +1259,9 @@
}
},
"node_modules/openvibe-contracts": {
-- "version": "0.199.0",
-- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.199.0",
-- "integrity": "sha512-PQYZfbiGMGu7aSR1E4Slbk0Of8vmFa2E1c6Z7gxQSbHVQV4daXR5E4ouEKj3Q8bHjJc1cNYvaKLTlhUg7SLvzg==",
++ "version": "0.200.0",
++ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.200.0",
++ "integrity": "sha512-w0e+JgfhB2rYe2yfPHhE+0klyFEJE72iwd8u+o41E2uV4H0Hh+zEP0+0FfQDbeni5eV+lj3WmojTtDaKOfSBpA==",
"license": "AGPL-3.0-only",
"dependencies": {
"ajv": "^8.17.1",
ddiff --git a/package.json b/package.json
iindex 5e737a4..5e59e70 100644
---- a/package.json
++++ b/package.json
@@@ -31,7 +31,7 @@
"express": "^4.21.2",
"express-rate-limit": "^7.5.0",
"iovalkey": "^0.4.0",
-- "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.199.0",
++ "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.200.0",
"openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.4.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.50.1",
"openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.3.0",
ddiff --git a/test/browsercheck-unit.test.js b/test/browsercheck-unit.test.js
iindex f6b8858..88c44b4 100644
---- a/test/browsercheck-unit.test.js
++++ b/test/browsercheck-unit.test.js
@@@ -1,8 +1,8 @@
'use strict';
// The release UX check's site list (deploy/systemd/openvibe-browsercheck.service): every watched site is a service of
// the host's example inventory with an origin to check (its inventory origin or its manifest's publicOrigin), and no
--// service whose manifest says it is not public (openvibe.tips and openvibe.vip are parked: they redirect to
--// openvibe.network and would fail every check). Every public product the host runs is watched.
++// service whose manifest says it is not public (a parked domain redirects to openvibe.network and would fail every
++// check; Tips and VIP were parked until contracts 0.200.0). Every public product the host runs is watched.
const assert = require('assert');
const fs = require('fs');
const path = require('path');
@@@ -22,10 +22,8 @@ runTests([
assert.match(String(originOf(inv, site, contracts)), /^https:\/\/[a-z0-9.-]+$/, `${site} has no origin`);
}
}),
-- test('no parked site is watched, and every public one the host runs is', () => {
++ test('every public site the host runs is watched (Tips and VIP since contracts 0.200.0)', () => {
const exposure = (id) => { const m = contracts.services.get(id); return m && m.exposure ? m.exposure.state : null; };
-- // Parked by OpenVibe.Network (parked-domains): their origins redirect to openvibe.network until T5 opens them.
-- for (const parked of ['tips', 'vip']) assert.ok(!sites.includes(parked), `${parked} is parked`);
const live = Object.keys(inv.services).filter((id) => exposure(id) === 'live' && originOf(inv, id, contracts));
assert.deepStrictEqual(live.filter((id) => !sites.includes(id)), [], 'a public service on the host is not watched');
}),