Commit 534dad7
authored
fix(test): stop the local gate from failing on main (#5725)
Three independent, pre-existing gate breaks, none introduced by this branch --
found while chasing why release-please's PRs (#5710-5713) looked flaky under
local parallel test runs, and confirmed to reproduce identically on a clean
origin/main checkout:
- test/unit/agent-sdk-driver.test.ts, ai-summaries.test.ts, upstream-ruleset.test.ts:
each does real, non-trivial work (git subprocess round-trips, a 42-entry
forbidden-word sweep, 29 sequential D1-backed scenarios) that reliably exceeds
vitest's 15s default under load. Widened each to an explicit, realistic timeout
instead of leaving them to flake.
- test/unit/selfhost-grafana-dashboard.test.ts: 5f187c2 (#5716) fixed a real
production bug -- Grafana's ${var:sqlstring} doesn't sql-quote a value that
starts with $__, so the old $__all "All repos" sentinel leaked through
unescaped and SQLite misparsed it as its own bind parameter, silently zeroing
every "All"-filtered panel. That commit updated the dashboard JSON and two
sibling test files but missed this one.
- apps/gittensory-ui/public/openapi.json + 3 route/component .tsx files:
40e6cdf (#5715, the @gittensory -> @Loopover bot-mention rename) changed
copy text but never regenerated the OpenAPI spec or ran prettier on the
reflowed JSX text nodes, so ui:openapi:check and ui:lint both fail on main.
Regenerated the spec (npm run ui:openapi) and ran eslint --fix on the affected
files; both are mechanical, zero-semantic-diff outputs.1 parent f7b2352 commit 534dad7
3 files changed
Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
91 | 96 | | |
92 | 97 | | |
93 | 98 | | |
| |||
114 | 119 | | |
115 | 120 | | |
116 | 121 | | |
117 | | - | |
| 122 | + | |
118 | 123 | | |
119 | 124 | | |
120 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
412 | 416 | | |
413 | 417 | | |
414 | 418 | | |
415 | 419 | | |
416 | 420 | | |
417 | | - | |
| 421 | + | |
418 | 422 | | |
419 | 423 | | |
420 | 424 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1085 | 1085 | | |
1086 | 1086 | | |
1087 | 1087 | | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
1088 | 1092 | | |
1089 | 1093 | | |
1090 | 1094 | | |
| |||
1225 | 1229 | | |
1226 | 1230 | | |
1227 | 1231 | | |
1228 | | - | |
| 1232 | + | |
1229 | 1233 | | |
1230 | 1234 | | |
1231 | 1235 | | |
| |||
0 commit comments