327: MSSQL: mssql_list_tables tool #351
No reviewers
Labels
No labels
bug
chore
documentation
enhancement
feature
ready
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
david/pi-extensions-and-skills!351
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/issue-327/mssql-mssql-list-tables-tool"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
327: MSSQL: mssql_list_tables tool
Implements 327.
Generated in 49s.
Review findings
Apply edits, including the formatRows helper.# Review Findings — 327
Summary
I fixed the two Medium findings and two of the three Low findings. The
LIST_TABLES_SQLexport finding is left unresolved because the review allows keeping it as a deliberate regression pin. The MSSQL tests pass (146 tests, 145 pass, 0 fail, 1 todo). No build or lint gate exists, so none was run.Critical
High
Medium
registers_bothToolsis stale now that three tools are registered. Suggested fix: rename it toregisters_allTools.guardedQueryis "the single guard → runner → audit path shared by both tools". That is now wrong, because there are three tools andmssql_list_tablesusesrunAndAuditand bypasses the guard. Suggested fix: reword the comment to sayguardedQueryis the guarded path for user-supplied SQL andrunAndAuditis the shared runner/audit path.Low
LIST_TABLES_SQLis exported but only the tests use it, and the test duplicates the literal SQL string. Suggested fix: keep the literal in the test as a deliberate regression pin, or drop theexportif nothing else needs it.mssql_queryhandler. Suggested fix: extract a smallformatRows(outcome, maxRows)helper.