josephahn23/QuerySense
Lint SQL query performance in CI/CD. Analyzes EXPLAIN plans, detects slow queries, blocks PRs with performance regressions.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Mar 2, 2026
- License
- None
Pinned Snippet
uses: josephahn23/querysense-cloud@a7acee1fff4b3821eeb6d6c467d77d93c3385009 # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| plans | Glob pattern for EXPLAIN JSON files | no | "" |
| fail-on | Minimum severity to fail: critical, warning, info, none | no | "" |
| config | Path to .querysense-ci.yml config file | no | "" |
| python-version | Python version to use | no | 3.12 |
| querysense-version | QuerySense version to install (empty for latest) | no | "" |
| allow-plain | Allow EXPLAIN without ANALYZE data | no | false |
| markdown-artifact | Save PR comment markdown as artifact with this name (empty to skip) | no | "" |
Outputs
| name | description |
|---|---|
| result | 'pass' or 'fail' |
| critical_count | Number of critical findings |
| warning_count | Number of warning findings |
| info_count | Number of info findings |
| regression_count | Number of plan regressions |
| total_plans | Number of plans analyzed |