You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: verify the SQL Server MCP read tier against an Azure SQL Database free-tier database #9905
Host run: an agent on a host with an Azure CLI login runs this end to end, teardown included. Owner approved creating the database on the condition that it is torn down in the same run (2026-10-29).
Refs #5940. Slice 6 of 7. Blocked by #9878 and #9898 (slices 3 and 5).
Problem
The owner scoped the first release to a local container and Azure SQL Database. Slices 3 and 4 run against the container only.
Tear down in the same run, whether the check passed or failed: delete the resource group (database, logical server, firewall rules) and the registered connection reference. Confirm that az group exists returns false.
Size: Small
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: #9878, #9898
Understood: this is a verification task. Create an Azure SQL Database free-tier database with AutoPause, register a read-only principal by reference, run the slice 3 integration script against it, and post the PASS lines for S1/S2, S5, S6 and S7 and the remaining free vCore seconds on #5940.
The Azure steps need a person with an Azure account, which an unattended lane run cannot do. The lane-checkable part is the script run once the Azure target is available. Slices #9878 and #9898 are still open and come first. The free tier with AutoPause does not bill, so I'm not raising a cost hold. I found no likely duplicates.
Released for re-triage under the owner's 2026-10-26 rule: a person is involved only for "1. A change in original intent/vision 2. Something comes up during implementation ... that alters intent/vision or the primary design 3. If there is a HIGH/CRITICAL security issue". None applies here, so the hold label came off and intake triage runs again now.
To hold this issue again, add needs-human (or status: needs-decision) and name which of the three applies.
Not admitted to the issue lane yet: blocker #9878 is not closed by a listed human or a merge; blocker #9898 is not closed by a listed human or a merge.
The work-resolve-issue lane stopped partway through this issue and needs a person.
Reason: security
Matched security word: credential. A match holds the stop whether or not the text names a risk, so read the word in context below.
Why, in the run's own words:
host-only: issue #9905 is a host run. It needs an Azure CLI login to create a free-tier Azure SQL Database (AutoPause) in a dedicated resource group, create and register a read-only principal, run the slice 3 integration script against it, post the PASS lines on #5940, then delete the resource group and confirm az group exists returns false. This CI lane has no Azure credentials, cannot create or delete cloud resources, and cannot comment on #5940. None of the done-when items is a repository change. The issue also names #9878 and #9898 as blockers.
What the run says it did not do:
Steps 1-5 of the issue (create the Azure SQL free-tier database, create and register the read-only principal, run the slice 3 integration script against Azure, post the PASS lines and remaining free vCore seconds on #5940, tear down and confirm az group exists is false): these need a host with an
Blocker status of #9878 and #9898 (slices 3 and 5) not checked; this lane has no tracker read
tidy, review, verify and the pre-PR prep did not run because there is no diff
Decision recorded.
Agent choice, not an owner answer.
The security stop on 2026-11-01 is not a security finding. The run stopped because the issue is host-only, and the stop reason matched a keyword in its own explanation that the CI lane cannot reach Azure or create cloud resources. No secret leaked and no account is at risk.
Both blockers are closed: #9878 on 2026-11-01T14:51Z and #9898 on 2026-11-01T19:03Z, each as completed. The cost question is already decided: the body's first line records the owner's approval (2026-10-29) to create the database on condition that it is torn down in the same run, and the Fix uses the free tier with AutoPause. None of the owner's three reasons is open.
This is host work, builder Automation Lanes: an agent on a host with an Azure CLI login runs steps 1 to 5 of the Fix end to end, teardown included, and records the teardown on both #9905 and #5940. Re-adding agent-ready would send it to the work-resolve-issue lane again, which cannot run it and would stop the same way. The body's criteria stand.
None of the done-when items is met yet: no comment on #5940 records Azure PASS lines for S1/S2, S5, S6 and S7 (its newest, 2026-11-02T18:20Z, says it still waits on #9905), and no free-tier database has been created, so AutoPause and teardown are unconfirmed.
The Fix cannot run as written yet, on any host. Step 3 says to run the slice 3 integration script against Azure, but plugins/sql-server/integration/read-path.mjs on main has no Azure target:
It starts a local container and connects to localhost (read-path.mjs:153, :364-365, :382) as sa (:371).
It builds its fixtures with CREATE LOGIN and CREATE DATABASE [app] / [other] (read-path.mjs:205-208), and takes its fingerprints and open-transaction counts as sa (:235-245).
The plugin's own reference page says so: "The integration test runs against a local container only; no test in this plugin connects to Azure SQL Database" (plugins/sql-server/reference/azure-sql-database.md:89).
So the script needs an Azure target mode first, on this issue: the logical server name and an Entra admin in place of sa, contained users in place of logins, and two pre-created free databases in place of CREATE DATABASE, because S5 needs a second database that the registration is refused. That is a code change under plugins/sql-server/ with no workflow file.
Once that mode is on main, a host with an Azure CLI login runs these steps in one session:
az group create for a dedicated resource group.
az sql server create in that group.
az sql db create twice, each with --edition GeneralPurpose --family Gen5 --capacity 2 --compute-model Serverless --use-free-limit true --free-limit-exhaustion-behavior AutoPause.
az sql server firewall-rule create for the client IP.
az sql server ad-admin create, then the contained db_datareader user (the steps in azure-sql-database.md).
Claim. The Backlog HITL host-run worker takes this issue now (2026-11-04): first a PR that adds an Azure target mode to plugins/sql-server/integration/read-path.mjs, then the Azure run and teardown from this host, recorded here and on #5940. No other branch, PR or lease for #9905 was found.
Host run. The slice 3 integration script ran against a free-tier Azure SQL Database from this host, with teardown in the same run. S1/S2, S4, S5, S6 and S7 all passed.
What ran (Claude Code 2.1.318, Azure CLI signed in to subcr-melodic-prod, region centralus):
feat(sql-server): run the integration test against Azure SQL Database #13129 adds the Azure mode the Status comment found missing: read-path.mjs --azure-server <server>.database.windows.net. In that mode the script signs in as the Entra admin through an Azure CLI token and creates contained users in place of logins. It needs one database, because the allow-list refuses the second database by itself and Azure SQL Database refuses cross-database names. Locally, npm test passed 216 tests, and the container run passed all five checks.
Approval: the owner's Backlog HITL Q1 row of 2026-10-29 in docs/owner-decisions.md (architecture repo), which says "As long as you clean it up later, right? Can we safely do that quickly and then tear it down?". It approves one database, torn down in the same run.
One run script, whose EXIT trap deletes the resource group, ran these steps:
az group create
az sql server create --enable-ad-only-auth --external-admin-*, so no admin secret went into argv; then az sql server ad-only-auth disable
az sql server firewall-rule create for this host
az sql db create ... --use-free-limit true --free-limit-exhaustion-behavior AutoPause
the integration script on PR head c2673381f2, which exited 0 at 07:18:49Z
az group delete --yes
Before any create, the Defender for SQL plan read Free and the subscription held 0 SQL databases.
AutoPause, no charge: the database reported useFreeLimit: true, AutoPause, GP_S_Gen5 and Local backups.
Teardown: the resource group was deleted at 07:28:17Z and az group exists returned false. No matching SQL server remains, and no connection reference remains: the config and registration lived in the script's temp directory, which it removed.
The remaining free vCore seconds were not captured. The free_amount_remaining metric returned no data point within the 8 minutes before teardown.
PR: #13129 (Refs: #9905), open, not merged. Once it merges, #9905 can close: every done-when item is met on #5940. The free vCore seconds will not be re-measured, because the owner approved one database run.
All three done-when boxes hold, checked 2026-11-04 after #13129 merged:
PASS for S1/S2, S5, S6 and S7 against Azure SQL Database: #5940 comment, lines 6-10.
AutoPause, no charge: the same comment records useFreeLimit: true and freeLimitExhaustionBehavior: AutoPause.
Teardown: the same comment records the resource group delete; re-checked by the coordinator with az group list (no rg-sql-read-path* group) and az sql server list (0 servers).
Not a done-when box, recorded for the next Azure run: the free vCore seconds metric returned no data point within 8 minutes, so consumption was not read.
Activity
github-actions commentedon Oct 25, 2026
Proposed work class: none
Size: Small
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: #9878, #9898
Understood: this is a verification task. Create an Azure SQL Database free-tier database with AutoPause, register a read-only principal by reference, run the slice 3 integration script against it, and post the PASS lines for S1/S2, S5, S6 and S7 and the remaining free vCore seconds on #5940.
The Azure steps need a person with an Azure account, which an unattended lane run cannot do. The lane-checkable part is the script run once the Azure target is available. Slices #9878 and #9898 are still open and come first. The free tier with AutoPause does not bill, so I'm not raising a cost hold. I found no likely duplicates.
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Oct 25, 2026
The latest triage verdict holds nothing: the issue is at
status: ready.kyle-sexton commentedon Oct 26, 2026
Released for re-triage under the owner's 2026-10-26 rule: a person is involved only for "1. A change in original intent/vision 2. Something comes up during implementation ... that alters intent/vision or the primary design 3. If there is a HIGH/CRITICAL security issue". None applies here, so the hold label came off and intake triage runs again now.
To hold this issue again, add
needs-human(orstatus: needs-decision) and name which of the three applies.melodic-automation-lanes commentedon Oct 26, 2026
Not admitted to the issue lane yet: blocker #9878 is not closed by a listed human or a merge; blocker #9898 is not closed by a listed human or a merge.
github-actions commentedon Nov 1, 2026
melodic-automation-lanes commentedon Nov 1, 2026
The work-resolve-issue lane stopped partway through this issue and needs a person.
Reason:
securityMatched security word:
credential. A match holds the stop whether or not the text names a risk, so read the word in context below.Why, in the run's own words:
What the run says it did not do:
az group existsis false): these need a host with anRun: https://github.com/melodic-software/claude-code-plugins/actions/runs/41339827245
To retry, remove
needs-humanand addagent-readyagain.kyle-sexton commentedon Nov 4, 2026
Decision recorded.
Agent choice, not an owner answer.
The
securitystop on 2026-11-01 is not a security finding. The run stopped because the issue is host-only, and the stop reason matched a keyword in its own explanation that the CI lane cannot reach Azure or create cloud resources. No secret leaked and no account is at risk.Both blockers are closed: #9878 on 2026-11-01T14:51Z and #9898 on 2026-11-01T19:03Z, each as completed. The cost question is already decided: the body's first line records the owner's approval (2026-10-29) to create the database on condition that it is torn down in the same run, and the Fix uses the free tier with AutoPause. None of the owner's three reasons is open.
This is host work, builder Automation Lanes: an agent on a host with an Azure CLI login runs steps 1 to 5 of the Fix end to end, teardown included, and records the teardown on both #9905 and #5940. Re-adding
agent-readywould send it to the work-resolve-issue lane again, which cannot run it and would stop the same way. The body's criteria stand.kyle-sexton commentedon Nov 4, 2026
Status.
Agent choice, not an owner answer.
None of the done-when items is met yet: no comment on #5940 records Azure PASS lines for S1/S2, S5, S6 and S7 (its newest, 2026-11-02T18:20Z, says it still waits on #9905), and no free-tier database has been created, so AutoPause and teardown are unconfirmed.
The Fix cannot run as written yet, on any host. Step 3 says to run the slice 3 integration script against Azure, but
plugins/sql-server/integration/read-path.mjson main has no Azure target:localhost(read-path.mjs:153,:364-365,:382) assa(:371).CREATE LOGINandCREATE DATABASE [app]/[other](read-path.mjs:205-208), and takes its fingerprints and open-transaction counts assa(:235-245).plugins/sql-server/reference/azure-sql-database.md:89).So the script needs an Azure target mode first, on this issue: the logical server name and an Entra admin in place of
sa, contained users in place of logins, and two pre-created free databases in place ofCREATE DATABASE, because S5 needs a second database that the registration is refused. That is a code change underplugins/sql-server/with no workflow file.Once that mode is on main, a host with an Azure CLI login runs these steps in one session:
az group createfor a dedicated resource group.az sql server createin that group.az sql db createtwice, each with--edition GeneralPurpose --family Gen5 --capacity 2 --compute-model Serverless --use-free-limit true --free-limit-exhaustion-behavior AutoPause.az sql server firewall-rule createfor the client IP.az sql server ad-admin create, then the containeddb_datareaderuser (the steps inazure-sql-database.md).az group delete, confirmaz group existsreturnsfalse, and record the teardown on test: verify the SQL Server MCP read tier against an Azure SQL Database free-tier database #9905 and feat: ship a safe, general-purpose SQL Server MCP server plugin #5940.This check created no Azure resources.
kyle-sexton commentedon Nov 4, 2026
Claim. The Backlog HITL host-run worker takes this issue now (2026-11-04): first a PR that adds an Azure target mode to
plugins/sql-server/integration/read-path.mjs, then the Azure run and teardown from this host, recorded here and on #5940. No other branch, PR or lease for #9905 was found.kyle-sexton commentedon Nov 4, 2026
Host run. The slice 3 integration script ran against a free-tier Azure SQL Database from this host, with teardown in the same run. S1/S2, S4, S5, S6 and S7 all passed.
What ran (Claude Code 2.1.318, Azure CLI signed in to
subcr-melodic-prod, region centralus):read-path.mjs --azure-server <server>.database.windows.net. In that mode the script signs in as the Entra admin through an Azure CLI token and creates contained users in place of logins. It needs one database, because the allow-list refuses the second database by itself and Azure SQL Database refuses cross-database names. Locally,npm testpassed 216 tests, and the container run passed all five checks.docs/owner-decisions.md(architecture repo), which says "As long as you clean it up later, right? Can we safely do that quickly and then tear it down?". It approves one database, torn down in the same run.az group createaz sql server create --enable-ad-only-auth --external-admin-*, so no admin secret went into argv; thenaz sql server ad-only-auth disableaz sql server firewall-rule createfor this hostaz sql db create ... --use-free-limit true --free-limit-exhaustion-behavior AutoPausec2673381f2, which exited 0 at 07:18:49Zaz group delete --yesAgainst the done-when items:
useFreeLimit: true,AutoPause,GP_S_Gen5andLocalbackups.az group existsreturnedfalse. No matching SQL server remains, and no connection reference remains: the config and registration lived in the script's temp directory, which it removed.free_amount_remainingmetric returned no data point within the 8 minutes before teardown.PR: #13129 (
Refs: #9905), open, not merged. Once it merges, #9905 can close: every done-when item is met on #5940. The free vCore seconds will not be re-measured, because the owner approved one database run.Target labels: add none; remove host-run.
kyle-sexton commentedon Nov 4, 2026
Done.
All three done-when boxes hold, checked 2026-11-04 after #13129 merged:
useFreeLimit: trueandfreeLimitExhaustionBehavior: AutoPause.az group list(norg-sql-read-path*group) andaz sql server list(0 servers).Not a done-when box, recorded for the next Azure run: the free vCore seconds metric returned no data point within 8 minutes, so consumption was not read.