symbanta-dashboard-bff37512-9d78

job succeeded

starting new job...


→ running command: dir='/etc/byggsteg/job-clone//symbanta-dashboard/trunk'
branch='trunk'
if ! command -v git >/dev/null 2>&1; then
  echo 'byggsteg: git is not on this deployment PATH, so the clone cannot be updated' >&2
  exit 1
fi
if ! cd "$dir"; then
  echo "byggsteg: cannot enter the clone $dir" >&2
  exit 1
fi
root=$(git rev-parse --show-toplevel 2>/dev/null)
if [ "$root" != "$(pwd -P)" ]; then
  echo "byggsteg: $dir is not a git checkout; remove it and the next run clones it again" >&2
  exit 1
fi
if ! origin=$(git remote get-url origin 2>/dev/null); then
  echo "byggsteg: $dir has no origin remote to fetch $branch from" >&2
  exit 1
fi
before=$(git rev-parse --short HEAD 2>/dev/null) || before=none
attempt=1
while :; do
  if GIT_TERMINAL_PROMPT=0 git fetch --quiet origin "+refs/heads/$branch:refs/remotes/origin/$branch"; then
    break
  fi
  if [ "$attempt" -ge 3 ]; then
    echo "byggsteg: could not fetch $branch from $origin after 3 attempts; is the branch still there, and is the remote reachable?" >&2
    exit 1
  fi
  echo "byggsteg: fetching $branch from $origin failed; retrying in $((attempt * 2))s" >&2
  sleep $((attempt * 2))
  attempt=$((attempt + 1))
done
if ! git checkout --quiet --force -B "$branch" FETCH_HEAD; then
  echo "byggsteg: fetched $branch from $origin but could not check it out" >&2
  exit 1
fi
after=$(git rev-parse --short HEAD)
if [ "$before" = "$after" ]; then
  echo "byggsteg: $branch was already at $after"
else
  echo "byggsteg: $branch moved from $before to $after"
fi


byggsteg: trunk moved from ce162df to 159fb39
✓ command finished in 0.99s


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

Linux wolk-jjba 7.2.11-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
✓ command finished in 0.03s


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

commit 159fb39070ba8205357e37fde9e7b319e30ee4fe
Author: Josep Bigorra <jjbigorra@gmail.com>
Date:   Mon Nov 9 20:32:01 2026 +0100

    docs: let agents commit, push, merge and release
    
    AI_POLICY.md now matches the updated jointhefreeworld AI policy: agents
    may commit, push, merge and cut and publish releases, with the QA
    checklist as the merge and release gate and the operator still
    accountable for what lands. Tests still come first, and CI, the licence
    and the policy itself still need a person's agreement.
    
    🤖 Generated with ECA (deepseek/deepseek-flash)
    
    Co-Authored-By: eca-agent <git@eca.dev>

M       AI_POLICY.md
✓ command finished in 0.35s


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

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

up to date, audited 344 packages in 1m

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

6 moderate severity vulnerabilities

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.5.1 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) 9461ms
   ✓ dashboard accessibility (7)
     ✓ exposes exactly one h1, one main landmark and labelled panels 2055ms
     ✓ provides a keyboard skip link that targets the main landmark 1112ms
     ✓ offers a screen-reader table alternative for the traffic chart 885ms
     ✓ makes the scrollable tables reachable and named 707ms
     ✓ announces refresh progress through a polite live region 508ms
     ✓ passes the structural audit 744ms
     ✓ passes axe-core WCAG 2.1 A/AA 3449ms
 ✓ src/i18n/catalog.test.ts (66 tests) 3728ms
   ✓ the gettext template (3)
     ✓ is in sync with the source code 1050ms
   ✓ de.po (9)
     ✓ is in sync with the template 461ms
   ✓ es.po (9)
     ✓ is in sync with the template 392ms
   ✓ fr.po (9)
     ✓ is in sync with the template 361ms
   ✓ it.po (9)
     ✓ is in sync with the template 375ms
   ✓ ja.po (9)
     ✓ is in sync with the template 337ms
 ✓ src/ConsoleLogs.test.tsx (10 tests) 1957ms
   ✓ ConsoleLogs (10)
     ✓ shows a skeleton while loading 744ms
 ✓ src/StatsTables.test.tsx (15 tests) 2019ms
   ✓ Top routes panel (3)
     ✓ renders the breakdown rows 1094ms
 ✓ src/ui.test.tsx (17 tests) 2070ms
   ✓ StatsTable (8)
     ✓ renders one row per entry with views, visitors and share 997ms
 ✓ src/i18n/I18nContext.test.tsx (11 tests) 1565ms
   ✓ I18nProvider (11)
     ✓ offers every supported language in the switcher 703ms
 ✓ src/ThemeContext.test.tsx (10 tests) 1424ms
   ✓ ThemeProvider (10)
     ✓ applies and persists an explicit theme 797ms
 ✓ src/DomainSwitcher.test.tsx (7 tests) 1545ms
   ✓ DomainSwitcher (7)
     ✓ renders a select with every property once loaded 933ms
 ✓ src/StatsDashboard.test.tsx (8 tests) 1463ms
   ✓ StatsDashboard (8)
     ✓ shows a skeleton while the summary loads 758ms
 ✓ src/PeriodContext.test.tsx (5 tests) 1279ms
   ✓ PeriodProvider (5)
     ✓ updates the period and remembers the choice 949ms
 ✓ src/a11y/ContrastContext.test.tsx (7 tests) 1138ms
   ✓ ContrastToggle (4)
     ✓ is a labelled toggle button with a stable accessible name 590ms
 ✓ mock-api/routes.test.ts (34 tests) 274ms
 ✓ src/Prelude.test.ts (21 tests) 195ms
 ✓ src/i18n/translate.test.ts (15 tests) 141ms
 ✓ src/i18n/locale.test.ts (16 tests) 124ms
 ✓ src/a11y/contrast.test.ts (17 tests) 88ms
 ✓ src/a11y/tokens.test.ts (10 tests) 129ms
 ✓ src/api/custom-fetch.test.ts (13 tests) 166ms
 ✓ src/i18n/plural.test.ts (11 tests) 83ms
 ✓ src/a11y/colorUsage.test.ts (3 tests) 57ms

 Test Files  20 passed (20)
      Tests  303 passed (303)
   Start at  20:39:57
   Duration  134.71s (environment 56%, tests 24%, setup 10%, import 6%, transform 4%)

Environment  jsdom was created 20 times · 67.42s total, 56% 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

;;; note: source file /etc/byggsteg/job-clone/symbanta-dashboard/trunk/maak.scm
;;;       newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/symbanta-dashboard/trunk/maak.scm.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /etc/byggsteg/job-clone/symbanta-dashboard/trunk/maak.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/symbanta-dashboard/trunk/maak.scm.go


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

Maak 0.14.0: the infinitely extensible command runner

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

Executing Maak tasks: test


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

=> Running Maak task: test

  Run the automated test suite.

  Execute command:
nix develop . --command bash -c 'npm install && npm test'

Executing: nix develop . --command bash -c 'npm install && npm test'
✓ command finished in 234.82s


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

warning: Git tree '/etc/byggsteg/job-clone/symbanta-dashboard/trunk' is dirty
⚡ Node.js frontend environment loaded
Node version: v24.19.0
NPM version:  11.17.0

up to date, audited 344 packages in 2s

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

6 moderate severity vulnerabilities

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.5.1 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) 3242ms
   ✓ dashboard accessibility (7)
     ✓ exposes exactly one h1, one main landmark and labelled panels 776ms
     ✓ provides a keyboard skip link that targets the main landmark 358ms
     ✓ offers a screen-reader table alternative for the traffic chart 322ms
     ✓ passes axe-core WCAG 2.1 A/AA 1133ms
 ✓ src/i18n/catalog.test.ts (66 tests) 1604ms
   ✓ the gettext template (3)
     ✓ is in sync with the source code 494ms
 ✓ src/ui.test.tsx (17 tests) 838ms
   ✓ StatsTable (8)
     ✓ renders one row per entry with views, visitors and share 465ms
 ✓ src/StatsTables.test.tsx (15 tests) 921ms
   ✓ Top routes panel (3)
     ✓ renders the breakdown rows 442ms
 ✓ src/ConsoleLogs.test.tsx (10 tests) 823ms
   ✓ ConsoleLogs (10)
     ✓ shows a skeleton while loading 318ms
 ✓ src/i18n/I18nContext.test.tsx (11 tests) 615ms
   ✓ I18nProvider (11)
     ✓ offers every supported language in the switcher 307ms
 ✓ src/DomainSwitcher.test.tsx (7 tests) 546ms
   ✓ DomainSwitcher (7)
     ✓ renders a select with every property once loaded 356ms
 ✓ src/StatsDashboard.test.tsx (8 tests) 516ms
   ✓ StatsDashboard (8)
     ✓ shows a skeleton while the summary loads 304ms
 ✓ src/ThemeContext.test.tsx (10 tests) 559ms
   ✓ ThemeProvider (10)
     ✓ applies and persists an explicit theme 347ms
 ✓ src/PeriodContext.test.tsx (5 tests) 356ms
 ✓ src/a11y/ContrastContext.test.tsx (7 tests) 585ms
 ✓ mock-api/routes.test.ts (34 tests) 78ms
 ✓ src/Prelude.test.ts (21 tests) 71ms
 ✓ src/api/custom-fetch.test.ts (13 tests) 46ms
 ✓ src/i18n/translate.test.ts (15 tests) 63ms
 ✓ src/a11y/tokens.test.ts (10 tests) 38ms
 ✓ src/i18n/locale.test.ts (16 tests) 48ms
 ✓ src/a11y/contrast.test.ts (17 tests) 38ms
 ✓ src/i18n/plural.test.ts (11 tests) 38ms
 ✓ src/a11y/colorUsage.test.ts (3 tests) 20ms

 Test Files  20 passed (20)
      Tests  303 passed (303)
   Start at  20:42:19
   Duration  49.20s (environment 55%, tests 25%, setup 9%, import 6%, transform 4%)

Environment  jsdom was created 20 times · 24.00s total, 55% 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

warning: Git tree '/etc/byggsteg/job-clone/symbanta-dashboard/trunk' is dirty
⚡ Node.js frontend environment loaded
Node version: v24.19.0
NPM version:  11.17.0

up to date, audited 344 packages in 2s

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

6 moderate severity vulnerabilities

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.5.1 build
> tsc -b && vite build

vite v8.3.5 building client environment for production...
transforming...
✓ 722 modules transformed.
rendering chunks...
computing gzip size...
dist/index.html                   0.80 kB │ gzip:   0.42 kB
dist/assets/index-BsN6-mDP.css   63.37 kB │ gzip:  11.74 kB
dist/assets/index-D_rjWkso.js   757.62 kB │ gzip: 220.92 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 1.77s
removed '/srv/symbanta.jointhefreeworld.org/assets/index-D_rjWkso.js'
removed '/srv/symbanta.jointhefreeworld.org/assets/index-BsN6-mDP.css'
removed directory '/srv/symbanta.jointhefreeworld.org/assets'
removed '/srv/symbanta.jointhefreeworld.org/favicon.svg'
removed '/srv/symbanta.jointhefreeworld.org/fonts/juliamono-bold-latin.woff2'
removed '/srv/symbanta.jointhefreeworld.org/fonts/juliamono-normal-latin.woff2'
removed '/srv/symbanta.jointhefreeworld.org/fonts/source-serif-4-italic-latin-ext.woff2'
removed '/srv/symbanta.jointhefreeworld.org/fonts/source-serif-4-italic-latin.woff2'
removed '/srv/symbanta.jointhefreeworld.org/fonts/source-serif-4-normal-latin-ext.woff2'
removed '/srv/symbanta.jointhefreeworld.org/fonts/source-serif-4-normal-latin.woff2'
removed '/srv/symbanta.jointhefreeworld.org/fonts/work-sans-italic-latin-ext.woff2'
removed '/srv/symbanta.jointhefreeworld.org/fonts/work-sans-italic-latin.woff2'
removed '/srv/symbanta.jointhefreeworld.org/fonts/work-sans-normal-latin-ext.woff2'
removed '/srv/symbanta.jointhefreeworld.org/fonts/work-sans-normal-latin.woff2'
removed directory '/srv/symbanta.jointhefreeworld.org/fonts'
removed '/srv/symbanta.jointhefreeworld.org/icons.svg'
removed '/srv/symbanta.jointhefreeworld.org/index.html'
'dist/assets' -> '/srv/symbanta.jointhefreeworld.org/assets'
'dist/assets/index-D_rjWkso.js' -> '/srv/symbanta.jointhefreeworld.org/assets/index-D_rjWkso.js'
'dist/assets/index-BsN6-mDP.css' -> '/srv/symbanta.jointhefreeworld.org/assets/index-BsN6-mDP.css'
'dist/favicon.svg' -> '/srv/symbanta.jointhefreeworld.org/favicon.svg'
'dist/fonts' -> '/srv/symbanta.jointhefreeworld.org/fonts'
'dist/fonts/juliamono-bold-latin.woff2' -> '/srv/symbanta.jointhefreeworld.org/fonts/juliamono-bold-latin.woff2'
'dist/fonts/juliamono-normal-latin.woff2' -> '/srv/symbanta.jointhefreeworld.org/fonts/juliamono-normal-latin.woff2'
'dist/fonts/source-serif-4-italic-latin-ext.woff2' -> '/srv/symbanta.jointhefreeworld.org/fonts/source-serif-4-italic-latin-ext.woff2'
'dist/fonts/source-serif-4-italic-latin.woff2' -> '/srv/symbanta.jointhefreeworld.org/fonts/source-serif-4-italic-latin.woff2'
'dist/fonts/source-serif-4-normal-latin-ext.woff2' -> '/srv/symbanta.jointhefreeworld.org/fonts/source-serif-4-normal-latin-ext.woff2'
'dist/fonts/source-serif-4-normal-latin.woff2' -> '/srv/symbanta.jointhefreeworld.org/fonts/source-serif-4-normal-latin.woff2'
'dist/fonts/work-sans-italic-latin-ext.woff2' -> '/srv/symbanta.jointhefreeworld.org/fonts/work-sans-italic-latin-ext.woff2'
'dist/fonts/work-sans-italic-latin.woff2' -> '/srv/symbanta.jointhefreeworld.org/fonts/work-sans-italic-latin.woff2'
'dist/fonts/work-sans-normal-latin-ext.woff2' -> '/srv/symbanta.jointhefreeworld.org/fonts/work-sans-normal-latin-ext.woff2'
'dist/fonts/work-sans-normal-latin.woff2' -> '/srv/symbanta.jointhefreeworld.org/fonts/work-sans-normal-latin.woff2'
'dist/icons.svg' -> '/srv/symbanta.jointhefreeworld.org/icons.svg'
'dist/index.html' -> '/srv/symbanta.jointhefreeworld.org/index.html'


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

Maak 0.14.0: 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 develop . --command bash -c 'npm install && npm test'

Executing: nix develop . --command bash -c 'npm install && npm test'

  Execute command:
nix develop . --command bash -c 'npm install && npm run build'

Executing: nix develop . --command bash -c 'npm install && npm run build'

Executing: rm -rfv /srv/symbanta.jointhefreeworld.org/*

Executing: cp -r -v dist/* /srv/symbanta.jointhefreeworld.org/
✓ command finished in 77.44s
inspect the job's lambda expression
(lambda()
  `((task . ("maak-test" "maak-deploy"))
    (project . "symbanta-dashboard")
    (branch-name . "trunk")
    (clone-url . "https://github.com/jjba23/symbanta-dashboard.git")))