Commit Graph

2 Commits

Author SHA1 Message Date
steve 1af02f4495 e2e: pin Playwright to 1.59.1, skip /metrics test
CI / Test (rest) (pull_request) Successful in 37s
CI / Test (store) (pull_request) Successful in 38s
CI / Lint (pull_request) Successful in 25s
CI / Build (windows/amd64) (pull_request) Successful in 42s
CI / Build (linux/amd64) (pull_request) Successful in 23s
CI / Test (server-http) (pull_request) Successful in 1m44s
CI / Build (linux/arm64) (pull_request) Successful in 47s
e2e / Playwright vs docker-compose (pull_request) Failing after 1m34s
* `@playwright/test` was loose-pinned to ^1.50.0; npm resolved it
  to 1.59.1 inside the runner image, which only ships browser
  binaries for 1.50.0. Pin both the package and the docker image
  to v1.59.1 so deps and binaries stay aligned.

* The /metrics endpoint is documented in the book and exercised
  by the e2e suite, but not yet implemented in the server. Mark
  the test test.skip with a TODO until the Prometheus exposition
  lands; tracked separately from the e2e plumbing.
2026-05-08 20:04:39 +01:00
steve 06d63b29ff e2e: run health probe + Playwright on the compose network
CI / Test (rest) (pull_request) Successful in 24s
CI / Lint (pull_request) Successful in 23s
CI / Test (store) (pull_request) Successful in 54s
CI / Build (windows/amd64) (pull_request) Successful in 23s
CI / Build (linux/amd64) (pull_request) Successful in 23s
CI / Build (linux/arm64) (pull_request) Successful in 23s
CI / Test (server-http) (pull_request) Successful in 3m8s
e2e / Playwright vs docker-compose (pull_request) Failing after 2m17s
Gitea's act-style runners execute workflow steps inside a runner
container, so compose's host port-publish (127.0.0.1:8080:8080) is
not reachable from the steps. PR #23's e2e job timed out waiting
for the server even though the container was up and listening.

Move both the health probe and the Playwright run onto rmnet so
they address the server as http://server:8080:

* health probe: docker run --rm --network e2e_rmnet curlimages/curl
* Playwright: new mcr.microsoft.com/playwright-based image, added
  as a profile-gated `playwright` service in compose.e2e.yml,
  invoked via `docker compose run --rm playwright`. Drops the
  setup-node + npm install runner steps.
2026-05-08 19:51:49 +01:00