Radar
Radar runs checks on its own, without anyone starting them. Its main job today is automatic pull request review: when someone opens a pull request on your dbt repository, Zingle reviews it - with real data, not just the code - and posts the review as a comment on the PR.
Everything Radar finds is listed in the Radar page, shared with your organization, so the team can see what was checked and route findings to the right people.
Automatic PR review
When it runs
- A review starts when a pull request is opened on a repository where PR review is turned on.
- When new commits are pushed to the PR, Zingle reviews it again after a short quiet period (5 minutes by default), so a burst of pushes gets one review.
- Anyone can ask for a fresh review with the Re-review link on the comment.
Zingle hears about new pull requests through a GitHub webhook. For installs that GitHub cannot reach, such as a locked-down Customer VPC, it checks the repository for new pull requests on a schedule instead.
How it reviews
The review agent reads the PR's diff, description, and the other comments on it. It then tests what it suspects instead of guessing:
- It builds the changed models in a scratch area and compares them with the current versions - row counts, columns, and values. See Impact check.
- It checks downstream models and how the changed models are used.
- It runs tests and queries, and searches past pull requests for how your team handled similar changes.
Builds run in scratch only, never in production, and within the warehouse size limit set for your production environment, so a large PR cannot run up a large bill.
What the comment says
Each review posts two comments on the pull request: a short PR summary of what the PR does, and the review itself:
- Merge - a recommendation: approve, approve after fixes, blocked, or request changes.
- Risk and cost - how risky the change is, and the cost per run of each changed model before and after.
- What it does - the change in plain words.
- Findings - a short table. Each row is a fix (something to change), a decision (a question for the author, with options and a recommendation), or verified (something it checked and confirmed), with the evidence for it.
- Already there before this PR and Checked, all fine - so you know what the review looked at.
- Lineage - a small graph of the changed models with their parents and children.
On a re-review, earlier findings that are now resolved are dropped, and the rest are carried forward. The same review is shown in the app, where you can open a chat about it.
The review comments are posted by the Zingle GitHub App. Zingle never approves or merges the pull request itself.
The Radar page
- Triggers - every automatic run (a pull request review or a scheduled check), with its status, logs, and the scan it produced.
- Suggestions - findings per environment, which administrators can assign to the right person.
- My suggestions - findings assigned to you. Act on them the same way as Sentinel suggestions.