v3.0.1 - CI/CD & Annotation Hardening
v3.0.1 — CI/CD & Annotation Hardening
Highlights
- Fixed CodeQL severity validation to correctly block deployments on high/critical findings
- Rewrote
test-tool-annotations.mjsinto a comprehensive 5-field annotation validation suite - Fixed missing tests inclusion in CI typecheck step
Changed
- Dependency Updates: Updated npm dependencies (e.g.
eslintto10.4.1). - Rewrote
test-server/scripts/test-tool-annotations.mjsfrom a basicopenWorldHintcounter into a comprehensive annotation validation suite. Now validates all 5 annotation fields (openWorldHint,readOnlyHint,destructiveHint,sensitiveHint,idempotentHint), checks logical consistency (e.g., noreadOnly+destructivecontradiction), enforces an exact allowlist foropenWorldHint=truetools, and validatestitlepresence.
Fixed
- Fixed
sqlite_pragma_settingsannotation: removed incorrectopenWorldHint: trueoverride. PRAGMA operations are internal to the SQLite engine and don't interact with the filesystem or network. - Fixed a bug in
.github/workflows/codeql.ymlwhere CodeQL severity validation failed to block deployments. The SARIF parser now correctly inheritsdefaultConfiguration.levelwhen the finding level is omitted, and explicitly excludes thetests/directory from blocking production releases. - Fixed
tsconfig.test.jsonto properly include thetests/directory and addednpm run typecheck:teststo the main check script so CI catches test-related type errors. - Fixed "Invocation of non-function" CodeQL alerts in
utilities.bench.tsandtransport-auth.bench.tsby removing dead benchmark code referencing non-existent functions.
Full Changelog: v3.0.0...v3.0.1
Installation
npm install db-mcp@3.0.1docker pull writenotenow/db-mcp:v3.0.1