dbt Impact Report
Prevent breaking changes before they break your dashboards and key models with Select Star's dbt Impact Report.
Last updated
Prevent breaking changes before they break your dashboards and key models with Select Star's dbt Impact Report.
Last updated
Select Star's dbt Impact Report allows you to make model changes with confidence. The Impact Report shows downstream items for your dbt model changes right in your pull request, so you can view potential impact before making changes and prevent downstream breakages.
dbt Impact Report is available via GitHub Actions. Follow the instructions at https://github.com/selectstar/dbt-impact-report-action or below to set up the GitHub Action.
dbt MUST be set up as a separate data source
Select Star API Token - this is required for the Action to use Select Star's APIs. See API Token.
Select Star Data Source GUID - this is the GUID of the dbt data source corresponding to the repository you're adding the Action to.
You can get the GUID by going into Admin > Data and selecting the dbt data source. The GUID will be in the URL and look like ds_example
.
If you don't already have it, create repository secrets in your repo:
SELECTSTAR_API_TOKEN
with the value of the API Token from the prerequisites.
Add the Select Star GitHub Action to your workflow:
Create a workflow file in your repo
Add the following code to the workflow file
Make sure the Datasource's GUID you add to the Github Workflow is the one corresponding to your DBT data source. Adding other GUIDs will not yield the right results in the report.
After configuring the GitHub action, test out the dbt Impact Report by creating a pull request with any change to a dbt model file in the repo. You should see the action running and a new comment generated on the pull request with the Impact report.