Skip to content
refs

Push

Failedmaind51b0e1started by Aman
Jobs
  • test33snodeFailedStep 2 (Test) exited with 1.
testFailed
Set up job5s
  1. 1Checked out refs/heads/main at d51b0e1
Install15s
  1. 1
  2. 2added 203 packages in 14s
  3. 3npm warn install-scripts 2 packages have install scripts not yet covered by allowScripts:
  4. 4npm warn install-scripts esbuild@0.28.1 (postinstall: node install.js)
  5. 5npm warn install-scripts workerd@1.20261001.1 (postinstall: node install.js)
  6. 6npm warn install-scripts
  7. 7npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.
Test14s
  1. 1
  2. 2> test
  3. 3> node --import ./apps/backend/test/workers-runtime.ts --test 'apps/*/test/**/*.test.ts' 'packages/*/test/**/*.test.ts'
  4. 4
  5. 5CIMD (Client ID Metadata Document) is disabled: add '"compatibility_flags": ["global_fetch_strictly_public"]' to your wrangler.jsonc to enable. See: https://developers.cloudflare.com/workers/configuration/compatibility-flags/#global-fetch-strictly-public
  6. 6✔ sign-up opens the account at once, and a reset link sets a new password one time (122.756578ms)
  7. 7✔ a person left on the old waitlist gets their namespace when they sign in (53.808157ms)
  8. 8✔ only admins open the overview, and it counts people and 30 days (60.970708ms)
  9. 9✔ a record that does not say what it costs to reverse is refused, and the task branch never moves (78.426686ms)
  10. 10✔ a commit with a record, or with none, lands and its ids are reported (49.910241ms)
  11. 11✔ a push after the task branch was merged checks only its new commits, not the default branch's history (25.187991ms)
  12. 12✔ a branch that moved during the check refuses the push and still releases the quarantine (22.544246ms)
  13. 13✔ an agent mention counts only outside code and as a whole handle (1.516633ms)
  14. 14✔ each built-in agent has a handle that a mention finds (0.474071ms)
  15. 15✔ the changed declarations list each touched symbol with how often it is used (9.089235ms)
  16. 16✔ the run list shows who started each run, where it stands, and the steps of a working run (22.086366ms)
  17. 17✔ a dead run is marked failed once, and a run that already ended stays as it is (21.514574ms)
  18. 18✔ a hosted agent's mention shows its handle and its latest step, and a connected agent's mention does not (25.636571ms)
  19. 19✔ delivery uses stable identity and an explicit property allowlist (30.69657ms)
  20. 20✔ approval is not attributed as activity by the account holder (0.365701ms)
  21. 21✔ disabled, incomplete, or untrusted configuration sends nothing (0.474281ms)
  22. 22✔ delivery does not wait for PostHog before returning (0.418531ms)
  23. 23✔ network failures are contained and do not log private details (0.556421ms)
  24. 24✔ HTTP failures are contained without logging response bodies (0.509621ms)
  25. 25✔ EU delivery is supported and separate captures have separate identifiers (0.517511ms)
  26. 26CIMD (Client ID Metadata Document) is disabled: add '"compatibility_flags": ["global_fetch_strictly_public"]' to your wrangler.jsonc to enable. See: https://developers.cloudflare.com/workers/configuration/compatibility-flags/#global-fetch-strictly-public
  27. 27✔ the CLI's repository routes act as the person only for a sign-in with the git scope (67.67212ms)
  28. 28✔ an outline finds top-level declarations with their line ranges (3.888166ms)
  29. 29✔ an outline finds class members and marks `this.` uses as member uses (0.874561ms)
  30. 30✔ an outline reads JSX tags as uses and does not mistake `</` or `/>` for a regular expression (0.740001ms)
  31. 31✔ the graph resolves uses across relative imports, re-exports and workspace packages (7.835993ms)
  32. 32✔ a package's exports map becomes repository paths (0.37266ms)
  33. 33✔ indexing a commit reads its source files and skips dependencies and declaration files (1.587453ms)
  34. 34✔ a commit's map is built once, then read back from storage (69.161382ms)
  35. 35✔ a build that never finished is taken over, and an empty commit is stored as empty (20.419472ms)
  36. 36✔ code changes place added lines and removed lines on the head version (1.119382ms)
  37. 37✔ delivers pushes to the current task branch by others, never the session's own (1.293593ms)
  38. 38✔ tells a working session when the default branch moves, so it rebases onto merged work (0.289301ms)
  39. 39✔ an idle session receives no pushes (0.10879ms)
  40. 40✔ delivers problems only to the session that pushed the commit (0.238681ms)
  41. 41✔ delivers instructions and stop only to the session they address, idle or not (0.17488ms)
  42. 42✔ delivers mentions to the session they name (0.174391ms)
  43. 43✔ tells the parent session when its sub-agent finishes (0.27884ms)
  44. 44✔ diff rows number both sides, deletions before additions (1.822253ms)
  45. 45✔ counts a small change in a large file exactly (4.873818ms)
  46. 46✔ a selected range covers the rows between its ends across both sides (0.401461ms)
  47. 47✔ finds the nearest common ancestor (0.706221ms)
  48. 48✔ compares trees and blobs with file totals (1.087932ms)
  49. 49✔ a branch that merged its base lists only its own commits (0.619281ms)
  50. 50✔ commits made in the same second still list oldest first (1.114112ms)
  51. 51✔ each commit on a branch lists the paths it changed against its first parent (0.623871ms)
  52. 52✔ remembered reads stay inside their repository (0.937802ms)
  53. 53✔ a person directing a live agent is captured once per mention, without the mention text (65.016985ms)
  54. 54✔ an agent mentioning another agent is not human direction (29.214287ms)
  55. 55✔ hashes objects as git does (10.007956ms)
  56. 56✔ orders a directory as if its name ended in a slash (1.154662ms)
  57. 57✔ writes a version 2 pack with a trailing checksum (35.371727ms)
  58. 58✔ reads a receive-pack report (0.672601ms)
  59. 59✔ merges trees path by path and reports files both sides changed (3.583046ms)
  60. 60✔ a committed batch hints each stream's repository once, with its newest event (23.411328ms)
  61. 61✔ a single recorded event hints after it runs (21.476524ms)
  62. 62✔ a failed batch hints nothing (23.040627ms)
  63. 63✔ reading an event statement with first() fails instead of skipping its hint (22.650137ms)
  64. 64✔ attributes each entry to the newest commit that changed it (1.196682ms)
  65. 65✔ leaves entries unattributed when history beyond the log is unavailable (0.30958ms)
  66. 66✔ pages through history until every entry is attributed (0.494001ms)
  67. 67✔ commit history retains the full message for reasoning (0.252661ms)
  68. 68✔ reasoning history keeps page boundaries and newest-first order (0.873111ms)
  69. 69✔ a repository agent replaces the shared and built-in agent of the same handle (23.465028ms)
  70. 70✔ a working key is tested, sealed, kept on a later edit, and opened for runs (87.392991ms)
  71. 71✔ a rejected key is not stored and the error never shows the key (20.841294ms)
  72. 72✔ only a person with edit rights changes agents, and bad input is refused before any request (21.197574ms)
  73. 73✔ provider errors name the problem without the key (0.24323ms)
  74. 74✔ an email has a text and an escaped HTML body with its link (1.656942ms)
  75. 75✔ escapes raw HTML (5.280758ms)
  76. 76✔ neutralises dangerous link schemes and keeps safe ones (8.763964ms)
  77. 77✔ routes relative links and images through the resolver (1.418332ms)
  78. 78✔ firstInvalid reports the first failed field in the order given, or nothing when all pass (1.267102ms)
  79. 79CIMD (Client ID Metadata Document) is disabled: add '"compatibility_flags": ["global_fetch_strictly_public"]' to your wrangler.jsonc to enable. See: https://developers.cloudflare.com/workers/configuration/compatibility-flags/#global-fetch-strictly-public
  80. 80✔ pendingPermissions hides a decided request, and deciding twice is a no-op (21.391725ms)
  81. 81✔ refs_approve returns the decision recorded in permission_requests (35.281067ms)
  82. 82✔ a verdict given while the waiter was gone reaches the retry, and only for the input it was asked about (27.425034ms)
  83. 83✔ expiry denies approvals past their window once, drops them from the portal, and names the next deadline (24.181729ms)
  84. 84✔ connect records the session's start event on the session (28.106816ms)
  85. 85✔ no hot session or approval query scans a table (34.481025ms)
  86. 86✔ the migration backfills start events and permission requests, and can run again (7.828053ms)
  87. 87CIMD (Client ID Metadata Document) is disabled: add '"compatibility_flags": ["global_fetch_strictly_public"]' to your wrangler.jsonc to enable. See: https://developers.cloudflare.com/workers/configuration/compatibility-flags/#global-fetch-strictly-public
  88. 88✔ consecutive MCP calls within a minute write last_seen_at once (23.589909ms)
  89. 89✔ a PAT used for several git requests within a minute writes last_used_at once (87.365221ms)
  90. 90✔ the refs CLI sign-in works as the human for git only when its grant has the git scope (25.837572ms)
  91. 91✔ a mention asks the hub, not the machines projection, whether the machine is connected (22.974877ms)
  92. 92✔ a hub that fails after the mention is saved does not fail the comment that made it (24.52256ms)
  93. 93✔ assigning on a pull request hands the agent its branch, never the default branch (44.805872ms)
  94. 94✔ the SessionEnd hook takes the conversation's session offline without ending it (20.401243ms)
  95. 95✔ revoking one agent grant ends only the sessions that grant started, and sessions with no recorded grant (20.325473ms)
  96. 96CIMD (Client ID Metadata Document) is disabled: add '"compatibility_flags": ["global_fetch_strictly_public"]' to your wrangler.jsonc to enable. See: https://developers.cloudflare.com/workers/configuration/compatibility-flags/#global-fetch-strictly-public
  97. 97✔ creation and import are captured only after storage and the domain event succeed (115.381356ms)
  98. 98✔ storage failure captures failure, rolls back the repository, and emits no success (27.279674ms)
  99. 99✔ validation failures do not become storage attempts or successful adoption (23.930009ms)
  100. 100✔ a name conflict emits a conflict outcome without a second success (26.829653ms)
  101. 101✔ a failed domain event write does not emit a provisioning success (25.366701ms)
  102. 102✔ forks use a separate entry path rather than counting as imports or new projects (27.073994ms)
  103. 103✔ reads ref updates up to the flush packet (2.232894ms)
  104. 104✔ asks for more bytes when the command list is cut off (0.229611ms)
  105. 105✔ rejects a push with a reason per ref, inside side-band when the client asked for it (42.192498ms)
  106. 106✔ reports ok and ng per ref, with remote: lines on side-band 2 before the status (1.756943ms)
  107. 107✔ reads a plain receive-pack report (0.571091ms)
  108. 108✔ drops a prefix that spans chunks (4.115197ms)
  109. 109code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
  110. 110 at file:///work/apps/backend/diff.ts:48:56
  111. 111 at remembered (file:///work/apps/backend/diff.ts:32:19)
  112. 112 at readTree (file:///work/apps/backend/diff.ts:48:10)
  113. 113 at file:///work/apps/backend/code-index/build.ts:46:88
  114. 114 at Array.map (<anonymous>)
  115. 115 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  116. 116 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  117. 117 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  118. 118 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  119. 119 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  120. 120code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
  121. 121 at file:///work/apps/backend/diff.ts:48:56
  122. 122 at remembered (file:///work/apps/backend/diff.ts:32:19)
  123. 123 at readTree (file:///work/apps/backend/diff.ts:48:10)
  124. 124 at file:///work/apps/backend/code-index/build.ts:46:88
  125. 125 at Array.map (<anonymous>)
  126. 126 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  127. 127 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  128. 128 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  129. 129 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  130. 130 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  131. 131push failed on attempt 1, retrying: repo repo refs/heads/main 3333333333333333333333333333333333333333 Error: Artifacts unavailable
  132. 132 at Object.get (file:///work/apps/backend/test/pushes.test.ts:56:35)
  133. 133 at detectMerges (file:///work/apps/backend/pushes.ts:160:38)
  134. 134 at async processPush (file:///work/apps/backend/pushes.ts:53:3)
  135. 135 at async consumePushes (file:///work/apps/backend/pushes.ts:145:13)
  136. 136 at async deliver (file:///work/apps/backend/test/pushes.test.ts:67:3)
  137. 137 at async TestContext.<anonymous> (file:///work/apps/backend/test/pushes.test.ts:113:16)
  138. 138 at async Test.run (node:internal/test_runner/test:1439:7)
  139. 139 at async Test.processPendingSubtests (node:internal/test_runner/test:1004:7)
  140. 140code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
  141. 141 at file:///work/apps/backend/diff.ts:48:56
  142. 142 at remembered (file:///work/apps/backend/diff.ts:32:19)
  143. 143 at readTree (file:///work/apps/backend/diff.ts:48:10)
  144. 144 at file:///work/apps/backend/code-index/build.ts:46:88
  145. 145 at Array.map (<anonymous>)
  146. 146 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  147. 147 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  148. 148 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  149. 149 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  150. 150 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  151. 151code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
  152. 152 at file:///work/apps/backend/diff.ts:48:56
  153. 153 at remembered (file:///work/apps/backend/diff.ts:32:19)
  154. 154 at readTree (file:///work/apps/backend/diff.ts:48:10)
  155. 155 at file:///work/apps/backend/code-index/build.ts:46:88
  156. 156 at Array.map (<anonymous>)
  157. 157 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  158. 158 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  159. 159 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  160. 160 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  161. 161 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  162. 162code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
  163. 163 at file:///work/apps/backend/diff.ts:48:56
  164. 164 at remembered (file:///work/apps/backend/diff.ts:32:19)
  165. 165 at readTree (file:///work/apps/backend/diff.ts:48:10)
  166. 166 at file:///work/apps/backend/code-index/build.ts:46:88
  167. 167 at Array.map (<anonymous>)
  168. 168 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  169. 169 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  170. 170 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  171. 171 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  172. 172 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  173. 173✔ a push delivered twice, by a session that has since ended, has its consequences once (74.060599ms)
  174. 174✔ a push asks CI for the pipeline at its branch tip, and a CI failure does not fail the push (29.275267ms)
  175. 175✔ a push whose processing fails is retried until the pull request is merged and its decisions indexed (29.069207ms)
  176. 176✔ a push is indexed under the session that pushed it, even after the session ended (26.907703ms)
  177. 177code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
  178. 178 at file:///work/apps/backend/diff.ts:48:56
  179. 179 at remembered (file:///work/apps/backend/diff.ts:32:19)
  180. 180 at readTree (file:///work/apps/backend/diff.ts:48:10)
  181. 181 at file:///work/apps/backend/code-index/build.ts:46:88
  182. 182 at Array.map (<anonymous>)
  183. 183 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  184. 184 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  185. 185 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  186. 186 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  187. 187 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  188. 188code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
  189. 189 at file:///work/apps/backend/diff.ts:48:56
  190. 190 at remembered (file:///work/apps/backend/diff.ts:32:19)
  191. 191 at readTree (file:///work/apps/backend/diff.ts:48:10)
  192. 192 at file:///work/apps/backend/code-index/build.ts:46:88
  193. 193 at Array.map (<anonymous>)
  194. 194 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  195. 195 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  196. 196 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  197. 197 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  198. 198 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  199. 199✔ a human push that lands a pull request is captured once as landed work, and a push refs found is not (66.019896ms)
  200. 200code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
  201. 201 at file:///work/apps/backend/diff.ts:48:56
  202. 202 at remembered (file:///work/apps/backend/diff.ts:32:19)
  203. 203 at readTree (file:///work/apps/backend/diff.ts:48:10)
  204. 204 at file:///work/apps/backend/code-index/build.ts:46:88
  205. 205 at Array.map (<anonymous>)
  206. 206 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  207. 207 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  208. 208 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  209. 209 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  210. 210 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  211. 211code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
  212. 212 at file:///work/apps/backend/diff.ts:48:56
  213. 213 at remembered (file:///work/apps/backend/diff.ts:32:19)
  214. 214 at readTree (file:///work/apps/backend/diff.ts:48:10)
  215. 215 at file:///work/apps/backend/code-index/build.ts:46:88
  216. 216 at Array.map (<anonymous>)
  217. 217 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  218. 218 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  219. 219 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  220. 220 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  221. 221 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  222. 222ref sweep: 1 repos checked, 0 seeded, 2 mismatched refs enqueued
  223. 223code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
  224. 224 at file:///work/apps/backend/diff.ts:48:56
  225. 225 at remembered (file:///work/apps/backend/diff.ts:32:19)
  226. 226 at readTree (file:///work/apps/backend/diff.ts:48:10)
  227. 227 at file:///work/apps/backend/code-index/build.ts:46:88
  228. 228 at Array.map (<anonymous>)
  229. 229 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  230. 230 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  231. 231 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  232. 232 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  233. 233 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  234. 234ref sweep: 1 repos checked, 0 seeded, 0 mismatched refs enqueued
  235. 235ref sweep seeded 2 refs of repo repo without replaying them
  236. 236ref sweep: 1 repos checked, 1 seeded, 0 mismatched refs enqueued
  237. 237ref sweep: 1 repos checked, 0 seeded, 0 mismatched refs enqueued
  238. 238code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
  239. 239 at file:///work/apps/backend/diff.ts:48:56
  240. 240 at remembered (file:///work/apps/backend/diff.ts:32:19)
  241. 241 at readTree (file:///work/apps/backend/diff.ts:48:10)
  242. 242 at file:///work/apps/backend/code-index/build.ts:46:88
  243. 243 at Array.map (<anonymous>)
  244. 244 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  245. 245 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  246. 246 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  247. 247 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  248. 248 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  249. 249code map failed for repo repo at bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb TypeError: handle.readTree is not a function
  250. 250 at file:///work/apps/backend/diff.ts:48:56
  251. 251 at remembered (file:///work/apps/backend/diff.ts:32:19)
  252. 252 at readTree (file:///work/apps/backend/diff.ts:48:10)
  253. 253 at file:///work/apps/backend/code-index/build.ts:46:88
  254. 254 at Array.map (<anonymous>)
  255. 255 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  256. 256 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  257. 257 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  258. 258 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  259. 259 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  260. 260✔ an indexed push is captured with its commit and decision counts, and a push refs found is not (79.840809ms)
  261. 261✔ a human push to any branch indexes its decisions, with no session (24.178389ms)
  262. 262✔ a merge into the default branch changes no task, even when the pull request names one with a closing keyword (26.638922ms)
  263. 263✔ pushes whose messages were lost are found by the sweep and processed once, as refs (31.275611ms)
  264. 264✔ the first sweep of a repository records its tips without replaying them (24.45968ms)
  265. 265✔ a push processed after a later one does not move its ref back (27.181044ms)
  266. 266✔ parses branches, tags and HEAD from a v0 advertisement (1.649783ms)
  267. 267✔ returns no refs for an empty repository (0.24288ms)
  268. 268✔ repository imports classify the provider without sending source URLs or account details (38.343952ms)
  269. 269✔ agent repository work remains separate from human activity (0.569581ms)
  270. 270✔ provisioning failures use fixed reason codes without claiming a repository exists (0.412621ms)
  271. 271✔ anonymous repository activity is not captured (0.313401ms)
  272. 272CIMD (Client ID Metadata Document) is disabled: add '"compatibility_flags": ["global_fetch_strictly_public"]' to your wrangler.jsonc to enable. See: https://developers.cloudflare.com/workers/configuration/compatibility-flags/#global-fetch-strictly-public
  273. 273✔ connect and take keep the token out of the text for the credential helper, and in it for clients without one (71.159745ms)
  274. 274✔ refs_take hands a session a named branch or a pull request's branch, and never the default branch (39.756524ms)
  275. 275✔ refs_take on a pull request takes its head branch (62.523921ms)
  276. 276✔ an agent sees the pull requests of its branch, and no others, and reads tasks like its human (0.640231ms)
  277. 277✔ refs_open_pull needs a held branch (25.700312ms)
  278. 278✔ refs_view_pull needs a held branch with an open pull request (26.484823ms)
  279. 279✔ two refs_events calls at the same time hand an update to only one of them (26.247662ms)
  280. 280✔ refs_connect names the session outside the text, both for a new session and for a reconnect (26.250403ms)
  281. 281✔ a new repository's first commit holds the agent set-up files, readable by git (143.427832ms)
  282. 282✔ a thread anchors to lines or to a decision, never both or neither (24.061839ms)
  283. 283✔ a pushed decision that supersedes a steered one marks its open threads addressed (22.257006ms)
  284. 284✔ a branched pull request knows where it started, and its source lists it (24.65918ms)
  285. 285✔ a new task gets its number, its opened event and its labels in one write (39.471313ms)
  286. 286✔ a pull request and its commits name the agent that opened and pushed them (25.490991ms)
  287. 287✔ a private repository is visible only to members of its namespace (28.498676ms)
  288. 288✔ anyone can read another namespace's public repository, but only members write to it (23.925529ms)
  289. 289✔ each namespace has its own repository names (21.310815ms)
  290. 290✔ task lists and labels stay inside their namespace (23.894959ms)
  291. 291✔ git URLs name the namespace and the repository (0.562681ms)
  292. 292✔ a handle must be a lowercase slug that no route uses (0.371171ms)
  293. 293✔ activating a waitlisted user creates their namespace once, and only then can they hold a session (41.701487ms)
  294. 294✔ an organization's owner manages its members (22.385496ms)
  295. 295✔ an agent grant stops granting repository access once its expiry time passes (0.622131ms)
  296. 296✔ CI runs and secrets stay inside their repository and namespace (92.561419ms)
  297. 297✔ the pipeline from the design page parses (12.892051ms)
  298. 298✔ a pipeline without on runs on every push, pull request and manual start (0.723541ms)
  299. 299✔ on lists only the triggers it names (1.140782ms)
  300. 300✔ a step is named after the first line of its command (1.913743ms)
  301. 301✔ images: built-in and dated built-in; an unknown image is refused (1.634202ms)
  302. 302✔ a job names the secrets it gets, in secret-name form (1.354002ms)
  303. 303✔ every problem is reported with its path, not only the first (1.311562ms)
  304. 304✔ needs must name other jobs and must not form a cycle (1.959483ms)
  305. 305✔ YAML that does not parse, a duplicate key, and a file that is not a mapping are invalid (2.180464ms)
  306. 306✔ on is a key, not the YAML 1.1 boolean (0.539931ms)
  307. 307✔ a file over 64 KB is refused before parsing (0.17235ms)
  308. 308✔ an agent job names a hosted agent and an optional prompt, and takes no container keys (2.865155ms)
  309. 309✔ a new run is queued and starts only the jobs that need nothing (2.743054ms)
  310. 310✔ a job starts when every job it needs succeeds, and the run succeeds at the end (0.579541ms)
  311. 311✔ a failure skips every job after it, in one advance (0.336501ms)
  312. 312✔ an environment that needs approval holds the job until a person approves (0.44853ms)
  313. 313✔ a rejected deploy cancels the job, and a closed environment fails it with the reason (0.303241ms)
  314. 314✔ cancel stops live jobs, and a late exit after it is ignored (0.23109ms)
  315. 315✔ a job that waits for its image moves on when the image is ready, or fails with the build (0.22117ms)
  316. 316✔ a move the rules do not allow throws (0.569381ms)
  317. 317✔ saved records load back into the same run (0.610711ms)
  318. 318✔ trust follows who started the run (1.096022ms)
  319. 319✔ an environment gate checks existence, branch, trust and approval, in that order (0.330681ms)
  320. 320✔ branch patterns: * stays in one segment, ** crosses segments, the rest is literal (0.19274ms)
  321. 321✔ a run ID is stable for one commit and config, and changes with either (12.17242ms)
  322. 322✔ a run ID fits a Workflow instance ID even for a long repo name (1.861594ms)
  323. 323✔ the batcher keeps order, splits on step changes and flushes the rest (8.453373ms)
  324. 324✔ a failed send is dropped and later output still goes out (0.528571ms)
  325. 325✔ a sealed secret opens with the same scope (15.003724ms)
  326. 326✔ sealing twice gives different ciphertexts (1.834483ms)
  327. 327✔ a sealed secret copied to another repo, environment or name does not open (2.444594ms)
  328. 328✔ another master key cannot open it, and a bad master key is refused (2.437584ms)
  329. 329✔ the masker hides a secret and its encoded forms (0.749422ms)
  330. 330✔ the masker finds a secret split across chunks (0.25601ms)
  331. 331✔ the masker hides each line of a secret that spans lines, and ignores very short secrets (0.552331ms)
  332. 332✔ the masker sends a very long line in parts instead of holding it (0.34542ms)
  333. 333✔ the CI tables accept a run and refuse a secret name that is not upper snake case (24.518919ms)
  334. 334✔ a job gets only the secrets it names: environment over repository over organization, and environment secrets only when allowed (30.411729ms)
  335. 335✔ the gh-style commands read the repository from the clone, print JSON for agents, and never merge without a terminal (791.117415ms)
  336. 336✖ the MCP proxy hands refs_take's token to git's credential helper, never to the model, and takes it back on release (240.592038ms)
  337. 337✔ outside a refs clone, the MCP server answers on its own, offers no tools and never calls refs (169.516713ms)
  338. 338✔ with no session token, the credential helper answers git with your own sign-in, but only when it has the git scope (244.791705ms)
  339. 339✔ the credential helper gives a session token only to git that the agent runs, and your sign-in to everyone else (231.974634ms)
  340. 340✔ refs update keeps the installed CLI when the download is cut off (125.226052ms)
  341. 341✔ refs update keeps the installed CLI when the checksum does not match (89.700075ms)
  342. 342✔ refs update replaces the CLI when the download is whole and matches its checksum (120.605694ms)
  343. 343✔ a failed step fails, the steps before it succeed and the steps after it are skipped (1.839613ms)
  344. 344✔ in a running job the last started step runs and later steps wait (0.173ms)
  345. 345✔ a cancelled job marks the step it stopped in, and a job that never ran skips every step (0.41376ms)
  346. 346✔ a newer run of the branch replaces an older failure, and a cancelled run does not count (0.900431ms)
  347. 347✔ parses a full decision record (6.106329ms)
  348. 348✔ a plain commit message has no decisions (0.14203ms)
  349. 349✔ reports missing, unknown and malformed fields (0.196741ms)
  350. 350✔ rejects tabs, unclosed blocks and mixed nesting (1.523722ms)
  351. 351✔ checks duplicates and supersedes across a push (0.331241ms)
  352. 352✔ reviews pushed commits into records to index and problems that reject the push (0.757501ms)
  353. 353✔ a strict review refuses a record that does not say what it costs to reverse (0.378491ms)
  354. 354✔ net decisions leave out a superseded decision and a repeated sentence (0.324701ms)
  355. 355✔ derives a stable, valid id from the commit and the block's position (0.54711ms)
  356. 356✔ supersedes names a decision by id, or by its commit and block number (0.494021ms)
  357. 357✔ an old record that names a task is still valid, and the task is not kept (0.21233ms)
  358. 358✔ narrative keeps the body and drops the subject and decision blocks (0.22979ms)
  359. 359✔ a commit with more decision blocks than allowed is refused, and no block past the cap gets an id (0.446081ms)
  360. 360✔ narrative drops trailing git trailers and collapses runs of blank lines (0.06402ms)
  361. 361✔ sessions may only update their own branch (0.903291ms)
  362. 362✔ a session without a branch claims a new one by pushing it, but never the default branch (0.427741ms)
  363. 363✔ describes each delivery as an instruction the agent can act on (0.639561ms)
  364. 364✔ hook output adds context for the hook's event, or nothing (0.718991ms)
  365. 365ℹ tests 208
  366. 366ℹ suites 0
  367. 367ℹ pass 207
  368. 368ℹ fail 1
  369. 369ℹ cancelled 0
  370. 370ℹ skipped 0
  371. 371ℹ todo 0
  372. 372ℹ duration_ms 12832.49618
  373. 373
  374. 374✖ failing tests:
  375. 375
  376. 376test at apps/cli/test/credential.test.ts:18:1
  377. 377✖ the MCP proxy hands refs_take's token to git's credential helper, never to the model, and takes it back on release (240.592038ms)
  378. 378 Error: Command failed: git -C /tmp/refs-cli-7PHHIH/clone credential fill
  379. 379 at genericNodeError (node:internal/errors:986:15)
  380. 380 at wrappedFn (node:internal/errors:540:14)
  381. 381 at checkExecSyncError (node:child_process:1010:11)
  382. 382 at execFileSync (node:child_process:1046:15)
  383. 383 at git (file:///work/apps/cli/test/credential.test.ts:15:10)
  384. 384 at fill (file:///work/apps/cli/test/credential.test.ts:54:22)
  385. 385 at TestContext.<anonymous> (file:///work/apps/cli/test/credential.test.ts:61:16)
  386. 386 at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
  387. 387 at async Test.run (node:internal/test_runner/test:1439:7)
  388. 388 at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) {
  389. 389 status: 128,
  390. 390 signal: null,
  391. 391 output: [ null, '', null ],
  392. 392 pid: 459,
  393. 393 stdout: '',
  394. 394 stderr: null
  395. 395 }