Commit 5dee96b
committed
fix(test): unblock the pre-push gate on two stale contract assertions
Both failures were red on origin/dev too, so the pre-push hook was
refusing everyone's push, not just this session's. Neither is a real
defect - each is a contract test that outlived the code it pins.
The parity sweep gained /api/github/star from the sidebar star feature
with no CLI counterpart. Rather than invent `ocx github star` to satisfy
a table, the endpoint is listed as GUI-only with the reason: a one-click
social action has nothing to offer a headless surface. The sweep stays
exhaustive instead of silently skipping the endpoint.
The account-pool assertion pinned `}, [enabled, load]);` while the effect
now reads apiBase and correctly depends on it (cafdc4986) - omitting it
would be the stale-closure bug the assertion exists to prevent. Updated
to the real dep list; the load-bearing part, that pauseCount is absent,
is unchanged and now stated in the comment.
bun test tests/provider-workspace-auth.test.ts tests/cli-headless-parity.test.ts:
22 pass 0 fail.1 parent e677dad commit 5dee96b
2 files changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
60 | 66 | | |
61 | 67 | | |
62 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
213 | 217 | | |
214 | 218 | | |
215 | 219 | | |
| |||
0 commit comments