Commit d0141e7
committed
fix(ci): repair the prepush gate after the 260730 GUI stack
dev was red on both lint:gui (13 errors) and the suite (3 failures) before this
commit. All four reproduce on a pristine origin/dev worktree, so none of them
came from the blocker fixes stacked underneath; the 260730 GUI PRs landed them.
Tests, where the assertion had gone stale rather than the code being wrong:
- cli-help: ee3eaa2 added a real `repair` subcommand plus repairService(), so
the expectation was the stale side. The full usage string is still pinned, so
the `remove` alias this test exists for still fails if it disappears.
- provider-workspace-auth: c4c98c0 renamed setToast to showActionFeedback. The
replacement also requires the literal `true` second argument, so the error-tone
contract is pinned slightly tighter than before.
- windows-scheduler: the new UTF-16LE test hardcoded an absolute wscript path,
but buildWindowsTaskXml resolves <Command> through windowsWscript(), which
falls back to a bare "wscript.exe" wherever System32 does not exist. It could
never have passed off Windows. Pinned <Command> the way the sibling describe
block in the same file already does; the decoder itself is still exercised,
including the sanity check that a UTF-8 mis-decode stays unhealthy.
Lint. Five were false positives fixed in the allowlist rather than by inventing
i18n keys for things that must not be translated: GiB is an IEC unit, and three
curl samples resume after `${...}` interpolation as `\ -H ...`, which the bare
`^-H` rule cannot see. Four were mechanically equivalent and got real fixes —
a redundant tooltip coordinate reset, a redundant delete-confirm reset, a
ref read during render that `loading` already encodes, and the Logs surface
filter moved into its own module so the page exports components only.
Three kept their behavior and got a narrow suppression instead, because
"fix the lint" is not worth silently changing UX in code that landed hours ago:
ProviderAuthPanel's quota reservation is a TIMED state machine whose four-second
expiry stops a stalled enrichment from pinning skeleton rows forever; Models'
default collapse stays an effect so cached groups collapse on first paint even
when revalidation is slow or fails; CodexPoolStrategySetting's load() reaches an
await before any setter, so it never synchronously cascades. Each comment states
the contract it preserves.
Gates now: typecheck, lint:gui, privacy:scan, doctor:gui:if-changed all clean,
and the suite is 6074 pass / 0 fail across 437 files. The gui/ test suite has 14
pre-existing failures that are identical before and after this commit and are
not part of the prepush set.1 parent 0b86278 commit d0141e7
13 files changed
Lines changed: 62 additions & 26 deletions
File tree
- gui
- .eslint
- src
- components
- apikeys-workspace
- provider-workspace
- pages
- tests
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| |||
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
90 | 97 | | |
91 | 98 | | |
92 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
146 | 149 | | |
147 | 150 | | |
148 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
63 | 68 | | |
64 | 69 | | |
| 70 | + | |
65 | 71 | | |
66 | 72 | | |
67 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
239 | | - | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
240 | 242 | | |
241 | 243 | | |
242 | 244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | 106 | | |
116 | 107 | | |
117 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
274 | 278 | | |
275 | 279 | | |
276 | 280 | | |
277 | 281 | | |
278 | 282 | | |
| 283 | + | |
279 | 284 | | |
280 | 285 | | |
281 | 286 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments