René's URL Explorer Experiment


Title: feat!: run every built-in Rule on SQLQuack's located syntax tree by kvlonge · Pull Request #98 · sqlstack-io/sqlclean · GitHub

Open Graph Title: feat!: run every built-in Rule on SQLQuack's located syntax tree by kvlonge · Pull Request #98 · sqlstack-io/sqlclean

X Title: feat!: run every built-in Rule on SQLQuack's located syntax tree by kvlonge · Pull Request #98 · sqlstack-io/sqlclean

Description: Why Rules scanned tokens and misread SQL whose structure the scan could not see: commas before table functions read as cartesian joins, qty - 1 = 1 read as constants compared, broken fixes such as totalISNULL from total=NULL. SQLQuack 0.23.0 records every position a Rule needs in its located tree, so the Rules can read structure instead of guessing it. Changes All 53 built-in Rules read SQLQuack's located tree, in sqlclean-rules, which depends on sqlquack-syntax alone; make check-rust fails if that crate ever reaches a tokenizer or parser. Engine renders Rule edits at tree positions; 001's IS is spaced, LATERAL alias, ROW_NUMBER and star ranges come from the tree. Findings and fixes change for 36 Rules, each pinned in test_rule_misreads.rs or test_rule_pins.rs and listed in the commit message. CI lint corpus: 14,448 statements × 6 dialects with accepted findings and source notices; make accept-lint-corpus accepts a reviewed change. Pins SQLQuack 0.23.0 (7a8501a). BREAKING CHANGE: built-in Rules' findings and fixes change as listed in the commit message. Verification make verify (check-ci incl. fensu, check-docs-skill, check-rust; cargo test --all; pytest, 95 passed) on the same tree with SQLQuack's gated pre-release commit. On the 0.23.0 pin: cargo test --locked --workspace passed, corpus test included. cargo +1.88.0 check --workspace --all-targets --locked, clippy on 1.95.0, make release-rehearsal with uv 0.12.9. Every changed finding over 66,525 statements × 6 dialects read against the previous engine; changed fixes re-parsed.

Open Graph Description: Why Rules scanned tokens and misread SQL whose structure the scan could not see: commas before table functions read as cartesian joins, qty - 1 = 1 read as constants compared, broken fixes such as ...

X Description: Why Rules scanned tokens and misread SQL whose structure the scan could not see: commas before table functions read as cartesian joins, qty - 1 = 1 read as constants compared, broken fixes such as ...

Opengraph URL: https://github.com/sqlstack-io/sqlclean/pull/98

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d9c4543e-388d-d7e1-6a05-d0ef53c8a9d6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCEEC:12EFD7:313A4FF:3FAFD32:6B041E20
html-safe-nonce15f5146d117147f9182653889fd94d5321695b44ae04f7daeb009ad46f740dd9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUVDOjEyRUZENzozMTNBNEZGOjNGQUZEMzI6NkIwNDFFMjAiLCJ2aXNpdG9yX2lkIjoiMzQ4NTE4MzY5Njk3MjI5MTYxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac04d0d6280eafc8d681e0b940fe42320afe18073424d2e5cc28df9f620b0e8eba
hovercard-subject-tagpull_request:5449420954
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/sqlstack-io/sqlclean/pull/98/files
twitter:imagehttps://avatars.githubusercontent.com/u/273747162?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/273747162?s=400&v=4
og:image:altWhy Rules scanned tokens and misread SQL whose structure the scan could not see: commas before table functions read as cartesian joins, qty - 1 = 1 read as constants compared, broken fixes such as ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/sqlstack-io/sqlclean git https://github.com/sqlstack-io/sqlclean.git
octolytics-dimension-user_id280907144
octolytics-dimension-user_loginsqlstack-io
octolytics-dimension-repository_id1439360479
octolytics-dimension-repository_nwosqlstack-io/sqlclean
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1439360479
octolytics-dimension-repository_network_root_nwosqlstack-io/sqlclean
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/sqlstack-io/sqlclean/pull/98/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlstack-io%2Fsqlclean%2Fpull%2F98%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlstack-io%2Fsqlclean%2Fpull%2F98%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=sqlstack-io%2Fsqlclean
Reloadhttps://github.com/sqlstack-io/sqlclean/pull/98/files
Reloadhttps://github.com/sqlstack-io/sqlclean/pull/98/files
Reloadhttps://github.com/sqlstack-io/sqlclean/pull/98/files
sqlstack-iohttps://github.com/sqlstack-io
sqlcleanhttps://github.com/sqlstack-io/sqlclean
Codehttps://github.com/sqlstack-io/sqlclean
Issueshttps://github.com/sqlstack-io/sqlclean/issues
Pull requestshttps://github.com/sqlstack-io/sqlclean/pulls
Actionshttps://github.com/sqlstack-io/sqlclean/actions
Projectshttps://github.com/sqlstack-io/sqlclean/projects
Security and qualityhttps://github.com/sqlstack-io/sqlclean/security
Insightshttps://github.com/sqlstack-io/sqlclean/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fsqlstack-io%2Fsqlclean%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsqlstack-io%2Fsqlclean%2Fissues%2Fnew%2Fchoose
kvlongehttps://github.com/kvlonge
mainhttps://github.com/sqlstack-io/sqlclean/tree/main
feat/located-tree-ruleshttps://github.com/sqlstack-io/sqlclean/tree/feat/located-tree-rules
Conversation 1 https://github.com/sqlstack-io/sqlclean/pull/98
Commits 2 https://github.com/sqlstack-io/sqlclean/pull/98/commits
Checks 16 https://github.com/sqlstack-io/sqlclean/pull/98/checks
Files changed https://github.com/sqlstack-io/sqlclean/pull/98/files
Please reload this pagehttps://github.com/sqlstack-io/sqlclean/pull/98/files
feat!: run every built-in Rule on SQLQuack's located syntax tree https://github.com/sqlstack-io/sqlclean/pull/98/files#top
Show all changes 2 commits https://github.com/sqlstack-io/sqlclean/pull/98/files
cfd7c2a feat!: run every built-in Rule on SQLQuack's located syntax tree kvlonge Nov 23, 2026 https://github.com/sqlstack-io/sqlclean/pull/98/commits/cfd7c2aaa5a7e4cdce3e24d1e1c4c846c6c7aa20
c430a94 test(lint): check test fixtures out with LF on every platform kvlonge Nov 23, 2026 https://github.com/sqlstack-io/sqlclean/pull/98/commits/c430a947522f44cd6053366ba3626514980d8ad8
Clear filters https://github.com/sqlstack-io/sqlclean/pull/98/files
Please reload this pagehttps://github.com/sqlstack-io/sqlclean/pull/98/files
Please reload this pagehttps://github.com/sqlstack-io/sqlclean/pull/98/files
.gitattributeshttps://github.com/sqlstack-io/sqlclean/pull/98/files#diff-618cd5b83d62060ba3d027e314a21ceaf75d36067ff820db126642944145393e
View file https://github.com/sqlstack-io/sqlclean/blob/c430a947522f44cd6053366ba3626514980d8ad8/.gitattributes
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlstack-io/sqlclean/pull/98/{{ revealButtonHref }}
.github/scripts/release_metadata_check.pyhttps://github.com/sqlstack-io/sqlclean/pull/98/files#diff-1964a93c7a31a5d4e1fe0da317946953b0e64e858b12e3804cc02913aee9c43d
View file https://github.com/sqlstack-io/sqlclean/blob/c430a947522f44cd6053366ba3626514980d8ad8/.github/scripts/release_metadata_check.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlstack-io/sqlclean/pull/98/{{ revealButtonHref }}
https://github.com/sqlstack-io/sqlclean/pull/98/files#diff-1964a93c7a31a5d4e1fe0da317946953b0e64e858b12e3804cc02913aee9c43d
https://github.com/sqlstack-io/sqlclean/pull/98/files#diff-1964a93c7a31a5d4e1fe0da317946953b0e64e858b12e3804cc02913aee9c43d
Cargo.lockhttps://github.com/sqlstack-io/sqlclean/pull/98/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87e
View file https://github.com/sqlstack-io/sqlclean/blob/c430a947522f44cd6053366ba3626514980d8ad8/Cargo.lock
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/sqlstack-io/sqlclean/pull/98/files
Cargo.tomlhttps://github.com/sqlstack-io/sqlclean/pull/98/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
View file https://github.com/sqlstack-io/sqlclean/blob/c430a947522f44cd6053366ba3626514980d8ad8/Cargo.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlstack-io/sqlclean/pull/98/{{ revealButtonHref }}
https://github.com/sqlstack-io/sqlclean/pull/98/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
https://github.com/sqlstack-io/sqlclean/pull/98/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
https://github.com/sqlstack-io/sqlclean/pull/98/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
https://github.com/sqlstack-io/sqlclean/pull/98/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
Makefilehttps://github.com/sqlstack-io/sqlclean/pull/98/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
View file https://github.com/sqlstack-io/sqlclean/blob/c430a947522f44cd6053366ba3626514980d8ad8/Makefile
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlstack-io/sqlclean/pull/98/{{ revealButtonHref }}
https://github.com/sqlstack-io/sqlclean/pull/98/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
https://github.com/sqlstack-io/sqlclean/pull/98/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
https://github.com/sqlstack-io/sqlclean/pull/98/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
Please reload this pagehttps://github.com/sqlstack-io/sqlclean/pull/98/files
Please reload this pagehttps://github.com/sqlstack-io/sqlclean/pull/98/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.