elementary
elementary copied to clipboard
Alerts[Teams] - test_results_sample doesn't output anything
Describe the bug Since the launch of Elementary alerting for Teams we have been using it, I've added different alert_fields and config for different tests. Now after the upgrade to dbt 1.8 and latest elementary version, the alerts test_result_sample stopped to reveal. We use it both to visualize and show model cost spikes and our longest running models this way. We have limit the output to 5 rows since that is the maximum of test_results_sample. But now it doesn't appear at all.
Expected behavior I expect the test_results_sample to output the 5 samples in the result if an alert appears.
Screenshots
Environment (please complete the following information):
- Elementary CLI (edr) version: 0.16.1
- Elementary dbt package version: 0.16.0
- dbt core: 1.8.3
- dbt-bigquery: 1.8.2
- BigQuery
- prod
Additional context My first initial thought was that this could be connected to that dbt changed from tests -> data_tests in dbt 1.8, which may cause the issue of the config not attaching. But I'm not sure..
Would you be willing to contribute a fix for this issue? No, thanks!