@volter/world-console 2.0.11 → 2.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1663,7 +1663,7 @@ function Operations({ name, token, admin, canWrite, refused, onRemoved }: { name
1663
1663
  const [changesets, setChangesets] = useState<Changeset[] | null>(null);
1664
1664
  const [note, setNote] = useState<string | null>(null);
1665
1665
  const [tokens, setTokens] = useState<{ token: string; readToken: string } | null>(null);
1666
- type Report = { hours: number; requests: number; twins: Array<{ twin: string; requests: number; byStatus: Record<string, number>; p50Ms: number | null; p95Ms: number | null; topRoutes: Array<{ route: string; requests: number }> }> };
1666
+ type Report = { hours: number; requests: number; journalFailures?: number; twins: Array<{ twin: string; requests: number; byStatus: Record<string, number>; p50Ms: number | null; p95Ms: number | null; topRoutes: Array<{ route: string; requests: number }> }> };
1667
1667
  const [report, setReport] = useState<Report | null>(null);
1668
1668
  const refresh = useCallback(async () => {
1669
1669
  const t = await door(token, `/-/${name}/twins`);
@@ -1722,6 +1722,7 @@ function Operations({ name, token, admin, canWrite, refused, onRemoved }: { name
1722
1722
  </table>
1723
1723
  )}
1724
1724
  <h3>Traffic (last 24 hours)</h3>
1725
+ {report && (report.journalFailures ?? 0) > 0 ? <p className="mode" role="alert">{report.journalFailures} request {report.journalFailures === 1 ? 'line was' : 'lines were'} not kept by this World's server since it started (its links, and the twins it runs in its own process): those requests are missing below.</p> : null}
1725
1726
  {report === null ? <p className="mode">No request report for this world.</p> : report.requests === 0 ? <p className="mode">No requests recorded in the last 24 hours. Recording is kept unless the World runs with <code>VOLTER_TWIN_REQUEST_JOURNAL=0</code>; what the requests changed is always in Activity.</p> : (
1726
1727
  <table aria-label="Requests by twin">
1727
1728
  <thead><tr><th>vendor</th><th>requests</th><th>by status</th><th>p50</th><th>p95</th><th>top routes</th></tr></thead>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volter/world-console",
3
- "version": "2.0.11",
3
+ "version": "2.0.13",
4
4
  "description": "The dashboard of Volter World: a World's pages, the same on a laptop, a self-hosted host and the hosted cloud — mounted by the host at /-/console/. A pure frontend over the World's own doors; its kit (./kit) is the pieces the platform's pages share.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -23,8 +23,8 @@
23
23
  "react-dom": "^19.2.7"
24
24
  },
25
25
  "devDependencies": {
26
- "@volter/world-host": "2.0.31",
27
- "@volter/world-runtime": "2.0.32",
26
+ "@volter/world-host": "2.0.36",
27
+ "@volter/world-runtime": "2.0.37",
28
28
  "@volter/world-tooling": "0.1.0",
29
29
  "@types/bun": "^1.2.20",
30
30
  "@types/node": "^24.0.0",