Skip to content

v0.10.0

Latest

Choose a tag to compare

@github-actions github-actions released this 15 Nov 16:31
· 3 commits to main since this release
2ad96cd

Summary

This release adds worker pools: one deployment can give a workload its own workers. The Playwright version does not change (1.65), so your clients need no Playwright update.

  • Worker pools. Set POOL=<name> on a worker, and select the pool with ?pool=<name> on connect or pool in POST /v1/sessions. A session goes only to workers in its pool, and each pool has its own queue line, so a full pool does not delay the others. No value means the pool default, so setups that set nothing work as before. Pools are routing, not access control. See the scaling guide. (#160)
  • GET /v1/capacity has one browsers entry per pool and browser, and worker and session objects show pool.
  • A queue timeout message names the requested pool and the pools of the registered workers.

Upgrade the server before you set POOL on a worker. An older server refuses the registration of a worker that sets POOL, and that worker stops.

To upgrade, change both image tags to 0.10.0, then run:

docker compose pull server worker
docker compose up -d

What's Changed

  • docs(website): document release 0.9.0 by @mbroton in #158
  • feat: give a workload its own workers with worker pools by @mbroton in #160

Full Changelog: v0.9.0...v0.10.0