paranoidparrot/QCost
SQL query cost predictor for PRs — catches expensive queries before they ship
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| config | Path to .qcost.yml | no | .qcost.yml |
| db-type | Database type: postgres | mysql | sqlite | no | postgres |
| dsn | Database DSN for live EXPLAIN mode (optional) | no | "" |
| format | Output format: markdown | json | text | no | markdown |
| base-ref | Base git ref to diff against | no | "" |
| fail-on-high | Exit 1 when any query exceeds the fail_score threshold | no | true |
| post-comment | Post results as a PR comment | no | true |
| github-token | GitHub token for posting PR comments | no | ${{ github.token }} |
| total-score | Sum of all query cost scores | — | — |
| gate-passed | true if all queries are below the fail threshold | — | — |
| report | Full markdown/JSON report as a string | — | — |
Outputs
no outputs