@sharpps/replayr-runner
v1.2.0
Published
Replayr runner plugin for @sharpps/agent: runs Replayr test runs on this computer, over its agent connection only
Readme
@sharpps/replayr-runner
A Replayr runner for any computer: it runs Replayr test runs in Playwright on this machine. It is a plugin for the sharpps-agent
command (package @sharpps/agent) and talks to Replayr only over its agent connection: no database, storage or secret key on this
machine. Recordings, traces and logs stay here; the Replayr web reads them while this runner is online.
npm install -g @sharpps/agent
sharpps-agent install @sharpps/replayr-runner
npx [email protected] install chromium # the browser the runs use (the Playwright version the runner pins)
sharpps-agent login --issuer https://clerk.sharpps.dpdns.org --client-id mZCxFdgtp8oAKAz6
sharpps-agent run replayr-runner --server wss://agents.sharpps.dpdns.org/agentIt runs the projects you chose it for: in a project's settings set Runner to your own runners (you need to be able to manage the project). It signs in as you, so it never takes anyone else's projects. Projects left on the server's runner run there.
Settings, asked by sharpps-agent run the first time (or set as SHARPPS_AGENT_REPLAYR_RUNNER_ in the environment):
runs_dir: where run files are kept (default~/.replayr-runner/runs). Retention deletes them through the listener.browsers:agent(default): browsers on people's computers are opened through the listener.
Runner settings such as RUNNER_CONCURRENCY (runs at once, default 2) and RUNNER_WORKDIR are read from the environment.
Requires Node.js 22 or newer.
