symbanta-dashboard-a82e288f-1f65

job succeeded

starting new job...


→ running command: cd "/etc/byggsteg/job-clone//symbanta-dashboard/trunk" && git reset --hard && git pull

HEAD is now at fc47966 feat: Project devex and Golden gate look
From https://codeberg.org/jjba23/symbanta-dashboard
   fc47966..ca109c7  trunk      -> origin/trunk
 * [new tag]         v0.5.0     -> v0.5.0
Updating fc47966..ca109c7
Fast-forward
 README.org                    |  75 +++++-
 docs/demo.gif                 | Bin 594762 -> 834769 bytes
 docs/screenshot-dark.png      | Bin 140933 -> 139444 bytes
 docs/screenshot-light.png     | Bin 104172 -> 107420 bytes
 flake.nix                     |   1 +
 i18n/extract.ts               | 436 ++++++++++++++++++++++++++++++
 i18n/po.ts                    | 128 +++++++++
 i18n/vite-plugin.ts           |  52 ++++
 package-lock.json             |  73 +++++
 package.json                  |   4 +
 src/App.tsx                   |  50 ++--
 src/ConsoleLogs.test.tsx      |  23 +-
 src/ConsoleLogs.tsx           |  78 ++++--
 src/CountryStatsTable.tsx     |  24 +-
 src/DashboardToolbar.tsx      |  26 +-
 src/DomainSwitcher.tsx        |  10 +-
 src/EventStatsTable.tsx       |  26 +-
 src/EventTypesPanel.tsx       |  50 ++--
 src/Footer.tsx                |  10 +-
 src/Header.tsx                |   9 +-
 src/LoginPage.tsx             |  16 +-
 src/Prelude.ts                |  20 +-
 src/RouteStatsTable.tsx       |  21 +-
 src/ScreenSizeStatsTable.tsx  |  23 +-
 src/StatsDashboard.test.tsx   |   4 +-
 src/StatsDashboard.tsx        |  35 +--
 src/ThemeToggle.tsx           |   8 +-
 src/TimeSeries.tsx            |  49 ++--
 src/UserAgentStatsTable.tsx   |  23 +-
 src/UserDetails.tsx           |  10 +-
 src/a11y/ContrastToggle.tsx   |   6 +-
 src/a11y/SkipLink.tsx         |   6 +-
 src/i18n/I18nContext.test.tsx | 164 ++++++++++++
 src/i18n/I18nContext.tsx      | 130 +++++++++
 src/i18n/LocaleSwitcher.tsx   |  56 ++++
 src/i18n/catalog.test.ts      | 173 ++++++++++++
 src/i18n/catalog.ts           |  54 ++++
 src/i18n/index.ts             |  42 +++
 src/i18n/locale.test.ts       | 134 ++++++++++
 src/i18n/locale.ts            | 139 ++++++++++
 src/i18n/locales/de.po        | 601 +++++++++++++++++++++++++++++++++++++++++
 src/i18n/locales/es.po        | 599 +++++++++++++++++++++++++++++++++++++++++
 src/i18n/locales/fr.po        | 599 +++++++++++++++++++++++++++++++++++++++++
 src/i18n/locales/it.po        | 603 ++++++++++++++++++++++++++++++++++++++++++
 src/i18n/locales/ja.po        | 592 +++++++++++++++++++++++++++++++++++++++++
 src/i18n/locales/nl.po        | 601 +++++++++++++++++++++++++++++++++++++++++
 src/i18n/locales/pt.po        | 599 +++++++++++++++++++++++++++++++++++++++++
 src/i18n/locales/symbanta.pot | 591 +++++++++++++++++++++++++++++++++++++++++
 src/i18n/periods.ts           |  64 +++++
 src/i18n/plural.test.ts       | 145 ++++++++++
 src/i18n/plural.ts            | 378 ++++++++++++++++++++++++++
 src/i18n/po.d.ts              |  24 ++
 src/i18n/translate.test.ts    | 148 +++++++++++
 src/i18n/translate.ts         | 164 ++++++++++++
 src/main.tsx                  |  18 ++
 src/test/setup.ts             |   1 +
 src/ui.test.tsx               |   6 +-
 src/ui.tsx                    |  47 ++--
 tsconfig.node.json            |   2 +-
 vite.config.ts                |   2 +
 60 files changed, 7737 insertions(+), 235 deletions(-)
 create mode 100644 i18n/extract.ts
 create mode 100644 i18n/po.ts
 create mode 100644 i18n/vite-plugin.ts
 create mode 100644 src/i18n/I18nContext.test.tsx
 create mode 100644 src/i18n/I18nContext.tsx
 create mode 100644 src/i18n/LocaleSwitcher.tsx
 create mode 100644 src/i18n/catalog.test.ts
 create mode 100644 src/i18n/catalog.ts
 create mode 100644 src/i18n/index.ts
 create mode 100644 src/i18n/locale.test.ts
 create mode 100644 src/i18n/locale.ts
 create mode 100644 src/i18n/locales/de.po
 create mode 100644 src/i18n/locales/es.po
 create mode 100644 src/i18n/locales/fr.po
 create mode 100644 src/i18n/locales/it.po
 create mode 100644 src/i18n/locales/ja.po
 create mode 100644 src/i18n/locales/nl.po
 create mode 100644 src/i18n/locales/pt.po
 create mode 100644 src/i18n/locales/symbanta.pot
 create mode 100644 src/i18n/periods.ts
 create mode 100644 src/i18n/plural.test.ts
 create mode 100644 src/i18n/plural.ts
 create mode 100644 src/i18n/po.d.ts
 create mode 100644 src/i18n/translate.test.ts
 create mode 100644 src/i18n/translate.ts

→ running command: cd /etc/byggsteg/job-clone/symbanta-dashboard/trunk && uname -a

Linux wolk-jjba 7.1.5-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux

→ running command: cd /etc/byggsteg/job-clone/symbanta-dashboard/trunk && git log --name-status HEAD^..HEAD

commit ca109c72a60143a3b3f0487453e390b4a8f71be7
Author: Josep Bigorra <jjbigorra@gmail.com>
Date:   Thu Oct 22 15:13:53 2026 +0200

    feat: Add i18n

M       README.org
M       docs/demo.gif
M       docs/screenshot-dark.png
M       docs/screenshot-light.png
M       flake.nix
A       i18n/extract.ts
A       i18n/po.ts
A       i18n/vite-plugin.ts
M       package-lock.json
M       package.json
M       src/App.tsx
M       src/ConsoleLogs.test.tsx
M       src/ConsoleLogs.tsx
M       src/CountryStatsTable.tsx
M       src/DashboardToolbar.tsx
M       src/DomainSwitcher.tsx
M       src/EventStatsTable.tsx
M       src/EventTypesPanel.tsx
M       src/Footer.tsx
M       src/Header.tsx
M       src/LoginPage.tsx
M       src/Prelude.ts
M       src/RouteStatsTable.tsx
M       src/ScreenSizeStatsTable.tsx
M       src/StatsDashboard.test.tsx
M       src/StatsDashboard.tsx
M       src/ThemeToggle.tsx
M       src/TimeSeries.tsx
M       src/UserAgentStatsTable.tsx
M       src/UserDetails.tsx
M       src/a11y/ContrastToggle.tsx
M       src/a11y/SkipLink.tsx
A       src/i18n/I18nContext.test.tsx
A       src/i18n/I18nContext.tsx
A       src/i18n/LocaleSwitcher.tsx
A       src/i18n/catalog.test.ts
A       src/i18n/catalog.ts
A       src/i18n/index.ts
A       src/i18n/locale.test.ts
A       src/i18n/locale.ts
A       src/i18n/locales/de.po
A       src/i18n/locales/es.po
A       src/i18n/locales/fr.po
A       src/i18n/locales/it.po
A       src/i18n/locales/ja.po
A       src/i18n/locales/nl.po
A       src/i18n/locales/pt.po
A       src/i18n/locales/symbanta.pot
A       src/i18n/periods.ts
A       src/i18n/plural.test.ts
A       src/i18n/plural.ts
A       src/i18n/po.d.ts
A       src/i18n/translate.test.ts
A       src/i18n/translate.ts
M       src/main.tsx
M       src/test/setup.ts
M       src/ui.test.tsx
M       src/ui.tsx
M       tsconfig.node.json
M       vite.config.ts

→ running command: cd /etc/byggsteg/job-clone/symbanta-dashboard/trunk && sudo maak deploy

copying path '/nix/store/518bcx82g8m9cyji47sprx9ajmadjk8s-gettext-1.0' from 'https://cache.nixos.org'...
building '/nix/store/dr03n2crbdjkzmmwa22blsfwhnfnnsrp-nix-shell-env.drv'...
⚡ Node.js frontend environment loaded
Node version: v24.19.0
NPM version:  11.17.0

added 6 packages, and audited 365 packages in 2s

91 packages are looking for funding
  run `npm fund` for details

9 vulnerabilities (1 moderate, 6 high, 2 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
npm warn allow-scripts 1 package has install scripts not yet covered by allowScripts:
npm warn allow-scripts   esbuild@0.28.2 (postinstall: node install.js)
npm warn allow-scripts
npm warn allow-scripts Run `npm approve-scripts --allow-scripts-pending` to review, or `npm approve-scripts <pkg>` to allow.

> symbanta-dashboard@0.0.0 test
> vitest run


 RUN  v5.0.5 /etc/byggsteg/job-clone/symbanta-dashboard/trunk

stderr | src/a11y/dashboard.a11y.test.tsx > dashboard accessibility > exposes exactly one h1, one main landmark and labelled panels
The width(0) and height(0) of chart should be greater than 0,
       please check the style of container, or the props width(100%) and height(100%),
       or add a minWidth(0) or minHeight(undefined) or use aspect(undefined) to control the
       height and width.

stderr | src/a11y/dashboard.a11y.test.tsx > dashboard accessibility > provides a keyboard skip link that targets the main landmark
The width(0) and height(0) of chart should be greater than 0,
       please check the style of container, or the props width(100%) and height(100%),
       or add a minWidth(0) or minHeight(undefined) or use aspect(undefined) to control the
       height and width.

stderr | src/a11y/dashboard.a11y.test.tsx > dashboard accessibility > offers a screen-reader table alternative for the traffic chart
The width(0) and height(0) of chart should be greater than 0,
       please check the style of container, or the props width(100%) and height(100%),
       or add a minWidth(0) or minHeight(undefined) or use aspect(undefined) to control the
       height and width.

stderr | src/a11y/dashboard.a11y.test.tsx > dashboard accessibility > makes the scrollable tables reachable and named
The width(0) and height(0) of chart should be greater than 0,
       please check the style of container, or the props width(100%) and height(100%),
       or add a minWidth(0) or minHeight(undefined) or use aspect(undefined) to control the
       height and width.

stderr | src/a11y/dashboard.a11y.test.tsx > dashboard accessibility > announces refresh progress through a polite live region
The width(0) and height(0) of chart should be greater than 0,
       please check the style of container, or the props width(100%) and height(100%),
       or add a minWidth(0) or minHeight(undefined) or use aspect(undefined) to control the
       height and width.

stderr | src/a11y/dashboard.a11y.test.tsx > dashboard accessibility > passes the structural audit
The width(0) and height(0) of chart should be greater than 0,
       please check the style of container, or the props width(100%) and height(100%),
       or add a minWidth(0) or minHeight(undefined) or use aspect(undefined) to control the
       height and width.

stderr | src/a11y/dashboard.a11y.test.tsx > dashboard accessibility > passes axe-core WCAG 2.1 A/AA
The width(0) and height(0) of chart should be greater than 0,
       please check the style of container, or the props width(100%) and height(100%),
       or add a minWidth(0) or minHeight(undefined) or use aspect(undefined) to control the
       height and width.

 ✓ src/a11y/dashboard.a11y.test.tsx (7 tests) 1727ms
   ✓ dashboard accessibility (7)
     ✓ exposes exactly one h1, one main landmark and labelled panels 407ms
     ✓ passes axe-core WCAG 2.1 A/AA 641ms
 ✓ src/StatsTables.test.tsx (15 tests) 474ms
 ✓ src/ui.test.tsx (17 tests) 414ms
 ✓ src/i18n/catalog.test.ts (66 tests) 906ms
   ✓ the gettext template (3)
     ✓ is in sync with the source code 329ms
 ✓ src/ConsoleLogs.test.tsx (10 tests) 515ms
 ✓ src/i18n/translate.test.ts (15 tests) 34ms
 ✓ src/i18n/I18nContext.test.tsx (11 tests) 350ms
 ✓ src/i18n/plural.test.ts (11 tests) 19ms
 ✓ src/StatsDashboard.test.tsx (8 tests) 321ms
 ✓ src/DomainSwitcher.test.tsx (7 tests) 271ms
 ✓ src/ThemeContext.test.tsx (10 tests) 267ms
 ✓ src/a11y/ContrastContext.test.tsx (7 tests) 279ms
 ✓ src/PeriodContext.test.tsx (5 tests) 244ms
 ✓ mock-api/routes.test.ts (34 tests) 40ms
 ✓ src/Prelude.test.ts (21 tests) 34ms
 ✓ src/api/custom-fetch.test.ts (13 tests) 20ms
 ✓ src/a11y/tokens.test.ts (10 tests) 18ms
 ✓ src/a11y/contrast.test.ts (17 tests) 19ms
 ✓ src/i18n/locale.test.ts (16 tests) 25ms
 ✓ src/a11y/colorUsage.test.ts (3 tests) 11ms

 Test Files  20 passed (20)
      Tests  303 passed (303)
   Start at  15:30:34
   Duration  26.63s (environment 52%, tests 25%, setup 9%, import 7%, transform 6%)

Environment  jsdom was created 20 times · 12.27s total, 52% of tracked time
             create it once per worker with pool: 'vmThreads' (keeps per-file isolation) or isolate: false (shares it across files)
             learn more: https://vitest.dev/guide/improving-performance#test-environments

⚡ Node.js frontend environment loaded
Node version: v24.19.0
NPM version:  11.17.0

up to date, audited 365 packages in 1s

91 packages are looking for funding
  run `npm fund` for details

9 vulnerabilities (1 moderate, 6 high, 2 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
npm warn allow-scripts 1 package has install scripts not yet covered by allowScripts:
npm warn allow-scripts   esbuild@0.28.2 (postinstall: node install.js)
npm warn allow-scripts
npm warn allow-scripts Run `npm approve-scripts --allow-scripts-pending` to review, or `npm approve-scripts <pkg>` to allow.

> symbanta-dashboard@0.0.0 build
> tsc -b && vite build

vite v8.2.2 building client environment for production...
transforming...
✓ 723 modules transformed.
rendering chunks...
computing gzip size...
dist/index.html                   0.80 kB │ gzip:   0.42 kB
dist/assets/index-B6EEd9zV.css   62.46 kB │ gzip:  11.57 kB
dist/assets/index-Czf5wvP1.js   759.04 kB │ gzip: 221.40 kB

[plugin builtin:vite-reporter] 
(!) Some chunks are larger than 500 kB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rolldownOptions.output.codeSplitting to improve chunking: https://rolldown.rs/reference/OutputOptions.codeSplitting
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
✓ built in 911ms
removed '/srv/symbanta.jointhefreeworld.org/assets/index-Bnap2zAw.js'
removed '/srv/symbanta.jointhefreeworld.org/assets/index-BAfKlzfH.css'
removed directory '/srv/symbanta.jointhefreeworld.org/assets'
removed '/srv/symbanta.jointhefreeworld.org/favicon.svg'
removed '/srv/symbanta.jointhefreeworld.org/icons.svg'
removed '/srv/symbanta.jointhefreeworld.org/index.html'
'dist/assets' -> '/srv/symbanta.jointhefreeworld.org/assets'
'dist/assets/index-Czf5wvP1.js' -> '/srv/symbanta.jointhefreeworld.org/assets/index-Czf5wvP1.js'
'dist/assets/index-B6EEd9zV.css' -> '/srv/symbanta.jointhefreeworld.org/assets/index-B6EEd9zV.css'
'dist/favicon.svg' -> '/srv/symbanta.jointhefreeworld.org/favicon.svg'
'dist/icons.svg' -> '/srv/symbanta.jointhefreeworld.org/icons.svg'
'dist/index.html' -> '/srv/symbanta.jointhefreeworld.org/index.html'


--------------------------------------------------------------

Maak: the infinitely extensible command runner

Loading tasks from Maak file: /etc/byggsteg/job-clone/symbanta-dashboard/trunk/maak.scm

Executing Maak tasks: deploy

--------------------------------------------------------------

=> Running Maak task: deploy

  Deploy the project, refusing to continue when the test suite fails.

  Execute command:
nix --extra-experimental-features 'flakes nix-command' develop -c bash -c 'npm install &&  npm test '

  Execute command:
nix --extra-experimental-features 'flakes nix-command' develop -c bash -c 'npm install &&  npm run build '
inspect the job's lambda expression
(lambda()
  `((task . "maak-deploy")
    (project . "symbanta-dashboard")
    (branch-name . "trunk")
    (clone-url . "https://codeberg.org/jjba23/symbanta-dashboard.git")))