-
Notifications
You must be signed in to change notification settings - Fork 204
Open
Labels
Description
Describe the bug
On successful run following a failed run, Elementary reports failures from the previous run.
To Reproduce
Steps to reproduce the behavior:
- Set up Slack reporting via:
- name: Run Elementary
if: ${{ always() }}
uses: elementary-data/[email protected]
with:
warehouse-type: snowflake
profiles-yml: ${{ secrets.PROFILES_YML_NEW }}
edr-command: |
edr monitor --slack-webhook ${{ secrets.SLACK_WEBHOOK_URL }}
edr send-report --slack-token ${{ secrets.SLACK_TOKEN_ELEMENTARY }} --slack-channel-name ${{ secrets.SLACK_CHANNEL_NAME }} --slack-file-name "quality_report_$(date +%Y-%m-%d).html" --select last_invocation
- Run with failing DBT models
- Run with working DBT models
Expected behavior
Errors are only reported for the failed run
Actual behaviour
Errors are also reported for the succesful run.
Screenshots
The time reported by Elementary in the below screenshot is from the failed run.
Environment (please complete the following information):
- Elementary CLI (edr) version: 0.16.1
- Elementary dbt package version: 0.19.1
- dbt version you're using 1.10.4
- Data warehouse: snowflake
- Infrastructure details: GitHub Actions (
runs-on: aws-small-ubuntu24)