🔗 SODA+ AI - Git Integration Guide

Source Control, Drift Detection, and Agent Job Script Workflows


Version: 1.6.0 | Last Updated: June 2026
Target Audience: DB Developers, DBAs, Release/DevOps Teams



Why Git Integration Matters

SODA+ AI Git integration is designed to make your database workflow auditable and repeatable:

If your team treats Git as the contract and databases as runtime state, these features close the loop.


What This Guide Covers

  1. Connecting SODA+ AI to GitHub
  2. Repository and mapping concepts
  3. Database ↔ Git comparison and drift
  4. SQL Agent Job script lifecycle (Active/Archive)
  5. Repo Changes report and CSV export
  6. Troubleshooting and operational guidance

Prerequisites

Before using Git features:


1) Connect GitHub in SODA+ AI

From the GitHub menu:

  1. Select Connect GitHub...
  2. Enter your PAT
  3. Validate connection

When connected, Git features become available (compare, mappings, Agent Job scripts).


2) Understand Repository Targeting

Git targeting for Agent workflows follows a clear precedence:

  1. Explicit mapping (server/database → owner/repo)
  2. Repository scan match
  3. Credential/default fallback

For system databases (for example msdb), mapping behavior is intentionally more permissive so agent-specific workflows can still be configured.


3) Manage Server/Database Mappings

Use mapping management to bind a database context to the correct repository target:

  1. Open the GitHub mapping manager from the GitHub menu
  2. Select server + database
  3. Assign owner/repo and branch strategy
  4. Save and test mapping

Notes


4) Compare Database with GitHub (Drift)

Use GitHub → Compare Database with GitHub... to detect differences between deployed database SQL and repository SQL.

Typical outputs:

Use this view before releases or incident response to quickly identify divergence.


5) SQL Agent Job Scripts Workflow

Open GitHub → Agent Job Scripts... for SQL Agent script management.

Core actions:

Active vs Archive semantics

Moving to Archive is a relocation workflow (not a duplicate copy).


6) Repo Changes Report (Agent Repositories)

From Agent Job Scripts, use Repo Changes to list recent commit-level changes under:

You can:


For each release cycle:

  1. Validate mappings for target servers/databases
  2. Review drift (database vs Git)
  3. Save/update Agent scripts and snapshots
  4. Archive superseded Agent scripts where appropriate
  5. Export Repo Changes CSV and attach to release evidence

This keeps deployment evidence and runtime configuration aligned.


8) Troubleshooting

Git menu items disabled

Mapping test fails

Repo Changes appears slow

Unexpected script content format


↑ Top