paranoidparrot/QCost

SQL query cost predictor for PRs — catches expensive queries before they ship

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
configPath to .qcost.ymlno.qcost.yml
db-typeDatabase type: postgres | mysql | sqlitenopostgres
dsnDatabase DSN for live EXPLAIN mode (optional)no""
formatOutput format: markdown | json | textnomarkdown
base-refBase git ref to diff againstno""
fail-on-highExit 1 when any query exceeds the fail_score thresholdnotrue
post-commentPost results as a PR commentnotrue
github-tokenGitHub token for posting PR commentsno${{ github.token }}
total-scoreSum of all query cost scores
gate-passedtrue if all queries are below the fail threshold
reportFull markdown/JSON report as a string

no outputs