Skip to content

perf(rules): pin SQLClean 0.4.3 for cheaper unused-CTE facts - #1295

Closed
kvlonge wants to merge 1 commit into
mainfrom
chore/sqlclean-0.4.3
Closed

kvlonge wants to merge 1 commit into
mainfrom
chore/sqlclean-0.4.3

Conversation

@kvlonge

@kvlonge kvlonge commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Why

SQLClean 0.4.3 makes SQLCLEAN005 (unused CTE) facts cheaper: it no longer deep-clones every query with a WITH clause. This is a small part of the default-Rules cold-compile cost and does not recover the regression tracked in #1289.

Changes

  • Pin sqlclean to the v0.4.3 release commit cf79656. The lockfile changes only the sqlclean entry; its polyglot revision is unchanged.

Verification

  • SQLClean 0.4.3 passed its full Verify and published to PyPI; the installed sqlclean 0.4.3 reports the expected SQLCLEAN005 findings.
  • Replaying the 2,249-request lint batch from the 3,000-model inspection project gave byte-identical lint output before and after the change.
  • Full SQLBuild Verify on this pull request.

SQLClean 0.4.3 finds unused CTEs without deep-cloning each WITH query.
Lint output is unchanged.
@kvlonge kvlonge closed this Nov 2, 2026
@kvlonge
kvlonge deleted the chore/sqlclean-0.4.3 branch November 2, 2026 05:48

kvlonge commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by the replacement pull request from perf/pin-sqlclean-0-4-3: the original branch name failed the metadata check, and renaming the branch closed this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant