@scalequality/check 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/check.mjs +8 -1
  2. package/package.json +1 -1
package/bin/check.mjs CHANGED
@@ -174,7 +174,14 @@ async function main() {
174
174
  // 5s quantizes every verdict to a 5s boundary: an analysis that finishes in 7s is
175
175
  // only reported at 10s, and the pipeline pays 3s of pure waiting. Start tight and
176
176
  // back off, so a fast repo answers fast and a slow one still polls cheaply.
177
- const POLL_MS = [1500, 1500, 2000, 2000, 3000]
177
+ //
178
+ // The ladder is DENSE from 4s to 9s because that is where analyses actually land.
179
+ // Measured 2026-08-09: the engine finishes in ~5.3s (semgrep is the slowest stage),
180
+ // and the previous ladder's 5s->7s gap meant three consecutive gate runs all
181
+ // reported 7.1-7.3s. Two full seconds of the number a customer sees, and of the
182
+ // number we quote against Sonar, were the client sleeping. Extra polls are cheap:
183
+ // they are small status reads, and being wrong about our own headline number is not.
184
+ const POLL_MS = [1200, 1200, 900, 700, 700, 700, 700, 700, 1000, 1500, 2000, 3000]
178
185
  const deadline = Date.now() + timeoutMs
179
186
  let last
180
187
  let poll = 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scalequality/check",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "ScaleQuality continuous code-maturity check for CI. Re-measures your repo on every build and fails the pipeline below your maturity line.",
5
5
  "type": "module",
6
6
  "bin": {