{
  "nbformat": 4,
  "nbformat_minor": 5,
  "metadata": {
    "kernelspec": {
      "display_name": "sql",
      "language": "sql",
      "name": "sql"
    },
    "language_info": {
      "name": "sql",
      "version": "1.0.0"
    },
    "blog_metadata": {
      "topic": "Azure SQL Database Containers: A Better Local Dev Loop for Enterprise Database Teams",
      "slug": "azure-sql-database-containers-a-better-local-dev-loop-for-en",
      "generated_by": "LinkedIn Post Generator + Azure OpenAI",
      "generated_at": "2026-11-19T20:34:22.804Z"
    }
  },
  "cells": [
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "# Azure SQL Database Containers: A Better Local Dev Loop for Enterprise Database Teams\n",
        "\n",
        "This notebook turns the blog post into a hands-on validation flow focused on a disciplined local database loop. The goal is to validate what local SQL containers are good for, keep the environment contract explicit, and separate local confidence from Azure-hosted truth."
      ]
    },
    {
      "cell_type": "code",
      "metadata": {},
      "source": [
        "%pip install pyodbc pandas"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "code",
      "metadata": {},
      "source": [
        "import os\n",
        "import json\n",
        "import time\n",
        "from pathlib import Path\n",
        "\n",
        "import pyodbc\n",
        "import pandas as pd"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## Scope and decision record checklist\n",
        "\n",
        "Before adopting a local container workflow, document support scope, image source, host OS and architecture, licensing, security ownership, support boundaries, and known differences from Azure-hosted targets.\n",
        "\n",
        "Use this checklist as a lightweight review artifact before standardizing the pattern."
      ]
    },
    {
      "cell_type": "code",
      "metadata": {},
      "source": [
        "decision_record = {\n",
        "    \"availability_and_support_status\": \"Verify from official Microsoft sources before standardizing\",\n",
        "    \"official_image_source\": \"mcr.microsoft.com/azure-sql-edge:latest\",\n",
        "    \"supported_host_os_arch\": \"Verify for your team laptops and CI agents\",\n",
        "    \"licensing_terms\": \"Confirm local development licensing terms\",\n",
        "    \"security_ownership\": \"Assign image provenance, patching, and vulnerability review owner\",\n",
        "    \"product_support_boundary\": \"Local for schema, fixtures, smoke tests; Azure for identity, networking, managed behavior\",\n",
        "    \"known_differences_vs_azure\": \"Maintain a parity matrix and validate assumptions explicitly\"\n",
        "}\n",
        "\n",
        "print(json.dumps(decision_record, indent=2))"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## Reproducible local environment contract\n",
        "\n",
        "A local database workflow should be treated as a contract, not a pile of convenience scripts. Version schema or migrations, seed policy, runtime configuration, migration runner, test entry point, reset behavior, and expected cloud target together."
      ]
    },
    {
      "cell_type": "code",
      "metadata": {},
      "source": [
        "environment_contract = {\n",
        "    \"schema_or_migrations\": \"versioned\",\n",
        "    \"seed_data_policy\": [\n",
        "        \"disposable developer data\",\n",
        "        \"approved deterministic fixtures\",\n",
        "        \"production-derived data blocked by default\"\n",
        "    ],\n",
        "    \"startup_runtime_configuration\": \"versioned\",\n",
        "    \"migration_runner\": \"sqlcmd or equivalent\",\n",
        "    \"test_entry_point\": \"smoke test script\",\n",
        "    \"reset_behavior\": \"deterministic and documented\",\n",
        "    \"expected_cloud_target\": \"Azure SQL Database\"\n",
        "}\n",
        "\n",
        "print(json.dumps(environment_contract, indent=2))"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## Local flow overview\n",
        "\n",
        "The intended loop is simple: build the local SQL container, run versioned migrations, execute smoke tests, and repeat until the state is correct. The point is to keep failure classification obvious and avoid hidden workstation magic."
      ]
    },
    {
      "cell_type": "code",
      "metadata": {},
      "source": [
        "local_flow = [\n",
        "    \"Developer updates schema in repo\",\n",
        "    \"Build local SQL container\",\n",
        "    \"Run versioned migration with sqlcmd\",\n",
        "    \"Execute app smoke tests\",\n",
        "    \"If pass: commit and open PR\",\n",
        "    \"If fail: fix schema or seed data and repeat\"\n",
        "]\n",
        "\n",
        "for i, step in enumerate(local_flow, start=1):\n",
        "    print(f\"{i}. {step}\")"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## Illustrative local container definition\n",
        "\n",
        "The blog uses Azure SQL Edge as a practical local proxy for schema work, fixtures, and smoke tests. This notebook stores the Dockerfile content as text so you can review or write it to disk if needed."
      ]
    },
    {
      "cell_type": "code",
      "metadata": {},
      "source": [
        "dockerfile_text = '''# Dockerfile: Build a local Azure SQL Edge container image with seed scripts\n",
        "FROM mcr.microsoft.com/azure-sql-edge:latest\n",
        "\n",
        "ENV ACCEPT_EULA=Y\n",
        "ENV MSSQL_PID=Developer\n",
        "ENV MSSQL_SA_PASSWORD=Your_strong_Password123\n",
        "\n",
        "WORKDIR /workspace\n",
        "COPY ./migrations /workspace/migrations\n",
        "COPY ./seed /workspace/seed\n",
        "\n",
        "EXPOSE 1433\n",
        "CMD /opt/mssql/bin/sqlservr\n",
        "'''\n",
        "\n",
        "print(dockerfile_text)"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## Disposable compose definition\n",
        "\n",
        "A one-command startup path helps each developer get an isolated environment. Explicit ports and named volumes make inspection and reset behavior easier."
      ]
    },
    {
      "cell_type": "code",
      "metadata": {},
      "source": [
        "compose_text = '''# docker-compose.yml: Start an isolated local database for team development\n",
        "version: \"3.9\"\n",
        "\n",
        "services:\n",
        "  sqledge:\n",
        "    build:\n",
        "      context: .\n",
        "      dockerfile: Dockerfile\n",
        "    container_name: local-sqldb\n",
        "    environment:\n",
        "      ACCEPT_EULA: \"Y\"\n",
        "      MSSQL_SA_PASSWORD: \"Your_strong_Password123\"\n",
        "      MSSQL_PID: \"Developer\"\n",
        "    ports:\n",
        "      - \"14333:1433\"\n",
        "    volumes:\n",
        "      - sqldata:/var/opt/mssql\n",
        "\n",
        "volumes:\n",
        "  sqldata:\n",
        "'''\n",
        "\n",
        "print(compose_text)"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## Required variables for migration and smoke testing\n",
        "\n",
        "The following environment variables are referenced by the migration wrapper and smoke test logic:\n",
        "\n",
        "- SQL_SERVER\n",
        "- SQL_PORT\n",
        "- SQL_USER\n",
        "- SQL_PASSWORD\n",
        "- SQL_DB\n",
        "- MIGRATION_FILE"
      ]
    },
    {
      "cell_type": "code",
      "metadata": {},
      "source": [
        "required_env = [\"SQL_SERVER\", \"SQL_PORT\", \"SQL_USER\", \"SQL_PASSWORD\", \"SQL_DB\", \"MIGRATION_FILE\"]\n",
        "status = []\n",
        "for name in required_env:\n",
        "    value = os.environ.get(name)\n",
        "    status.append({\"name\": name, \"is_set\": value is not None and value != \"\"})\n",
        "\n",
        "print(json.dumps(status, indent=2))"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## Migration wrapper logic\n",
        "\n",
        "The original post includes a PowerShell wrapper around sqlcmd. Here we validate the same required settings in Python and print the equivalent sqlcmd command that would be executed."
      ]
    },
    {
      "cell_type": "code",
      "metadata": {},
      "source": [
        "required = [\"SQL_SERVER\", \"SQL_PORT\", \"SQL_USER\", \"SQL_PASSWORD\", \"SQL_DB\", \"MIGRATION_FILE\"]\n",
        "missing = [name for name in required if not os.environ.get(name)]\n",
        "\n",
        "if missing:\n",
        "    print(json.dumps({\"status\": \"missing_env\", \"missing\": missing}, indent=2))\n",
        "else:\n",
        "    cmd = [\n",
        "        \"sqlcmd\",\n",
        "        \"-S\", f\"{os.environ['SQL_SERVER']},{os.environ['SQL_PORT']}\",\n",
        "        \"-U\", os.environ['SQL_USER'],\n",
        "        \"-P\", \"<redacted>\",\n",
        "        \"-d\", os.environ['SQL_DB'],\n",
        "        \"-b\",\n",
        "        \"-i\", os.environ['MIGRATION_FILE']\n",
        "    ]\n",
        "    print(json.dumps({\"status\": \"ready\", \"command\": cmd}, indent=2))"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## SQL example 1: create the application schema\n",
        "\n",
        "This script creates a deterministic starting point with a database, schema namespace, primary key, unique constraint, and audit-style timestamp default."
      ]
    },
    {
      "cell_type": "code",
      "metadata": {},
      "source": [
        "-- 001_create_app_schema.sql: Create a minimal enterprise-style schema with audit columns\n",
        "IF DB_ID(N'AppDb') IS NULL\n",
        "BEGIN\n",
        "    CREATE DATABASE AppDb;\n",
        "END;\n",
        "GO\n",
        "\n",
        "USE AppDb;\n",
        "GO\n",
        "\n",
        "IF SCHEMA_ID(N'app') IS NULL EXEC('CREATE SCHEMA app');\n",
        "GO\n",
        "\n",
        "CREATE TABLE app.Customer (\n",
        "    CustomerId INT IDENTITY(1,1) PRIMARY KEY,\n",
        "    Email NVARCHAR(320) NOT NULL UNIQUE,\n",
        "    DisplayName NVARCHAR(200) NOT NULL,\n",
        "    CreatedAt DATETIME2 NOT NULL DEFAULT SYSUTCDATETIME()\n",
        ");\n",
        "GO"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## SQL example 2: seed deterministic fixture data\n",
        "\n",
        "This seed script is idempotent and ends with a simple validation query. That makes reruns predictable and suitable for local smoke testing."
      ]
    },
    {
      "cell_type": "code",
      "metadata": {},
      "source": [
        "-- 002_seed_reference_data.sql: Seed deterministic test data for repeatable local runs\n",
        "USE AppDb;\n",
        "GO\n",
        "\n",
        "IF NOT EXISTS (SELECT 1 FROM app.Customer WHERE Email = N'alice@example.com')\n",
        "BEGIN\n",
        "    INSERT INTO app.Customer (Email, DisplayName)\n",
        "    VALUES (N'alice@example.com', N'Alice');\n",
        "END;\n",
        "GO\n",
        "\n",
        "SELECT COUNT(*) AS CustomerCount\n",
        "FROM app.Customer;\n",
        "GO"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## Smoke test validation from Python\n",
        "\n",
        "This cell attempts a narrow connectivity and schema-state check similar to the blog post's smoke test. It returns machine-readable JSON so failures are easier to classify."
      ]
    },
    {
      "cell_type": "code",
      "metadata": {},
      "source": [
        "sql_server = os.environ.get('SQL_SERVER')\n",
        "sql_port = os.environ.get('SQL_PORT', '14333')\n",
        "sql_db = os.environ.get('SQL_DB')\n",
        "sql_user = os.environ.get('SQL_USER')\n",
        "sql_password = os.environ.get('SQL_PASSWORD')\n",
        "\n",
        "if not all([sql_server, sql_db, sql_user, sql_password]):\n",
        "    print(json.dumps({\n",
        "        \"status\": \"skipped\",\n",
        "        \"reason\": \"Set SQL_SERVER, SQL_DB, SQL_USER, and SQL_PASSWORD to run the smoke test\"\n",
        "    }))\n",
        "else:\n",
        "    conn_str = (\n",
        "        \"DRIVER={ODBC Driver 18 for SQL Server};\"\n",
        "        f\"SERVER={sql_server},{sql_port};\"\n",
        "        f\"DATABASE={sql_db};UID={sql_user};PWD={sql_password};\"\n",
        "        \"Encrypt=no;TrustServerCertificate=yes;\"\n",
        "    )\n",
        "    try:\n",
        "        with pyodbc.connect(conn_str, timeout=5) as conn:\n",
        "            row = conn.cursor().execute(\"SELECT COUNT(*) FROM app.Customer\").fetchone()\n",
        "        print(json.dumps({\"status\": \"pass\", \"customerCount\": int(row[0])}))\n",
        "    except Exception as ex:\n",
        "        print(json.dumps({\"status\": \"fail\", \"error\": str(ex)}))"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## Failure classification model\n",
        "\n",
        "When the test lane breaks, classify the failure instead of dumping everything into a generic database bucket."
      ]
    },
    {
      "cell_type": "code",
      "metadata": {},
      "source": [
        "failure_categories = [\n",
        "    \"Schema defect\",\n",
        "    \"Data-fixture defect\",\n",
        "    \"Application defect\",\n",
        "    \"Local-environment limitation\",\n",
        "    \"Cloud-target compatibility issue\"\n",
        "]\n",
        "\n",
        "print(pd.DataFrame({\"FailureCategory\": failure_categories}).to_string(index=False))"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## CI contract reuse\n",
        "\n",
        "Local and CI should use the same migration files, seed policy, test entry point, and validation queries. This cell captures the expected CI stages as a reviewable sequence."
      ]
    },
    {
      "cell_type": "code",
      "metadata": {},
      "source": [
        "ci_stages = [\n",
        "    \"Build local database runtime\",\n",
        "    \"Apply migrations\",\n",
        "    \"Seed approved fixtures\",\n",
        "    \"Run smoke queries\",\n",
        "    \"Run application integration tests\",\n",
        "    \"Publish logs and results\"\n",
        "]\n",
        "\n",
        "for i, stage in enumerate(ci_stages, start=1):\n",
        "    print(f\"Stage {i}: {stage}\")"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## Azure-hosted validation lane\n",
        "\n",
        "Local validation is not a substitute for Azure-hosted validation. Keep a separate cloud-target lane for identity, networking, managed operations, and service-specific behavior."
      ]
    },
    {
      "cell_type": "code",
      "metadata": {},
      "source": [
        "bicep_text = '''// main.bicep: Provision an Azure SQL logical server and database for integration environments\n",
        "param location string = resourceGroup().location\n",
        "param sqlServerName string\n",
        "@secure()\n",
        "param sqlAdminPassword string\n",
        "param sqlAdminLogin string = 'sqladminuser'\n",
        "param databaseName string = 'appdb-int'\n",
        "\n",
        "resource sqlServer 'Microsoft.Sql/servers@2022-05-01-preview' = {\n",
        "  name: sqlServerName\n",
        "  location: location\n",
        "  properties: {\n",
        "    administratorLogin: sqlAdminLogin\n",
        "    administratorLoginPassword: sqlAdminPassword\n",
        "    publicNetworkAccess: 'Enabled'\n",
        "  }\n",
        "}\n",
        "\n",
        "resource sqlDb 'Microsoft.Sql/servers/databases@2022-05-01-preview' = {\n",
        "  name: '${sqlServer.name}/${databaseName}'\n",
        "  location: location\n",
        "  sku: { name: 'Basic', tier: 'Basic' }\n",
        "}\n",
        "'''\n",
        "\n",
        "print(bicep_text)"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## Required variables for Azure deployment\n",
        "\n",
        "The Azure CLI deployment example references these variables:\n",
        "\n",
        "- RESOURCE_GROUP\n",
        "- LOCATION\n",
        "- SQL_SERVER_NAME\n",
        "- SQL_ADMIN_PASSWORD"
      ]
    },
    {
      "cell_type": "code",
      "metadata": {},
      "source": [
        "azure_env = [\"RESOURCE_GROUP\", \"LOCATION\", \"SQL_SERVER_NAME\", \"SQL_ADMIN_PASSWORD\"]\n",
        "print(json.dumps([{k: bool(os.environ.get(k))} for k in azure_env], indent=2))"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## Azure CLI deployment script\n",
        "\n",
        "This is the source-controlled deployment path for a shared Azure integration target. Keep it distinct from the local loop."
      ]
    },
    {
      "cell_type": "code",
      "metadata": {},
      "source": [
        "deploy_script = '''# deploy.sh: Create Azure infrastructure from Bicep with Azure CLI for shared test environments\n",
        "#!/usr/bin/env bash\n",
        "set -euo pipefail\n",
        "\n",
        "RESOURCE_GROUP=\"${RESOURCE_GROUP:-rg-sql-dev}\"\n",
        "LOCATION=\"${LOCATION:-eastus}\"\n",
        "SQL_SERVER_NAME=\"${SQL_SERVER_NAME:-sqldev$RANDOM}\"\n",
        "SQL_ADMIN_PASSWORD=\"${SQL_ADMIN_PASSWORD:?set SQL_ADMIN_PASSWORD}\"\n",
        "\n",
        "az group create --name \"$RESOURCE_GROUP\" --location \"$LOCATION\" >/dev/null\n",
        "az deployment group create \\\n",
        "  --resource-group \"$RESOURCE_GROUP\" \\\n",
        "  --template-file main.bicep \\\n",
        "  --parameters sqlServerName=\"$SQL_SERVER_NAME\" sqlAdminPassword=\"$SQL_ADMIN_PASSWORD\"\n",
        "'''\n",
        "\n",
        "print(deploy_script)"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## Parity matrix\n",
        "\n",
        "A parity matrix prevents teams from assuming that local container behavior is equivalent to Azure SQL Database behavior."
      ]
    },
    {
      "cell_type": "code",
      "metadata": {},
      "source": [
        "parity_matrix = pd.DataFrame([\n",
        "    [\"Schema creation and migration order\", \"Yes\", \"Yes\", \"Validate both\"],\n",
        "    [\"Deterministic seed data\", \"Yes\", \"Optional\", \"Usually local-first\"],\n",
        "    [\"Basic CRUD smoke tests\", \"Yes\", \"Yes\", \"Good in both\"],\n",
        "    [\"Authentication and identity flows\", \"No\", \"Yes\", \"Cloud-required\"],\n",
        "    [\"Network restrictions and firewall behavior\", \"No\", \"Yes\", \"Cloud-required\"],\n",
        "    [\"Service-managed operations\", \"No\", \"Yes\", \"Cloud-required\"],\n",
        "    [\"Performance characteristics\", \"Limited\", \"Yes\", \"Cloud-required\"],\n",
        "    [\"Operational observability\", \"Limited\", \"Yes\", \"Cloud-required\"]\n",
        "], columns=[\"Capability area\", \"Local result valid?\", \"Azure validation required?\", \"Notes\"])\n",
        "\n",
        "print(parity_matrix.to_string(index=False))"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## Security and governance guardrails\n",
        "\n",
        "Local developer databases need explicit controls. Keep secrets out of source, image layers, screenshots, and CI logs, and block production-derived data by default."
      ]
    },
    {
      "cell_type": "code",
      "metadata": {},
      "source": [
        "guardrails = {\n",
        "    \"do_not_store_secrets_in\": [\n",
        "        \"repository files\",\n",
        "        \"Dockerfiles committed to source\",\n",
        "        \"image layers\",\n",
        "        \"screenshots\",\n",
        "        \"shared wiki pages\",\n",
        "        \"CI logs\"\n",
        "    ],\n",
        "    \"data_policy\": \"synthetic first, approved sample data second, production-derived data by exception only\",\n",
        "    \"ownership_required_for\": [\n",
        "        \"approved base images\",\n",
        "        \"update cadence\",\n",
        "        \"vulnerability review\",\n",
        "        \"retirement path\",\n",
        "        \"developer guidance\",\n",
        "        \"CI log retention\",\n",
        "        \"exported backup handling\"\n",
        "    ]\n",
        "}\n",
        "\n",
        "print(json.dumps(guardrails, indent=2))"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## Pilot metrics\n",
        "\n",
        "Adopt the pattern with evidence. A short pilot should measure onboarding time, shared DB wait time, reset time, migration failures, flaky tests, CI reruns, support effort, and Azure consumption avoided or shifted."
      ]
    },
    {
      "cell_type": "code",
      "metadata": {},
      "source": [
        "pilot_metrics_template = pd.DataFrame([\n",
        "    [\"onboarding_time_hours\", None],\n",
        "    [\"shared_db_wait_time_minutes\", None],\n",
        "    [\"environment_reset_time_minutes\", None],\n",
        "    [\"migration_failure_rate\", None],\n",
        "    [\"flaky_test_rate\", None],\n",
        "    [\"ci_rerun_frequency\", None],\n",
        "    [\"dba_or_platform_support_hours\", None],\n",
        "    [\"azure_consumption_avoided_or_shifted\", None]\n",
        "], columns=[\"Metric\", \"ObservedValue\"])\n",
        "\n",
        "print(pilot_metrics_template.to_string(index=False))"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## Approval checklist\n",
        "\n",
        "Use this checklist to decide whether the pattern is mature enough for an enterprise team."
      ]
    },
    {
      "cell_type": "code",
      "metadata": {},
      "source": [
        "approval_checklist = [\n",
        "    \"Documented product scope and support boundary\",\n",
        "    \"Applies to review for every key doc and runbook step\",\n",
        "    \"Versioned local environment contract\",\n",
        "    \"Deterministic reset behavior\",\n",
        "    \"Safe data policy\",\n",
        "    \"Approved image provenance and patch ownership\",\n",
        "    \"Source-controlled migration and validation commands\",\n",
        "    \"CI evidence with logs and test outputs\",\n",
        "    \"Separate Azure-hosted validation lane\",\n",
        "    \"A maintained parity matrix\"\n",
        "]\n",
        "\n",
        "for item in approval_checklist:\n",
        "    print(f\"- {item}\")"
      ],
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## Next Steps\n",
        "\n",
        "This notebook validated the core pattern from the post: use local SQL containers as a confidence layer for schema work, deterministic fixtures, and smoke tests, while keeping Azure-hosted validation separate for cloud-specific behavior.\n",
        "\n",
        "Next steps:\n",
        "1. Stand up the local container definition in your repo.\n",
        "2. Run the schema and seed SQL against an isolated environment.\n",
        "3. Wire the smoke test into CI with published logs.\n",
        "4. Create and maintain a parity matrix for local versus Azure validation.\n",
        "5. Time-box a pilot and decide with measured results, not enthusiasm."
      ]
    }
  ]
}