Page MenuHomePhabricator

Investigate broken Wikidata Bridge Storybook updates
Closed, DeclinedPublic

Description

As a developer, I want the storybook hosted on Toolforge to always reflect the latest merged code.
As a UX designer or product manager, I want to be able to verify the current state of the product there.

Problem:
Currently, automatic updates of the storybook seem to be broken, and manual ones fail because the build process exhausts the available resources (Toolforge imposes a limit of 30 processes per user).

Example:
T235055#5580695

Workaround:
Locally build the storybook and copy the result to Toolforge (compare T235055#5583669).

npm run build-storybook && tar -C storybook-static -c . | ssh toolforge "sudo -i -u tools.wikibase-databridge-storybook sh -c 'rm -rf www/static/*; tar -C www/static/ -x'"

(You can add -Izstd to both tars to apply compression in transit.)

BDD
GIVEN
AND
WHEN
AND
THEN
AND

Acceptance criteria: