Commit 76e0c23
ci(portal): fix coverage path (fast-check + denominator), bump testTimeout, add skills symlink
Portal test-infra fixes exposed by the invariant-first refactor (#6); the S1
timeout itself is fixed separately by #19, so this no longer touches
portal-shell.test.ts.
- scripts/sync-upstream.sh: the --coverage branch never provisioned fast-check
(only --test did), so the 5 property-test files failed with "Failed to load
url fast-check" — the coverage path is broken on main today. Extract a shared
provision_fastcheck() called by both branches; in --coverage AFTER `pnpm add`
(which re-resolves node_modules and would prune the manually-copied tree).
- vite.portal.config.ts: coverage `include` was a stale hand-list of 5 files;
the refactor's 10 new portal-*.ts modules were silently dropped from the
denominator. Switch to a glob matching the copy step (portal*.ts + realtime*.ts)
with exclude ['**/*.test.ts'].
- vite.portal.config.ts: bump testTimeout 15000 -> 30000 as general headroom for
the real-backoff head-probe tests + coverage instrumentation on a loaded CI box.
- .claude/skills -> .agents/skills: a single directory-level symlink so any skill
added under the tracked .agents/skills/ is picked up automatically (force-added
past the .claude/ gitignore).
Verified: --test 140/140; --coverage 140/140 (fast-check provisioned, 94.86%
stmts / 85.11% branches / 95.89% funcs on the full glob denominator).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 8301386 commit 76e0c23
3 files changed
Lines changed: 24 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
25 | 30 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| 76 | + | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
79 | 85 | | |
80 | 86 | | |
81 | 87 | | |
| |||
91 | 97 | | |
92 | 98 | | |
93 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
94 | 103 | | |
95 | 104 | | |
96 | 105 | | |
| |||
0 commit comments