Files
vikunja/.github/workflows
Claude cc2fe6bbff ci(veans): fix e2e workflow — frontend stub, single-step API, register admin
Three bugs in the original workflow surfaced on first run:

1. mage build failed because the API binary embeds frontend/dist/* and
   no placeholder existed. Mirror the parent workflow's `mkdir -p
   frontend/dist && touch frontend/dist/index.html` step.

2. Backgrounded ./vikunja web didn't survive the step boundary. The
   parent's frontend e2e job sidesteps this by running the API + tests
   in a single shell; do the same here, with nohup + an EXIT trap so
   the API is killed even if the test step crashes.

3. user1/12345678 doesn't exist on a fresh sqlite-memory DB — fixtures
   are only loaded by tests that explicitly seed them. Register a
   throwaway e2eadmin via POST /register before invoking mage test:e2e.
   service.enableregistration defaults to true, so no extra config.

Also: chmod +x ./vikunja explicitly, bump installed mage to 1.17.2 to
match veans/go.mod, and upload /tmp/vikunja.log on failure for next
time.
2026-05-07 21:38:27 +00:00
..
2026-04-11 17:55:47 +02:00
2026-03-20 11:53:08 +01:00