Skip to content

← All questions

sdods record on our Linux build agent: codegen exited with code 1 and produced no spec

Asked 16,210 views3 answers

We moved recording onto the same Linux build agent that runs the nightly suite so nobody has to install browsers locally. It dies before a browser ever appears.

bash
sdods record -p demo-shop -e staging --name checkout --user standard
text
✖ RUN_FAILED: playwright codegen exited with code 1 and produced no spec.
  hint: Codegen needs a display. On a headless machine, record on your workstation or import an existing spec into recorded/.

sdods run -p demo-shop -e staging -l ui -b chromium passes on that same agent, so the browsers are installed. Is there a headless recording mode, or a flag I have missed?

asked by Avery Hollis188 ·

3 answers

Know the answer?

Reviewed before it appears. Wrap commands and output in triple backticks and they will render as a code block.

Have a different question? Ask it.

Related