Skip to content

← All questions

A typo in -t made CI green for three weeks — why does matching nothing exit 0?

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.

Someone renamed our pull-request step and dropped a letter:

bash
sdods run -p shop -e staging -l ui -t @smok

Three weeks of green pull requests. Nothing ran. The output even says so if you scroll up:

text
⚠ No scenarios matched the selection (tags @smok · layers ui).

✔ passed  0 passed, 0 failed, 0 skipped, 0 flaky  (11s)

A green tick under a warning that says nothing ran is a bad combination. Why is that not a failure, and what do we put in the pipeline so it never happens again?

4 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