Skip to content

← All questions

Docs call the insights CLI a placeholder but it clearly does something

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.

The known limitations table says:

sdods insights — the CLI command is a placeholder. Metrics are computed by the database package and shown in the web UI dashboard and GET /api/stats/insights.

It does not behave like a placeholder:

bash
sdods insights compute -p demo-shop --window 20

wrote .sdods/insights/demo-shop.json, printed suite health with a trend, a scenarios-by-flakiness table with p95 durations and quarantine candidates, and a locators-by-fragility table with suggested selectors. insights show --top 5 reads it back.

So which is it? I am about to put this in a nightly job and I would rather not build on something that is going to be replaced next month.

2 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