Skip to content

← All questions

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

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

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?

3 answers

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related