Release dev to main: Functions trigger test and DB_ID finding #4

Merged
hannah-vernon merged 6 commits from dev into main 2026-11-19 17:29:00 -05:00
Owner

What does this PR do?

Releases dev to main. Changes since the initial release (ee2dda2):

  • #1 Correct the DB_ID finding: documented Azure SQL Database behaviour, with the problem in the IF DB_ID(...) IS NULL guard used by Microsoft's samples and skills (reported upstream as microsoft/azure-sql-dev-hub#58 and microsoft/microsoft-sql#91).
  • #2 Add tests/functions-trigger/, an end-to-end Azure Functions SQL trigger test against the lab (Change Tracking question reported as microsoft/azure-sql-dev-hub#59).
  • #3 Show the README attribution in a smaller font.

Fixes #

How was this tested?

  • PowerShell files parse in Windows PowerShell 5.1 and PowerShell 7
  • shellcheck scripts/*.sh compose/*.sh is clean (no shell changes since the initial release)
  • tests/functions-trigger/Test-FunctionsTrigger.ps1 passed in PowerShell 7 and Windows PowerShell 5.1, with cleanup verified; tests/change-tracking/Test-ChangeTracking.ps1 passes
  • Runtime and platform: Windows 11, WSL 2 Debian 13, Docker 29.8.2, Compose 5.6.0
  • Image digest: sha256:8323f47dad34124f391413c3c3182ca89da5632888df6cfb5326574026599c57

Checklist

  • I have read the Contributing Guide
  • Each change was reviewed and merged into dev through its own PR
  • Documentation updated
  • The password never reaches a command line, an environment variable of a host process, a log, docker inspect or the console
  • No real host names, databases, passwords or customer data
## What does this PR do? Releases `dev` to `main`. Changes since the initial release (ee2dda2): - #1 Correct the DB_ID finding: documented Azure SQL Database behaviour, with the problem in the `IF DB_ID(...) IS NULL` guard used by Microsoft's samples and skills (reported upstream as microsoft/azure-sql-dev-hub#58 and microsoft/microsoft-sql#91). - #2 Add `tests/functions-trigger/`, an end-to-end Azure Functions SQL trigger test against the lab (Change Tracking question reported as microsoft/azure-sql-dev-hub#59). - #3 Show the README attribution in a smaller font. Fixes # ## How was this tested? - [x] PowerShell files parse in Windows PowerShell 5.1 and PowerShell 7 - [x] `shellcheck scripts/*.sh compose/*.sh` is clean (no shell changes since the initial release) - [x] `tests/functions-trigger/Test-FunctionsTrigger.ps1` passed in PowerShell 7 and Windows PowerShell 5.1, with cleanup verified; `tests/change-tracking/Test-ChangeTracking.ps1` passes - [x] Runtime and platform: Windows 11, WSL 2 Debian 13, Docker 29.8.2, Compose 5.6.0 - [x] Image digest: sha256:8323f47dad34124f391413c3c3182ca89da5632888df6cfb5326574026599c57 ## Checklist - [x] I have read the [Contributing Guide](../CONTRIBUTING.md) - [x] Each change was reviewed and merged into dev through its own PR - [x] Documentation updated - [x] The password never reaches a command line, an environment variable of a host process, a log, `docker inspect` or the console - [x] No real host names, databases, passwords or customer data
The DB_ID page documents that DB_ID returns an ID only for the current database in Azure SQL Database.  Reword the finding so it blames the IF DB_ID(...) IS NULL guard in Microsoft's samples and skills, not the engine.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Reviewed-on: #1
tests/functions-trigger runs a .NET 8 isolated function with the SQL trigger against the lab, using a throwaway login and Azurite, and cleans up afterwards.  It passes on build 12.0.2000.8 (Nov 17 2026) although the FAQ lists Change Tracking as not included.  README finding, .gitignore and third-party notices updated.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Reviewed-on: #2
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Reviewed-on: #3
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
hannah-vernon/azure-sql-db-container-lab!4
No description provided.