Closed
Copy link
Labels
agent-readyFully specified and briefed; eligible for autonomous pickup from the frontier.
Description
Parent
Refs #9849
Depends on
Outcome
Queries run on SQL Server through tedious with the plugin's own pool and per-call guards that leave no transaction open, proven against a fake tedious connection.
Demo: run the plugin's unit-test command; each guard, discard rule, timeout and row-cap case passes.
Decisions
- ADR 0086 §4:
tediousused directly with the plugin's own pool (at most two connections, idle ones closed, an application name that marks agent sessions); authsql-loginfrom named environment variables, orentra-defaultthroughtoken-credential. - ADR 0086 §1: each call starts with
IF @@TRANCOUNT > 0 ROLLBACK, setsXACT_ABORT ON,READ COMMITTEDandLOCK_TIMEOUT, runs in autocommit, checks@@TRANCOUNTafterwards and discards the connection when it is above 0, and discards it after a timeout, cancel or error. A client-side request timeout and a streaming row cap cancel the request. Defaults stay provisional until test: measure SQL Server MCP read-safety controls and process topology against a local container #9892 measures them. - Slice C of the split recorded on feat: add the read-only SQL Server MCP server plugin with its config schema #9849 (owner Q93).
Key interfaces
- The executor interface from slice B.
Done when
- The plugin's unit tests against a fake tedious connection exit 0 with a case for each: the leading
IF @@TRANCOUNT > 0 ROLLBACK;XACT_ABORT ON,READ COMMITTEDandLOCK_TIMEOUTset; autocommit; discard when@@TRANCOUNTis above 0 after the call; discard after a timeout, a cancel and an error; at most two pooled connections with idle ones closed; the agent application name;sql-loginandentra-defaultauth; the request timeout and the row cap each cancelling the request -
git grep -l '"tedious"' -- 'plugins/sql-server/**/package.json'prints at least one path -
ci-statusis green on the PR head
Out of scope
- Measuring or changing the default values (test: measure SQL Server MCP read-safety controls and process topology against a local container #9892); container integration tests (test: prove the SQL Server MCP read path against a local SQL Server container #9878).
Metadata
Metadata
Assignees
Labels
agent-readyFully specified and briefed; eligible for autonomous pickup from the frontier.
Type
Fields
No fields configured for Feature.
Activity
melodic-automation-lanes commentedon Oct 31, 2026
The work-resolve-issue run that
agent-readystarted failed or was cancelled before it reported, or it stopped or the token broker refused it because its workflow files differ from main's. work-unblock removed and addedagent-readyback to start a fresh run on main's workflow files. If this run ends the same way, it re-fires the issue again, waiting longer each time.github-actions commentedon Oct 31, 2026
github-actions commentedon Oct 31, 2026
fix(sql-server): name what reviews the driver's Dependabot bumps