Skip to content
refs

Push

Failedmaine2b38f8started by Aman
Jobs
  • test52snodeFailedStep 2 (Test) exited with 1.
testFailed
Set up job
  1. 1▶ Check out
  2. 2Checked out refs/heads/main at e2b38f8
Install
  1. 1
  2. 2▶ Install
  3. 3
  4. 4added 206 packages in 31s
Test
  1. 1
  2. 2▶ Test
  3. 3
  4. 4> test
  5. 5> node --import ./apps/backend/test/workers-runtime.ts --test 'apps/*/test/**/*.test.ts' 'packages/*/test/**/*.test.ts'
  6. 6
  7. 7TAP version 13
  8. 8# file:///work/apps/backend/decisions.ts:43
  9. 9# using artifacts = await env.ARTIFACTS.get(repo.artifacts_name);
  10. 10# ^^^^^^^^^
  11. 11# SyntaxError: Unexpected identifier 'artifacts'
  12. 12# at compileSourceTextModule (node:internal/modules/esm/utils:346:16)
  13. 13# at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:110:18)
  14. 14# at ModuleLoader.<anonymous> (node:internal/modules/esm/translators:661:10)
  15. 15# at \#translate (node:internal/modules/esm/loader:559:20)
  16. 16# at afterLoad (node:internal/modules/esm/loader:612:29)
  17. 17# at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:617:12)
  18. 18# at \#createModuleJob (node:internal/modules/esm/loader:640:36)
  19. 19# at \#getJobFromResolveResult (node:internal/modules/esm/loader:353:34)
  20. 20# at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:321:41)
  21. 21# Node.js v22.23.5
  22. 22# Subtest: apps/backend/test/admit.test.ts
  23. 23not ok 1 - apps/backend/test/admit.test.ts
  24. 24 ---
  25. 25 duration_ms: 269.891449
  26. 26 type: 'test'
  27. 27 location: '/work/apps/backend/test/admit.test.ts:1:1'
  28. 28 failureType: 'testCodeFailure'
  29. 29 exitCode: 1
  30. 30 signal: ~
  31. 31 error: 'test failed'
  32. 32 code: 'ERR_TEST_FAILURE'
  33. 33 ...
  34. 34# Subtest: delivery uses stable identity and an explicit property allowlist
  35. 35ok 2 - delivery uses stable identity and an explicit property allowlist
  36. 36 ---
  37. 37 duration_ms: 56.352147
  38. 38 type: 'test'
  39. 39 ...
  40. 40# Subtest: approval is not attributed as activity by the account holder
  41. 41ok 3 - approval is not attributed as activity by the account holder
  42. 42 ---
  43. 43 duration_ms: 0.84112
  44. 44 type: 'test'
  45. 45 ...
  46. 46# Subtest: disabled, incomplete, or untrusted configuration sends nothing
  47. 47ok 4 - disabled, incomplete, or untrusted configuration sends nothing
  48. 48 ---
  49. 49 duration_ms: 0.53885
  50. 50 type: 'test'
  51. 51 ...
  52. 52# Subtest: delivery does not wait for PostHog before returning
  53. 53ok 5 - delivery does not wait for PostHog before returning
  54. 54 ---
  55. 55 duration_ms: 0.960611
  56. 56 type: 'test'
  57. 57 ...
  58. 58# Subtest: network failures are contained and do not log private details
  59. 59ok 6 - network failures are contained and do not log private details
  60. 60 ---
  61. 61 duration_ms: 1.29229
  62. 62 type: 'test'
  63. 63 ...
  64. 64# Subtest: HTTP failures are contained without logging response bodies
  65. 65ok 7 - HTTP failures are contained without logging response bodies
  66. 66 ---
  67. 67 duration_ms: 1.02761
  68. 68 type: 'test'
  69. 69 ...
  70. 70# Subtest: EU delivery is supported and separate captures have separate identifiers
  71. 71ok 8 - EU delivery is supported and separate captures have separate identifiers
  72. 72 ---
  73. 73 duration_ms: 1.126081
  74. 74 type: 'test'
  75. 75 ...
  76. 76# (node:84) ExperimentalWarning: SQLite is an experimental feature and might change at any time
  77. 77# (Use `node --trace-warnings ...` to show where the warning was created)
  78. 78# Subtest: an outline finds top-level declarations with their line ranges
  79. 79ok 9 - an outline finds top-level declarations with their line ranges
  80. 80 ---
  81. 81 duration_ms: 22.1813
  82. 82 type: 'test'
  83. 83 ...
  84. 84# Subtest: an outline finds class members and marks `this.` uses as member uses
  85. 85ok 10 - an outline finds class members and marks `this.` uses as member uses
  86. 86 ---
  87. 87 duration_ms: 1.855841
  88. 88 type: 'test'
  89. 89 ...
  90. 90# Subtest: an outline reads JSX tags as uses and does not mistake `</` or `/>` for a regular expression
  91. 91ok 11 - an outline reads JSX tags as uses and does not mistake `</` or `/>` for a regular expression
  92. 92 ---
  93. 93 duration_ms: 10.356055
  94. 94 type: 'test'
  95. 95 ...
  96. 96# Subtest: the graph resolves uses across relative imports, re-exports and workspace packages
  97. 97ok 12 - the graph resolves uses across relative imports, re-exports and workspace packages
  98. 98 ---
  99. 99 duration_ms: 18.990549
  100. 100 type: 'test'
  101. 101 ...
  102. 102# Subtest: a package's exports map becomes repository paths
  103. 103ok 13 - a package's exports map becomes repository paths
  104. 104 ---
  105. 105 duration_ms: 1.36553
  106. 106 type: 'test'
  107. 107 ...
  108. 108# Subtest: indexing a commit reads its source files and skips dependencies and declaration files
  109. 109ok 14 - indexing a commit reads its source files and skips dependencies and declaration files
  110. 110 ---
  111. 111 duration_ms: 5.315543
  112. 112 type: 'test'
  113. 113 ...
  114. 114# Subtest: a commit's map is built once, then read back from storage
  115. 115ok 15 - a commit's map is built once, then read back from storage
  116. 116 ---
  117. 117 duration_ms: 149.562221
  118. 118 type: 'test'
  119. 119 ...
  120. 120# Subtest: a build that never finished is taken over, and an empty commit is stored as empty
  121. 121ok 16 - a build that never finished is taken over, and an empty commit is stored as empty
  122. 122 ---
  123. 123 duration_ms: 40.70431
  124. 124 type: 'test'
  125. 125 ...
  126. 126# Subtest: code changes place added lines and removed lines on the head version
  127. 127ok 17 - code changes place added lines and removed lines on the head version
  128. 128 ---
  129. 129 duration_ms: 2.130781
  130. 130 type: 'test'
  131. 131 ...
  132. 132# Subtest: delivers pushes to the current task branch by others, never the session's own
  133. 133ok 18 - delivers pushes to the current task branch by others, never the session's own
  134. 134 ---
  135. 135 duration_ms: 3.023672
  136. 136 type: 'test'
  137. 137 ...
  138. 138# Subtest: an idle session receives no pushes
  139. 139ok 19 - an idle session receives no pushes
  140. 140 ---
  141. 141 duration_ms: 0.34512
  142. 142 type: 'test'
  143. 143 ...
  144. 144# Subtest: delivers problems only to the session that pushed the commit
  145. 145ok 20 - delivers problems only to the session that pushed the commit
  146. 146 ---
  147. 147 duration_ms: 0.41813
  148. 148 type: 'test'
  149. 149 ...
  150. 150# Subtest: delivers instructions and stop only to the session they address, idle or not
  151. 151ok 21 - delivers instructions and stop only to the session they address, idle or not
  152. 152 ---
  153. 153 duration_ms: 0.40913
  154. 154 type: 'test'
  155. 155 ...
  156. 156# Subtest: delivers mentions to the session they name
  157. 157ok 22 - delivers mentions to the session they name
  158. 158 ---
  159. 159 duration_ms: 0.45605
  160. 160 type: 'test'
  161. 161 ...
  162. 162# Subtest: tells the parent session when its sub-agent finishes
  163. 163ok 23 - tells the parent session when its sub-agent finishes
  164. 164 ---
  165. 165 duration_ms: 0.44984
  166. 166 type: 'test'
  167. 167 ...
  168. 168# Subtest: diff rows number both sides, deletions before additions
  169. 169ok 24 - diff rows number both sides, deletions before additions
  170. 170 ---
  171. 171 duration_ms: 4.096502
  172. 172 type: 'test'
  173. 173 ...
  174. 174# Subtest: counts a small change in a large file exactly
  175. 175ok 25 - counts a small change in a large file exactly
  176. 176 ---
  177. 177 duration_ms: 10.007115
  178. 178 type: 'test'
  179. 179 ...
  180. 180# Subtest: a selected range covers the rows between its ends across both sides
  181. 181ok 26 - a selected range covers the rows between its ends across both sides
  182. 182 ---
  183. 183 duration_ms: 3.313212
  184. 184 type: 'test'
  185. 185 ...
  186. 186# Subtest: finds the nearest common ancestor
  187. 187ok 27 - finds the nearest common ancestor
  188. 188 ---
  189. 189 duration_ms: 1.442621
  190. 190 type: 'test'
  191. 191 ...
  192. 192# Subtest: compares trees and blobs with file totals
  193. 193ok 28 - compares trees and blobs with file totals
  194. 194 ---
  195. 195 duration_ms: 2.595521
  196. 196 type: 'test'
  197. 197 ...
  198. 198# Subtest: a branch that merged its base lists only its own commits
  199. 199ok 29 - a branch that merged its base lists only its own commits
  200. 200 ---
  201. 201 duration_ms: 5.201812
  202. 202 type: 'test'
  203. 203 ...
  204. 204# Subtest: commits made in the same second still list oldest first
  205. 205ok 30 - commits made in the same second still list oldest first
  206. 206 ---
  207. 207 duration_ms: 2.382661
  208. 208 type: 'test'
  209. 209 ...
  210. 210# Subtest: each commit on a branch lists the paths it changed against its first parent
  211. 211ok 31 - each commit on a branch lists the paths it changed against its first parent
  212. 212 ---
  213. 213 duration_ms: 1.802491
  214. 214 type: 'test'
  215. 215 ...
  216. 216# Subtest: remembered reads stay inside their repository
  217. 217ok 32 - remembered reads stay inside their repository
  218. 218 ---
  219. 219 duration_ms: 3.046891
  220. 220 type: 'test'
  221. 221 ...
  222. 222# (node:110) ExperimentalWarning: SQLite is an experimental feature and might change at any time
  223. 223# (Use `node --trace-warnings ...` to show where the warning was created)
  224. 224# Subtest: a person directing a live agent is captured once per mention, without the mention text
  225. 225ok 33 - a person directing a live agent is captured once per mention, without the mention text
  226. 226 ---
  227. 227 duration_ms: 185.063058
  228. 228 type: 'test'
  229. 229 ...
  230. 230# Subtest: an agent mentioning another agent is not human direction
  231. 231ok 34 - an agent mentioning another agent is not human direction
  232. 232 ---
  233. 233 duration_ms: 42.2442
  234. 234 type: 'test'
  235. 235 ...
  236. 236# Subtest: hashes objects as git does
  237. 237ok 35 - hashes objects as git does
  238. 238 ---
  239. 239 duration_ms: 15.592637
  240. 240 type: 'test'
  241. 241 ...
  242. 242# Subtest: orders a directory as if its name ended in a slash
  243. 243ok 36 - orders a directory as if its name ended in a slash
  244. 244 ---
  245. 245 duration_ms: 1.937271
  246. 246 type: 'test'
  247. 247 ...
  248. 248# Subtest: writes a version 2 pack with a trailing checksum
  249. 249ok 37 - writes a version 2 pack with a trailing checksum
  250. 250 ---
  251. 251 duration_ms: 80.538438
  252. 252 type: 'test'
  253. 253 ...
  254. 254# Subtest: reads a receive-pack report
  255. 255ok 38 - reads a receive-pack report
  256. 256 ---
  257. 257 duration_ms: 0.937131
  258. 258 type: 'test'
  259. 259 ...
  260. 260# Subtest: merges trees path by path and reports files both sides changed
  261. 261ok 39 - merges trees path by path and reports files both sides changed
  262. 262 ---
  263. 263 duration_ms: 8.128284
  264. 264 type: 'test'
  265. 265 ...
  266. 266# (node:134) ExperimentalWarning: SQLite is an experimental feature and might change at any time
  267. 267# (Use `node --trace-warnings ...` to show where the warning was created)
  268. 268# Subtest: a committed batch hints each stream's repository once, with its newest event
  269. 269ok 40 - a committed batch hints each stream's repository once, with its newest event
  270. 270 ---
  271. 271 duration_ms: 51.280515
  272. 272 type: 'test'
  273. 273 ...
  274. 274# Subtest: a single recorded event hints after it runs
  275. 275ok 41 - a single recorded event hints after it runs
  276. 276 ---
  277. 277 duration_ms: 42.90806
  278. 278 type: 'test'
  279. 279 ...
  280. 280# Subtest: a failed batch hints nothing
  281. 281ok 42 - a failed batch hints nothing
  282. 282 ---
  283. 283 duration_ms: 46.229032
  284. 284 type: 'test'
  285. 285 ...
  286. 286# Subtest: reading an event statement with first() fails instead of skipping its hint
  287. 287ok 43 - reading an event statement with first() fails instead of skipping its hint
  288. 288 ---
  289. 289 duration_ms: 41.093309
  290. 290 type: 'test'
  291. 291 ...
  292. 292# Subtest: attributes each entry to the newest commit that changed it
  293. 293ok 44 - attributes each entry to the newest commit that changed it
  294. 294 ---
  295. 295 duration_ms: 7.620243
  296. 296 type: 'test'
  297. 297 ...
  298. 298# Subtest: leaves entries unattributed when history beyond the log is unavailable
  299. 299ok 45 - leaves entries unattributed when history beyond the log is unavailable
  300. 300 ---
  301. 301 duration_ms: 0.83798
  302. 302 type: 'test'
  303. 303 ...
  304. 304# Subtest: pages through history until every entry is attributed
  305. 305ok 46 - pages through history until every entry is attributed
  306. 306 ---
  307. 307 duration_ms: 1.166671
  308. 308 type: 'test'
  309. 309 ...
  310. 310# Subtest: commit history retains the full message for reasoning
  311. 311ok 47 - commit history retains the full message for reasoning
  312. 312 ---
  313. 313 duration_ms: 0.81003
  314. 314 type: 'test'
  315. 315 ...
  316. 316# Subtest: reasoning history keeps page boundaries and newest-first order
  317. 317ok 48 - reasoning history keeps page boundaries and newest-first order
  318. 318 ---
  319. 319 duration_ms: 2.949512
  320. 320 type: 'test'
  321. 321 ...
  322. 322# Subtest: an email has a text and an escaped HTML body with its link
  323. 323ok 49 - an email has a text and an escaped HTML body with its link
  324. 324 ---
  325. 325 duration_ms: 3.757781
  326. 326 type: 'test'
  327. 327 ...
  328. 328# Subtest: escapes raw HTML
  329. 329ok 50 - escapes raw HTML
  330. 330 ---
  331. 331 duration_ms: 14.054797
  332. 332 type: 'test'
  333. 333 ...
  334. 334# Subtest: neutralises dangerous link schemes and keeps safe ones
  335. 335ok 51 - neutralises dangerous link schemes and keeps safe ones
  336. 336 ---
  337. 337 duration_ms: 17.208398
  338. 338 type: 'test'
  339. 339 ...
  340. 340# Subtest: routes relative links and images through the resolver
  341. 341ok 52 - routes relative links and images through the resolver
  342. 342 ---
  343. 343 duration_ms: 2.943751
  344. 344 type: 'test'
  345. 345 ...
  346. 346# Subtest: firstInvalid reports the first failed field in the order given, or nothing when all pass
  347. 347ok 53 - firstInvalid reports the first failed field in the order given, or nothing when all pass
  348. 348 ---
  349. 349 duration_ms: 2.773841
  350. 350 type: 'test'
  351. 351 ...
  352. 352# file:///work/apps/backend/git.ts:36
  353. 353# using repo = await artifacts.get(artifactsName);
  354. 354# ^^^^
  355. 355# SyntaxError: Unexpected identifier 'repo'
  356. 356# at compileSourceTextModule (node:internal/modules/esm/utils:346:16)
  357. 357# at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:110:18)
  358. 358# at ModuleLoader.<anonymous> (node:internal/modules/esm/translators:661:10)
  359. 359# at \#translate (node:internal/modules/esm/loader:559:20)
  360. 360# at afterLoad (node:internal/modules/esm/loader:612:29)
  361. 361# at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:617:12)
  362. 362# at \#createModuleJob (node:internal/modules/esm/loader:640:36)
  363. 363# at \#getJobFromResolveResult (node:internal/modules/esm/loader:353:34)
  364. 364# at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:321:41)
  365. 365# Node.js v22.23.5
  366. 366# Subtest: apps/backend/test/permissions.test.ts
  367. 367not ok 13 - apps/backend/test/permissions.test.ts
  368. 368 ---
  369. 369 duration_ms: 806.416125
  370. 370 type: 'test'
  371. 371 location: '/work/apps/backend/test/permissions.test.ts:1:1'
  372. 372 failureType: 'testCodeFailure'
  373. 373 exitCode: 1
  374. 374 signal: ~
  375. 375 error: 'test failed'
  376. 376 code: 'ERR_TEST_FAILURE'
  377. 377 ...
  378. 378# file:///work/apps/backend/git.ts:36
  379. 379# using repo = await artifacts.get(artifactsName);
  380. 380# ^^^^
  381. 381# SyntaxError: Unexpected identifier 'repo'
  382. 382# at compileSourceTextModule (node:internal/modules/esm/utils:346:16)
  383. 383# at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:110:18)
  384. 384# at ModuleLoader.<anonymous> (node:internal/modules/esm/translators:661:10)
  385. 385# at \#translate (node:internal/modules/esm/loader:559:20)
  386. 386# at afterLoad (node:internal/modules/esm/loader:612:29)
  387. 387# at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:617:12)
  388. 388# at \#createModuleJob (node:internal/modules/esm/loader:640:36)
  389. 389# at \#getJobFromResolveResult (node:internal/modules/esm/loader:353:34)
  390. 390# at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:321:41)
  391. 391# Node.js v22.23.5
  392. 392# Subtest: apps/backend/test/presence.test.ts
  393. 393not ok 14 - apps/backend/test/presence.test.ts
  394. 394 ---
  395. 395 duration_ms: 710.634259
  396. 396 type: 'test'
  397. 397 location: '/work/apps/backend/test/presence.test.ts:1:1'
  398. 398 failureType: 'testCodeFailure'
  399. 399 exitCode: 1
  400. 400 signal: ~
  401. 401 error: 'test failed'
  402. 402 code: 'ERR_TEST_FAILURE'
  403. 403 ...
  404. 404# file:///work/apps/backend/pushes.ts:111
  405. 405# using handle = await env.ARTIFACTS.get(repo.artifacts_name);
  406. 406# ^^^^^^
  407. 407# SyntaxError: Unexpected identifier 'handle'
  408. 408# at compileSourceTextModule (node:internal/modules/esm/utils:346:16)
  409. 409# at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:110:18)
  410. 410# at ModuleLoader.<anonymous> (node:internal/modules/esm/translators:661:10)
  411. 411# at \#translate (node:internal/modules/esm/loader:559:20)
  412. 412# at afterLoad (node:internal/modules/esm/loader:612:29)
  413. 413# at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:617:12)
  414. 414# at \#createModuleJob (node:internal/modules/esm/loader:640:36)
  415. 415# at \#getJobFromResolveResult (node:internal/modules/esm/loader:353:34)
  416. 416# at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:321:41)
  417. 417# Node.js v22.23.5
  418. 418# Subtest: apps/backend/test/provision-analytics.test.ts
  419. 419not ok 15 - apps/backend/test/provision-analytics.test.ts
  420. 420 ---
  421. 421 duration_ms: 704.271826
  422. 422 type: 'test'
  423. 423 location: '/work/apps/backend/test/provision-analytics.test.ts:1:1'
  424. 424 failureType: 'testCodeFailure'
  425. 425 exitCode: 1
  426. 426 signal: ~
  427. 427 error: 'test failed'
  428. 428 code: 'ERR_TEST_FAILURE'
  429. 429 ...
  430. 430# file:///work/apps/backend/git.ts:36
  431. 431# using repo = await artifacts.get(artifactsName);
  432. 432# ^^^^
  433. 433# SyntaxError: Unexpected identifier 'repo'
  434. 434# at compileSourceTextModule (node:internal/modules/esm/utils:346:16)
  435. 435# at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:110:18)
  436. 436# at ModuleLoader.<anonymous> (node:internal/modules/esm/translators:661:10)
  437. 437# at \#translate (node:internal/modules/esm/loader:559:20)
  438. 438# at afterLoad (node:internal/modules/esm/loader:612:29)
  439. 439# at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:617:12)
  440. 440# at \#createModuleJob (node:internal/modules/esm/loader:640:36)
  441. 441# at \#getJobFromResolveResult (node:internal/modules/esm/loader:353:34)
  442. 442# at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:321:41)
  443. 443# Node.js v22.23.5
  444. 444# Subtest: apps/backend/test/push.test.ts
  445. 445not ok 16 - apps/backend/test/push.test.ts
  446. 446 ---
  447. 447 duration_ms: 229.346399
  448. 448 type: 'test'
  449. 449 location: '/work/apps/backend/test/push.test.ts:1:1'
  450. 450 failureType: 'testCodeFailure'
  451. 451 exitCode: 1
  452. 452 signal: ~
  453. 453 error: 'test failed'
  454. 454 code: 'ERR_TEST_FAILURE'
  455. 455 ...
  456. 456# file:///work/apps/backend/pushes.ts:111
  457. 457# using handle = await env.ARTIFACTS.get(repo.artifacts_name);
  458. 458# ^^^^^^
  459. 459# SyntaxError: Unexpected identifier 'handle'
  460. 460# at compileSourceTextModule (node:internal/modules/esm/utils:346:16)
  461. 461# at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:110:18)
  462. 462# at ModuleLoader.<anonymous> (node:internal/modules/esm/translators:661:10)
  463. 463# at \#translate (node:internal/modules/esm/loader:559:20)
  464. 464# at afterLoad (node:internal/modules/esm/loader:612:29)
  465. 465# at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:617:12)
  466. 466# at \#createModuleJob (node:internal/modules/esm/loader:640:36)
  467. 467# at \#getJobFromResolveResult (node:internal/modules/esm/loader:353:34)
  468. 468# at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:321:41)
  469. 469# Node.js v22.23.5
  470. 470# Subtest: apps/backend/test/pushes.test.ts
  471. 471not ok 17 - apps/backend/test/pushes.test.ts
  472. 472 ---
  473. 473 duration_ms: 284.166136
  474. 474 type: 'test'
  475. 475 location: '/work/apps/backend/test/pushes.test.ts:1:1'
  476. 476 failureType: 'testCodeFailure'
  477. 477 exitCode: 1
  478. 478 signal: ~
  479. 479 error: 'test failed'
  480. 480 code: 'ERR_TEST_FAILURE'
  481. 481 ...
  482. 482# file:///work/apps/backend/git.ts:36
  483. 483# using repo = await artifacts.get(artifactsName);
  484. 484# ^^^^
  485. 485# SyntaxError: Unexpected identifier 'repo'
  486. 486# at compileSourceTextModule (node:internal/modules/esm/utils:346:16)
  487. 487# at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:110:18)
  488. 488# at ModuleLoader.<anonymous> (node:internal/modules/esm/translators:661:10)
  489. 489# at \#translate (node:internal/modules/esm/loader:559:20)
  490. 490# at afterLoad (node:internal/modules/esm/loader:612:29)
  491. 491# at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:617:12)
  492. 492# at \#createModuleJob (node:internal/modules/esm/loader:640:36)
  493. 493# at \#getJobFromResolveResult (node:internal/modules/esm/loader:353:34)
  494. 494# at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:321:41)
  495. 495# Node.js v22.23.5
  496. 496# Subtest: apps/backend/test/refs.test.ts
  497. 497not ok 18 - apps/backend/test/refs.test.ts
  498. 498 ---
  499. 499 duration_ms: 213.134191
  500. 500 type: 'test'
  501. 501 location: '/work/apps/backend/test/refs.test.ts:1:1'
  502. 502 failureType: 'testCodeFailure'
  503. 503 exitCode: 1
  504. 504 signal: ~
  505. 505 error: 'test failed'
  506. 506 code: 'ERR_TEST_FAILURE'
  507. 507 ...
  508. 508# Subtest: repository imports classify the provider without sending source URLs or account details
  509. 509ok 60 - repository imports classify the provider without sending source URLs or account details
  510. 510 ---
  511. 511 duration_ms: 72.458785
  512. 512 type: 'test'
  513. 513 ...
  514. 514# Subtest: agent repository work remains separate from human activity
  515. 515ok 61 - agent repository work remains separate from human activity
  516. 516 ---
  517. 517 duration_ms: 1.110061
  518. 518 type: 'test'
  519. 519 ...
  520. 520# Subtest: provisioning failures use fixed reason codes without claiming a repository exists
  521. 521ok 62 - provisioning failures use fixed reason codes without claiming a repository exists
  522. 522 ---
  523. 523 duration_ms: 0.91676
  524. 524 type: 'test'
  525. 525 ...
  526. 526# Subtest: anonymous repository activity is not captured
  527. 527ok 63 - anonymous repository activity is not captured
  528. 528 ---
  529. 529 duration_ms: 0.490561
  530. 530 type: 'test'
  531. 531 ...
  532. 532# file:///work/apps/backend/git.ts:36
  533. 533# using repo = await artifacts.get(artifactsName);
  534. 534# ^^^^
  535. 535# SyntaxError: Unexpected identifier 'repo'
  536. 536# at compileSourceTextModule (node:internal/modules/esm/utils:346:16)
  537. 537# at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:110:18)
  538. 538# at ModuleLoader.<anonymous> (node:internal/modules/esm/translators:661:10)
  539. 539# at \#translate (node:internal/modules/esm/loader:559:20)
  540. 540# at afterLoad (node:internal/modules/esm/loader:612:29)
  541. 541# at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:617:12)
  542. 542# at \#createModuleJob (node:internal/modules/esm/loader:640:36)
  543. 543# at \#getJobFromResolveResult (node:internal/modules/esm/loader:353:34)
  544. 544# at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:321:41)
  545. 545# Node.js v22.23.5
  546. 546# Subtest: apps/backend/test/sessions.test.ts
  547. 547not ok 20 - apps/backend/test/sessions.test.ts
  548. 548 ---
  549. 549 duration_ms: 747.382976
  550. 550 type: 'test'
  551. 551 location: '/work/apps/backend/test/sessions.test.ts:1:1'
  552. 552 failureType: 'testCodeFailure'
  553. 553 exitCode: 1
  554. 554 signal: ~
  555. 555 error: 'test failed'
  556. 556 code: 'ERR_TEST_FAILURE'
  557. 557 ...
  558. 558# Subtest: a new repository's first commit holds the agent set-up files, readable by git
  559. 559ok 65 - a new repository's first commit holds the agent set-up files, readable by git
  560. 560 ---
  561. 561 duration_ms: 219.591785
  562. 562 type: 'test'
  563. 563 ...
  564. 564# file:///work/apps/backend/decisions.ts:43
  565. 565# using artifacts = await env.ARTIFACTS.get(repo.artifacts_name);
  566. 566# ^^^^^^^^^
  567. 567# SyntaxError: Unexpected identifier 'artifacts'
  568. 568# at compileSourceTextModule (node:internal/modules/esm/utils:346:16)
  569. 569# at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:110:18)
  570. 570# at ModuleLoader.<anonymous> (node:internal/modules/esm/translators:661:10)
  571. 571# at \#translate (node:internal/modules/esm/loader:559:20)
  572. 572# at afterLoad (node:internal/modules/esm/loader:612:29)
  573. 573# at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:617:12)
  574. 574# at \#createModuleJob (node:internal/modules/esm/loader:640:36)
  575. 575# at \#getJobFromResolveResult (node:internal/modules/esm/loader:353:34)
  576. 576# at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:321:41)
  577. 577# Node.js v22.23.5
  578. 578# Subtest: apps/backend/test/steer.test.ts
  579. 579not ok 22 - apps/backend/test/steer.test.ts
  580. 580 ---
  581. 581 duration_ms: 448.479344
  582. 582 type: 'test'
  583. 583 location: '/work/apps/backend/test/steer.test.ts:1:1'
  584. 584 failureType: 'testCodeFailure'
  585. 585 exitCode: 1
  586. 586 signal: ~
  587. 587 error: 'test failed'
  588. 588 code: 'ERR_TEST_FAILURE'
  589. 589 ...
  590. 590# file:///work/apps/backend/git.ts:36
  591. 591# using repo = await artifacts.get(artifactsName);
  592. 592# ^^^^
  593. 593# SyntaxError: Unexpected identifier 'repo'
  594. 594# at compileSourceTextModule (node:internal/modules/esm/utils:346:16)
  595. 595# at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:110:18)
  596. 596# at ModuleLoader.<anonymous> (node:internal/modules/esm/translators:661:10)
  597. 597# at \#translate (node:internal/modules/esm/loader:559:20)
  598. 598# at afterLoad (node:internal/modules/esm/loader:612:29)
  599. 599# at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:617:12)
  600. 600# at \#createModuleJob (node:internal/modules/esm/loader:640:36)
  601. 601# at \#getJobFromResolveResult (node:internal/modules/esm/loader:353:34)
  602. 602# at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:321:41)
  603. 603# Node.js v22.23.5
  604. 604# Subtest: apps/backend/test/tenancy.test.ts
  605. 605not ok 23 - apps/backend/test/tenancy.test.ts
  606. 606 ---
  607. 607 duration_ms: 451.899305
  608. 608 type: 'test'
  609. 609 location: '/work/apps/backend/test/tenancy.test.ts:1:1'
  610. 610 failureType: 'testCodeFailure'
  611. 611 exitCode: 1
  612. 612 signal: ~
  613. 613 error: 'test failed'
  614. 614 code: 'ERR_TEST_FAILURE'
  615. 615 ...
  616. 616# Subtest: the pipeline from the design page parses
  617. 617ok 68 - the pipeline from the design page parses
  618. 618 ---
  619. 619 duration_ms: 27.412423
  620. 620 type: 'test'
  621. 621 ...
  622. 622# Subtest: a pipeline without on runs on every push, pull request and manual start
  623. 623ok 69 - a pipeline without on runs on every push, pull request and manual start
  624. 624 ---
  625. 625 duration_ms: 1.21647
  626. 626 type: 'test'
  627. 627 ...
  628. 628# Subtest: on lists only the triggers it names
  629. 629ok 70 - on lists only the triggers it names
  630. 630 ---
  631. 631 duration_ms: 1.213691
  632. 632 type: 'test'
  633. 633 ...
  634. 634# Subtest: a step is named after the first line of its command
  635. 635ok 71 - a step is named after the first line of its command
  636. 636 ---
  637. 637 duration_ms: 2.760751
  638. 638 type: 'test'
  639. 639 ...
  640. 640# Subtest: images: built-in and dated built-in; an unknown image is refused
  641. 641ok 72 - images: built-in and dated built-in; an unknown image is refused
  642. 642 ---
  643. 643 duration_ms: 2.497811
  644. 644 type: 'test'
  645. 645 ...
  646. 646# Subtest: a job names the secrets it gets, in secret-name form
  647. 647ok 73 - a job names the secrets it gets, in secret-name form
  648. 648 ---
  649. 649 duration_ms: 2.387232
  650. 650 type: 'test'
  651. 651 ...
  652. 652# Subtest: every problem is reported with its path, not only the first
  653. 653ok 74 - every problem is reported with its path, not only the first
  654. 654 ---
  655. 655 duration_ms: 2.358201
  656. 656 type: 'test'
  657. 657 ...
  658. 658# Subtest: needs must name other jobs and must not form a cycle
  659. 659ok 75 - needs must name other jobs and must not form a cycle
  660. 660 ---
  661. 661 duration_ms: 2.252861
  662. 662 type: 'test'
  663. 663 ...
  664. 664# Subtest: YAML that does not parse, a duplicate key, and a file that is not a mapping are invalid
  665. 665ok 76 - YAML that does not parse, a duplicate key, and a file that is not a mapping are invalid
  666. 666 ---
  667. 667 duration_ms: 2.952141
  668. 668 type: 'test'
  669. 669 ...
  670. 670# Subtest: on is a key, not the YAML 1.1 boolean
  671. 671ok 77 - on is a key, not the YAML 1.1 boolean
  672. 672 ---
  673. 673 duration_ms: 1.242691
  674. 674 type: 'test'
  675. 675 ...
  676. 676# Subtest: a file over 64 KB is refused before parsing
  677. 677ok 78 - a file over 64 KB is refused before parsing
  678. 678 ---
  679. 679 duration_ms: 0.46549
  680. 680 type: 'test'
  681. 681 ...
  682. 682# Subtest: a new run is queued and starts only the jobs that need nothing
  683. 683ok 79 - a new run is queued and starts only the jobs that need nothing
  684. 684 ---
  685. 685 duration_ms: 4.275932
  686. 686 type: 'test'
  687. 687 ...
  688. 688# Subtest: a job starts when every job it needs succeeds, and the run succeeds at the end
  689. 689ok 80 - a job starts when every job it needs succeeds, and the run succeeds at the end
  690. 690 ---
  691. 691 duration_ms: 0.840041
  692. 692 type: 'test'
  693. 693 ...
  694. 694# Subtest: a failure skips every job after it, in one advance
  695. 695ok 81 - a failure skips every job after it, in one advance
  696. 696 ---
  697. 697 duration_ms: 0.65452
  698. 698 type: 'test'
  699. 699 ...
  700. 700# Subtest: an environment that needs approval holds the job until a person approves
  701. 701ok 82 - an environment that needs approval holds the job until a person approves
  702. 702 ---
  703. 703 duration_ms: 2.893372
  704. 704 type: 'test'
  705. 705 ...
  706. 706# Subtest: a rejected deploy cancels the job, and a closed environment fails it with the reason
  707. 707ok 83 - a rejected deploy cancels the job, and a closed environment fails it with the reason
  708. 708 ---
  709. 709 duration_ms: 0.6744
  710. 710 type: 'test'
  711. 711 ...
  712. 712# Subtest: cancel stops live jobs, and a late exit after it is ignored
  713. 713ok 84 - cancel stops live jobs, and a late exit after it is ignored
  714. 714 ---
  715. 715 duration_ms: 0.52839
  716. 716 type: 'test'
  717. 717 ...
  718. 718# Subtest: a job that waits for its image moves on when the image is ready, or fails with the build
  719. 719ok 85 - a job that waits for its image moves on when the image is ready, or fails with the build
  720. 720 ---
  721. 721 duration_ms: 0.516261
  722. 722 type: 'test'
  723. 723 ...
  724. 724# Subtest: a move the rules do not allow throws
  725. 725ok 86 - a move the rules do not allow throws
  726. 726 ---
  727. 727 duration_ms: 1.02269
  728. 728 type: 'test'
  729. 729 ...
  730. 730# Subtest: saved records load back into the same run
  731. 731ok 87 - saved records load back into the same run
  732. 732 ---
  733. 733 duration_ms: 0.849411
  734. 734 type: 'test'
  735. 735 ...
  736. 736# Subtest: trust follows who started the run
  737. 737ok 88 - trust follows who started the run
  738. 738 ---
  739. 739 duration_ms: 1.956071
  740. 740 type: 'test'
  741. 741 ...
  742. 742# Subtest: an environment gate checks existence, branch, trust and approval, in that order
  743. 743ok 89 - an environment gate checks existence, branch, trust and approval, in that order
  744. 744 ---
  745. 745 duration_ms: 0.63592
  746. 746 type: 'test'
  747. 747 ...
  748. 748# Subtest: branch patterns: * stays in one segment, ** crosses segments, the rest is literal
  749. 749ok 90 - branch patterns: * stays in one segment, ** crosses segments, the rest is literal
  750. 750 ---
  751. 751 duration_ms: 0.43404
  752. 752 type: 'test'
  753. 753 ...
  754. 754# Subtest: a run ID is stable for one commit and config, and changes with either
  755. 755ok 91 - a run ID is stable for one commit and config, and changes with either
  756. 756 ---
  757. 757 duration_ms: 21.908361
  758. 758 type: 'test'
  759. 759 ...
  760. 760# Subtest: a run ID fits a Workflow instance ID even for a long repo name
  761. 761ok 92 - a run ID fits a Workflow instance ID even for a long repo name
  762. 762 ---
  763. 763 duration_ms: 12.819256
  764. 764 type: 'test'
  765. 765 ...
  766. 766# Subtest: the batcher keeps order, splits on step changes and flushes the rest
  767. 767ok 93 - the batcher keeps order, splits on step changes and flushes the rest
  768. 768 ---
  769. 769 duration_ms: 12.979107
  770. 770 type: 'test'
  771. 771 ...
  772. 772# Subtest: a failed send is dropped and later output still goes out
  773. 773ok 94 - a failed send is dropped and later output still goes out
  774. 774 ---
  775. 775 duration_ms: 1.29192
  776. 776 type: 'test'
  777. 777 ...
  778. 778# (node:282) ExperimentalWarning: SQLite is an experimental feature and might change at any time
  779. 779# (Use `node --trace-warnings ...` to show where the warning was created)
  780. 780# Subtest: a sealed secret opens with the same scope
  781. 781ok 95 - a sealed secret opens with the same scope
  782. 782 ---
  783. 783 duration_ms: 23.173901
  784. 784 type: 'test'
  785. 785 ...
  786. 786# Subtest: sealing twice gives different ciphertexts
  787. 787ok 96 - sealing twice gives different ciphertexts
  788. 788 ---
  789. 789 duration_ms: 5.271673
  790. 790 type: 'test'
  791. 791 ...
  792. 792# Subtest: a sealed secret copied to another repo, environment or name does not open
  793. 793ok 97 - a sealed secret copied to another repo, environment or name does not open
  794. 794 ---
  795. 795 duration_ms: 6.594443
  796. 796 type: 'test'
  797. 797 ...
  798. 798# Subtest: another master key cannot open it, and a bad master key is refused
  799. 799ok 98 - another master key cannot open it, and a bad master key is refused
  800. 800 ---
  801. 801 duration_ms: 7.508754
  802. 802 type: 'test'
  803. 803 ...
  804. 804# Subtest: the masker hides a secret and its encoded forms
  805. 805ok 99 - the masker hides a secret and its encoded forms
  806. 806 ---
  807. 807 duration_ms: 1.776321
  808. 808 type: 'test'
  809. 809 ...
  810. 810# Subtest: the masker finds a secret split across chunks
  811. 811ok 100 - the masker finds a secret split across chunks
  812. 812 ---
  813. 813 duration_ms: 0.50608
  814. 814 type: 'test'
  815. 815 ...
  816. 816# Subtest: the masker hides each line of a secret that spans lines, and ignores very short secrets
  817. 817ok 101 - the masker hides each line of a secret that spans lines, and ignores very short secrets
  818. 818 ---
  819. 819 duration_ms: 0.81139
  820. 820 type: 'test'
  821. 821 ...
  822. 822# Subtest: the masker sends a very long line in parts instead of holding it
  823. 823ok 102 - the masker sends a very long line in parts instead of holding it
  824. 824 ---
  825. 825 duration_ms: 0.496931
  826. 826 type: 'test'
  827. 827 ...
  828. 828# Subtest: the CI tables accept a run and refuse a secret name that is not upper snake case
  829. 829ok 103 - the CI tables accept a run and refuse a secret name that is not upper snake case
  830. 830 ---
  831. 831 duration_ms: 42.8787
  832. 832 type: 'test'
  833. 833 ...
  834. 834# Subtest: a job gets only the secrets it names: environment over repository over organization, and environment secrets only when allowed
  835. 835ok 104 - a job gets only the secrets it names: environment over repository over organization, and environment secrets only when allowed
  836. 836 ---
  837. 837 duration_ms: 65.878652
  838. 838 type: 'test'
  839. 839 ...
  840. 840# Subtest: the MCP proxy hands refs_take's token to git's credential helper, never to the model, and takes it back on release
  841. 841ok 105 - the MCP proxy hands refs_take's token to git's credential helper, never to the model, and takes it back on release
  842. 842 ---
  843. 843 duration_ms: 512.104574
  844. 844 type: 'test'
  845. 845 ...
  846. 846# Subtest: outside a refs clone, the MCP server answers on its own, offers no tools and never calls refs
  847. 847ok 106 - outside a refs clone, the MCP server answers on its own, offers no tools and never calls refs
  848. 848 ---
  849. 849 duration_ms: 453.981376
  850. 850 type: 'test'
  851. 851 ...
  852. 852# Subtest: refs update keeps the installed CLI when the download is cut off
  853. 853ok 107 - refs update keeps the installed CLI when the download is cut off
  854. 854 ---
  855. 855 duration_ms: 298.468482
  856. 856 type: 'test'
  857. 857 ...
  858. 858# Subtest: refs update keeps the installed CLI when the checksum does not match
  859. 859ok 108 - refs update keeps the installed CLI when the checksum does not match
  860. 860 ---
  861. 861 duration_ms: 191.118851
  862. 862 type: 'test'
  863. 863 ...
  864. 864# Subtest: refs update replaces the CLI when the download is whole and matches its checksum
  865. 865ok 109 - refs update replaces the CLI when the download is whole and matches its checksum
  866. 866 ---
  867. 867 duration_ms: 271.122239
  868. 868 type: 'test'
  869. 869 ...
  870. 870# Subtest: a failed step fails, the steps before it succeed and the steps after it are skipped
  871. 871ok 110 - a failed step fails, the steps before it succeed and the steps after it are skipped
  872. 872 ---
  873. 873 duration_ms: 4.140062
  874. 874 type: 'test'
  875. 875 ...
  876. 876# Subtest: in a running job the last started step runs and later steps wait
  877. 877ok 111 - in a running job the last started step runs and later steps wait
  878. 878 ---
  879. 879 duration_ms: 0.59427
  880. 880 type: 'test'
  881. 881 ...
  882. 882# Subtest: a cancelled job marks the step it stopped in, and a job that never ran skips every step
  883. 883ok 112 - a cancelled job marks the step it stopped in, and a job that never ran skips every step
  884. 884 ---
  885. 885 duration_ms: 0.994531
  886. 886 type: 'test'
  887. 887 ...
  888. 888# Subtest: parses a full decision record
  889. 889ok 113 - parses a full decision record
  890. 890 ---
  891. 891 duration_ms: 6.323633
  892. 892 type: 'test'
  893. 893 ...
  894. 894# Subtest: a plain commit message has no decisions
  895. 895ok 114 - a plain commit message has no decisions
  896. 896 ---
  897. 897 duration_ms: 0.63886
  898. 898 type: 'test'
  899. 899 ...
  900. 900# Subtest: reports missing, unknown and malformed fields
  901. 901ok 115 - reports missing, unknown and malformed fields
  902. 902 ---
  903. 903 duration_ms: 0.85464
  904. 904 type: 'test'
  905. 905 ...
  906. 906# Subtest: rejects tabs, unclosed blocks and mixed nesting
  907. 907ok 116 - rejects tabs, unclosed blocks and mixed nesting
  908. 908 ---
  909. 909 duration_ms: 1.151701
  910. 910 type: 'test'
  911. 911 ...
  912. 912# Subtest: checks duplicates and supersedes across a push
  913. 913ok 117 - checks duplicates and supersedes across a push
  914. 914 ---
  915. 915 duration_ms: 1.124201
  916. 916 type: 'test'
  917. 917 ...
  918. 918# Subtest: reviews pushed commits into records to index and problems that reject the push
  919. 919ok 118 - reviews pushed commits into records to index and problems that reject the push
  920. 920 ---
  921. 921 duration_ms: 2.443331
  922. 922 type: 'test'
  923. 923 ...
  924. 924# Subtest: derives a stable, valid id from the commit and the block's position
  925. 925ok 119 - derives a stable, valid id from the commit and the block's position
  926. 926 ---
  927. 927 duration_ms: 3.985202
  928. 928 type: 'test'
  929. 929 ...
  930. 930# Subtest: supersedes names a decision by id, or by its commit and block number
  931. 931ok 120 - supersedes names a decision by id, or by its commit and block number
  932. 932 ---
  933. 933 duration_ms: 0.63231
  934. 934 type: 'test'
  935. 935 ...
  936. 936# Subtest: an old record that names a task is still valid, and the task is not kept
  937. 937ok 121 - an old record that names a task is still valid, and the task is not kept
  938. 938 ---
  939. 939 duration_ms: 0.980601
  940. 940 type: 'test'
  941. 941 ...
  942. 942# Subtest: narrative keeps the body and drops the subject and decision blocks
  943. 943ok 122 - narrative keeps the body and drops the subject and decision blocks
  944. 944 ---
  945. 945 duration_ms: 1.446921
  946. 946 type: 'test'
  947. 947 ...
  948. 948# Subtest: a commit with more decision blocks than allowed is refused, and no block past the cap gets an id
  949. 949ok 123 - a commit with more decision blocks than allowed is refused, and no block past the cap gets an id
  950. 950 ---
  951. 951 duration_ms: 1.63139
  952. 952 type: 'test'
  953. 953 ...
  954. 954# Subtest: narrative drops trailing git trailers and collapses runs of blank lines
  955. 955ok 124 - narrative drops trailing git trailers and collapses runs of blank lines
  956. 956 ---
  957. 957 duration_ms: 0.265521
  958. 958 type: 'test'
  959. 959 ...
  960. 960# Subtest: sessions may only update their own branch
  961. 961ok 125 - sessions may only update their own branch
  962. 962 ---
  963. 963 duration_ms: 2.300881
  964. 964 type: 'test'
  965. 965 ...
  966. 966# Subtest: a session without a branch claims a new one by pushing it, but never the default branch
  967. 967ok 126 - a session without a branch claims a new one by pushing it, but never the default branch
  968. 968 ---
  969. 969 duration_ms: 1.295501
  970. 970 type: 'test'
  971. 971 ...
  972. 972# Subtest: describes each delivery as an instruction the agent can act on
  973. 973ok 127 - describes each delivery as an instruction the agent can act on
  974. 974 ---
  975. 975 duration_ms: 1.32059
  976. 976 type: 'test'
  977. 977 ...
  978. 978# Subtest: hook output adds context for the hook's event, or nothing
  979. 979ok 128 - hook output adds context for the hook's event, or nothing
  980. 980 ---
  981. 981 duration_ms: 1.58305
  982. 982 type: 'test'
  983. 983 ...
  984. 9841..128
  985. 985# tests 128
  986. 986# suites 0
  987. 987# pass 118
  988. 988# fail 10
  989. 989# cancelled 0
  990. 990# skipped 0
  991. 991# todo 0
  992. 992# duration_ms 14284.964912