Check Execution and Scheduling
Check execution connects contractual requirements to traceable verification runs. GUNs manages rules, schedules and assessment. Airflow connects to sources and executes read-only checks; the databases perform the computation.
Configure the executor
In System → Executor, configure the Airflow connection and result callback settings, then test the connection. The executor uses read-only accounts to connect to business data sources. Platform operators maintain these accounts.
A source's Executor Connection selects the connection used for checks. Verify that it points to the correct source before running.
Before immediate or scheduled execution, the platform checks that the executor is configured, connected and ready to receive tasks. An immediate request reports missing prerequisites. A scheduled run waits until the executor is ready, then catches up only the latest due occurrence.
Plan execution
Quality and security maintain separate defaults for each environment. A contract can inherit its environment's default or use its own plan.
| Plan | Typical use |
|---|---|
| Daily | Regular delivery |
| Weekly | Weekly reviews |
| Monthly | Reviews on a selected day from 1 to 28 |
| Once at a specified time | Release acceptance or a targeted review |
| Unscheduled | Run only when someone selects Run Now |
Schedules use their selected time zone. Changes take effect under the new plan without replaying periods missed before the change. Plans are operational settings, so changing frequency does not require a new dataset version.
Execute and receive results
- Choose an environment in Data Quality or Security Operations and open a dataset or contract.
- Run immediately or wait for the schedule.
- GUNs generates queries from current rules and implementations and records why the run was triggered.
- Airflow retrieves the checks and executes read-only count queries on the relevant sources.
- Returned results are assessed against tolerances or security requirements and saved for operational views.
Each execution includes assessment of its selected scope. Items without runnable queries retain an appropriate cannot-execute or awaiting-verification result; lack of SQL execution does not make them pass.
Results and execution boundaries
| Information or action | Handling |
|---|---|
| Violations and total rows | Returned and used for assessment |
| Runtime errors | Error categories are returned; detailed database logs remain in the executor |
| Raw business values | Not returned to GUNs as check results |
| Masking views, static copies and permission statements | Reviewed and executed by data teams, outside automatic read-only checks |
History retains the schedule or manual trigger, environment, timing and results. Later plan changes do not rewrite it. When reviewing an assessment, consider its time, collection freshness and changes to implementations or rules.
Resolve common problems
- Executor unavailable: ask an administrator to check its connection settings and status, then retry.
- Rule cannot execute: check environment bindings, object and field mappings, and whether SQL can be generated.
- Execution error: use the category to investigate Airflow logs, read-only permissions and connection configuration.
- Data fails a rule: identify the rule and counts, then correct the data or revise the contract before rerunning.