Commit ea1c5cc
authored
fix(bench): resolve query benchmark CI failure and increase embedding timeout (#749)
* fix(bench): resolve doubled file paths in query benchmark on CI
The query benchmark's benchDiffImpact reads row.file from the DB and
joins it with the repo root, but on CI the npm-installed buildGraph
stores paths that include the root directory prefix without a leading
slash. This produces doubled paths like /root/root/src/... causing
ENOENT.
Add resolveDbFile() helper that detects absolute-like paths and falls
back to prepending '/' when the joined path doesn't exist.
Also increase embedding benchmark per-model timeout from 10→20 minutes
and add explicit workflow timeout (180 min) so model downloads on cold
CI caches don't cause silent failures.
* fix(bench): return null from resolveDbFile and increase job timeout (#749)
- resolveDbFile now returns null when no candidate exists, eliminating
redundant existsSync calls in the caller
- Bump embedding-benchmark job timeout from 180 to 195 min to provide
adequate headroom for 7 cold-cache model downloads at 20 min each1 parent a331b4e commit ea1c5cc
3 files changed
Lines changed: 27 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
159 | 161 | | |
160 | 162 | | |
161 | 163 | | |
| |||
240 | 242 | | |
241 | 243 | | |
242 | 244 | | |
| 245 | + | |
243 | 246 | | |
244 | 247 | | |
245 | 248 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
179 | 194 | | |
180 | 195 | | |
181 | 196 | | |
| |||
185 | 200 | | |
186 | 201 | | |
187 | 202 | | |
188 | | - | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
189 | 211 | | |
190 | 212 | | |
191 | 213 | | |
| |||
0 commit comments