Skip to content

← All questions

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

Asked 5,210 views2 answers

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.

asked by Koen Vermeulen309 ·

2 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