Skip to content
refs

Pull request #5

Succeededui/hosted-run-row332b9f6#5started by Aman's agent

This run is untrusted

An agent opened the pull request or pushed to it. Its jobs get no secrets, and each deploy waits for a person.
Jobs
testSucceeded
Set up job5s
  1. 1Checked out refs/heads/ui/hosted-run-row at 332b9f6
Install29s
  1. 1
  2. 2added 203 packages in 28s
  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.
Test24s
  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. 5✔ a record that does not say what it costs to reverse is refused, and the task branch never moves (135.439525ms)
  6. 6✔ a commit with a record, or with none, lands and its ids are reported (90.173053ms)
  7. 7✔ a push after the task branch was merged checks only its new commits, not the default branch's history (43.914191ms)
  8. 8✔ a branch that moved during the check refuses the push and still releases the quarantine (50.238124ms)
  9. 9✔ an agent mention counts only outside code and as a whole handle (2.537861ms)
  10. 10✔ each built-in agent has a handle that a mention finds (0.93423ms)
  11. 11✔ the changed declarations list each touched symbol with how often it is used (17.578468ms)
  12. 12✔ the run list shows who started each run, where it stands, and the steps of a working run (39.488338ms)
  13. 13✔ a dead run is marked failed once, and a run that already ended stays as it is (39.946829ms)
  14. 14✔ a hosted agent's mention shows its handle and its latest step, and a connected agent's mention does not (36.823977ms)
  15. 15✔ delivery uses stable identity and an explicit property allowlist (60.99086ms)
  16. 16✔ approval is not attributed as activity by the account holder (1.003411ms)
  17. 17✔ disabled, incomplete, or untrusted configuration sends nothing (0.78092ms)
  18. 18✔ delivery does not wait for PostHog before returning (0.78342ms)
  19. 19✔ network failures are contained and do not log private details (1.231131ms)
  20. 20✔ HTTP failures are contained without logging response bodies (1.284071ms)
  21. 21✔ EU delivery is supported and separate captures have separate identifiers (1.01585ms)
  22. 22CIMD (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
  23. 23✔ the CLI's repository routes act as the person only for a sign-in with the git scope (107.634191ms)
  24. 24✔ an outline finds top-level declarations with their line ranges (15.351948ms)
  25. 25✔ an outline finds class members and marks `this.` uses as member uses (1.967841ms)
  26. 26✔ an outline reads JSX tags as uses and does not mistake `</` or `/>` for a regular expression (1.182761ms)
  27. 27✔ the graph resolves uses across relative imports, re-exports and workspace packages (15.468647ms)
  28. 28✔ a package's exports map becomes repository paths (0.772501ms)
  29. 29✔ indexing a commit reads its source files and skips dependencies and declaration files (2.973521ms)
  30. 30✔ a commit's map is built once, then read back from storage (148.205861ms)
  31. 31✔ a build that never finished is taken over, and an empty commit is stored as empty (38.859239ms)
  32. 32✔ code changes place added lines and removed lines on the head version (1.795661ms)
  33. 33✔ delivers pushes to the current task branch by others, never the session's own (3.224301ms)
  34. 34✔ an idle session receives no pushes (0.26035ms)
  35. 35✔ delivers problems only to the session that pushed the commit (0.57902ms)
  36. 36✔ delivers instructions and stop only to the session they address, idle or not (0.40754ms)
  37. 37✔ delivers mentions to the session they name (0.557201ms)
  38. 38✔ tells the parent session when its sub-agent finishes (0.60201ms)
  39. 39✔ diff rows number both sides, deletions before additions (3.690741ms)
  40. 40✔ counts a small change in a large file exactly (8.054294ms)
  41. 41✔ a selected range covers the rows between its ends across both sides (1.08824ms)
  42. 42✔ finds the nearest common ancestor (1.388891ms)
  43. 43✔ compares trees and blobs with file totals (2.418581ms)
  44. 44✔ a branch that merged its base lists only its own commits (1.704411ms)
  45. 45✔ commits made in the same second still list oldest first (1.397841ms)
  46. 46✔ each commit on a branch lists the paths it changed against its first parent (1.461961ms)
  47. 47✔ remembered reads stay inside their repository (2.409901ms)
  48. 48✔ a person directing a live agent is captured once per mention, without the mention text (138.525546ms)
  49. 49✔ an agent mentioning another agent is not human direction (46.052292ms)
  50. 50✔ hashes objects as git does (16.336897ms)
  51. 51✔ orders a directory as if its name ended in a slash (1.828621ms)
  52. 52✔ writes a version 2 pack with a trailing checksum (71.563374ms)
  53. 53✔ reads a receive-pack report (1.187831ms)
  54. 54✔ merges trees path by path and reports files both sides changed (5.210152ms)
  55. 55✔ a committed batch hints each stream's repository once, with its newest event (36.133088ms)
  56. 56✔ a single recorded event hints after it runs (35.070757ms)
  57. 57✔ a failed batch hints nothing (40.858909ms)
  58. 58✔ reading an event statement with first() fails instead of skipping its hint (35.853127ms)
  59. 59✔ attributes each entry to the newest commit that changed it (2.450081ms)
  60. 60✔ leaves entries unattributed when history beyond the log is unavailable (0.638961ms)
  61. 61✔ pages through history until every entry is attributed (0.89727ms)
  62. 62✔ commit history retains the full message for reasoning (0.43679ms)
  63. 63✔ reasoning history keeps page boundaries and newest-first order (1.590931ms)
  64. 64✔ a repository agent replaces the shared and built-in agent of the same handle (44.583791ms)
  65. 65✔ a working key is tested, sealed, kept on a later edit, and opened for runs (169.916381ms)
  66. 66✔ a rejected key is not stored and the error never shows the key (48.846783ms)
  67. 67✔ only a person with edit rights changes agents, and bad input is refused before any request (42.0139ms)
  68. 68✔ provider errors name the problem without the key (0.39537ms)
  69. 69✔ an email has a text and an escaped HTML body with its link (4.103492ms)
  70. 70✔ escapes raw HTML (10.536205ms)
  71. 71✔ neutralises dangerous link schemes and keeps safe ones (16.785628ms)
  72. 72✔ routes relative links and images through the resolver (3.056161ms)
  73. 73✔ firstInvalid reports the first failed field in the order given, or nothing when all pass (2.782571ms)
  74. 74CIMD (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
  75. 75✔ pendingPermissions hides a decided request, and deciding twice is a no-op (55.320367ms)
  76. 76✔ refs_approve returns the decision recorded in permission_requests (82.33503ms)
  77. 77✔ a verdict given while the waiter was gone reaches the retry, and only for the input it was asked about (88.071622ms)
  78. 78✔ expiry denies approvals past their window once, drops them from the portal, and names the next deadline (54.923506ms)
  79. 79✔ connect records the session's start event on the session (76.527767ms)
  80. 80✔ no hot session or approval query scans a table (73.468135ms)
  81. 81✔ the migration backfills start events and permission requests, and can run again (15.439677ms)
  82. 82CIMD (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
  83. 83✔ consecutive MCP calls within a minute write last_seen_at once (37.708948ms)
  84. 84✔ a PAT used for several git requests within a minute writes last_used_at once (159.840266ms)
  85. 85✔ the refs CLI sign-in works as the human for git only when its grant has the git scope (45.724701ms)
  86. 86✔ a mention asks the hub, not the machines projection, whether the machine is connected (49.687454ms)
  87. 87✔ a hub that fails after the mention is saved does not fail the comment that made it (43.275581ms)
  88. 88✔ assigning on a pull request hands the agent its branch, never the default branch (87.524212ms)
  89. 89✔ the SessionEnd hook takes the conversation's session offline without ending it (43.37979ms)
  90. 90✔ revoking one agent grant ends only the sessions that grant started, and sessions with no recorded grant (36.926857ms)
  91. 91CIMD (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
  92. 92✔ creation and import are captured only after storage and the domain event succeed (200.787536ms)
  93. 93✔ storage failure captures failure, rolls back the repository, and emits no success (45.844602ms)
  94. 94✔ validation failures do not become storage attempts or successful adoption (45.847612ms)
  95. 95✔ a name conflict emits a conflict outcome without a second success (53.118465ms)
  96. 96✔ a failed domain event write does not emit a provisioning success (47.573382ms)
  97. 97✔ forks use a separate entry path rather than counting as imports or new projects (54.536306ms)
  98. 98✔ reads ref updates up to the flush packet (4.358362ms)
  99. 99✔ asks for more bytes when the command list is cut off (0.5332ms)
  100. 100✔ rejects a push with a reason per ref, inside side-band when the client asked for it (98.232466ms)
  101. 101✔ reports ok and ng per ref, with remote: lines on side-band 2 before the status (4.570392ms)
  102. 102✔ reads a plain receive-pack report (1.4186ms)
  103. 103✔ drops a prefix that spans chunks (8.924384ms)
  104. 104code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
  105. 105 at file:///work/apps/backend/diff.ts:48:56
  106. 106 at remembered (file:///work/apps/backend/diff.ts:32:19)
  107. 107 at readTree (file:///work/apps/backend/diff.ts:48:10)
  108. 108 at file:///work/apps/backend/code-index/build.ts:46:88
  109. 109 at Array.map (<anonymous>)
  110. 110 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  111. 111 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  112. 112 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  113. 113 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  114. 114 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  115. 115code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
  116. 116 at file:///work/apps/backend/diff.ts:48:56
  117. 117 at remembered (file:///work/apps/backend/diff.ts:32:19)
  118. 118 at readTree (file:///work/apps/backend/diff.ts:48:10)
  119. 119 at file:///work/apps/backend/code-index/build.ts:46:88
  120. 120 at Array.map (<anonymous>)
  121. 121 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  122. 122 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  123. 123 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  124. 124 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  125. 125 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  126. 126push failed on attempt 1, retrying: repo repo refs/heads/main 3333333333333333333333333333333333333333 Error: Artifacts unavailable
  127. 127 at Object.get (file:///work/apps/backend/test/pushes.test.ts:56:35)
  128. 128 at detectMerges (file:///work/apps/backend/pushes.ts:160:38)
  129. 129 at async processPush (file:///work/apps/backend/pushes.ts:53:3)
  130. 130 at async consumePushes (file:///work/apps/backend/pushes.ts:145:13)
  131. 131 at async deliver (file:///work/apps/backend/test/pushes.test.ts:67:3)
  132. 132 at async TestContext.<anonymous> (file:///work/apps/backend/test/pushes.test.ts:113:16)
  133. 133 at async Test.run (node:internal/test_runner/test:1439:7)
  134. 134 at async Test.processPendingSubtests (node:internal/test_runner/test:1004:7)
  135. 135code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
  136. 136 at file:///work/apps/backend/diff.ts:48:56
  137. 137 at remembered (file:///work/apps/backend/diff.ts:32:19)
  138. 138 at readTree (file:///work/apps/backend/diff.ts:48:10)
  139. 139 at file:///work/apps/backend/code-index/build.ts:46:88
  140. 140 at Array.map (<anonymous>)
  141. 141 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  142. 142 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  143. 143 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  144. 144 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  145. 145 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  146. 146code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
  147. 147 at file:///work/apps/backend/diff.ts:48:56
  148. 148 at remembered (file:///work/apps/backend/diff.ts:32:19)
  149. 149 at readTree (file:///work/apps/backend/diff.ts:48:10)
  150. 150 at file:///work/apps/backend/code-index/build.ts:46:88
  151. 151 at Array.map (<anonymous>)
  152. 152 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  153. 153 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  154. 154 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  155. 155 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  156. 156 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  157. 157code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
  158. 158 at file:///work/apps/backend/diff.ts:48:56
  159. 159 at remembered (file:///work/apps/backend/diff.ts:32:19)
  160. 160 at readTree (file:///work/apps/backend/diff.ts:48:10)
  161. 161 at file:///work/apps/backend/code-index/build.ts:46:88
  162. 162 at Array.map (<anonymous>)
  163. 163 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  164. 164 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  165. 165 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  166. 166 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  167. 167 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  168. 168✔ a push delivered twice, by a session that has since ended, has its consequences once (141.131777ms)
  169. 169✔ a push asks CI for the pipeline at its branch tip, and a CI failure does not fail the push (54.318986ms)
  170. 170✔ a push whose processing fails is retried until the pull request is merged and its decisions indexed (55.763036ms)
  171. 171✔ a push is indexed under the session that pushed it, even after the session ended (52.795246ms)
  172. 172code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
  173. 173 at file:///work/apps/backend/diff.ts:48:56
  174. 174 at remembered (file:///work/apps/backend/diff.ts:32:19)
  175. 175 at readTree (file:///work/apps/backend/diff.ts:48:10)
  176. 176 at file:///work/apps/backend/code-index/build.ts:46:88
  177. 177 at Array.map (<anonymous>)
  178. 178 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  179. 179 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  180. 180 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  181. 181 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  182. 182 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  183. 183code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
  184. 184 at file:///work/apps/backend/diff.ts:48:56
  185. 185 at remembered (file:///work/apps/backend/diff.ts:32:19)
  186. 186 at readTree (file:///work/apps/backend/diff.ts:48:10)
  187. 187 at file:///work/apps/backend/code-index/build.ts:46:88
  188. 188 at Array.map (<anonymous>)
  189. 189 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  190. 190 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  191. 191 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  192. 192 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  193. 193 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  194. 194✔ a human push that lands a pull request is captured once as landed work, and a push refs found is not (126.3795ms)
  195. 195code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
  196. 196 at file:///work/apps/backend/diff.ts:48:56
  197. 197 at remembered (file:///work/apps/backend/diff.ts:32:19)
  198. 198 at readTree (file:///work/apps/backend/diff.ts:48:10)
  199. 199 at file:///work/apps/backend/code-index/build.ts:46:88
  200. 200 at Array.map (<anonymous>)
  201. 201 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  202. 202 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  203. 203 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  204. 204 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  205. 205 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  206. 206code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
  207. 207 at file:///work/apps/backend/diff.ts:48:56
  208. 208 at remembered (file:///work/apps/backend/diff.ts:32:19)
  209. 209 at readTree (file:///work/apps/backend/diff.ts:48:10)
  210. 210 at file:///work/apps/backend/code-index/build.ts:46:88
  211. 211 at Array.map (<anonymous>)
  212. 212 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  213. 213 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  214. 214 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  215. 215 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  216. 216 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  217. 217ref sweep: 1 repos checked, 0 seeded, 2 mismatched refs enqueued
  218. 218code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
  219. 219 at file:///work/apps/backend/diff.ts:48:56
  220. 220 at remembered (file:///work/apps/backend/diff.ts:32:19)
  221. 221 at readTree (file:///work/apps/backend/diff.ts:48:10)
  222. 222 at file:///work/apps/backend/code-index/build.ts:46:88
  223. 223 at Array.map (<anonymous>)
  224. 224 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  225. 225 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  226. 226 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  227. 227 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  228. 228 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  229. 229ref sweep: 1 repos checked, 0 seeded, 0 mismatched refs enqueued
  230. 230ref sweep seeded 2 refs of repo repo without replaying them
  231. 231ref sweep: 1 repos checked, 1 seeded, 0 mismatched refs enqueued
  232. 232ref sweep: 1 repos checked, 0 seeded, 0 mismatched refs enqueued
  233. 233code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
  234. 234 at file:///work/apps/backend/diff.ts:48:56
  235. 235 at remembered (file:///work/apps/backend/diff.ts:32:19)
  236. 236 at readTree (file:///work/apps/backend/diff.ts:48:10)
  237. 237 at file:///work/apps/backend/code-index/build.ts:46:88
  238. 238 at Array.map (<anonymous>)
  239. 239 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  240. 240 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  241. 241 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  242. 242 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  243. 243 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  244. 244code map failed for repo repo at bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb TypeError: handle.readTree is not a function
  245. 245 at file:///work/apps/backend/diff.ts:48:56
  246. 246 at remembered (file:///work/apps/backend/diff.ts:32:19)
  247. 247 at readTree (file:///work/apps/backend/diff.ts:48:10)
  248. 248 at file:///work/apps/backend/code-index/build.ts:46:88
  249. 249 at Array.map (<anonymous>)
  250. 250 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
  251. 251 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
  252. 252 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
  253. 253 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
  254. 254 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
  255. 255✔ an indexed push is captured with its commit and decision counts, and a push refs found is not (140.435627ms)
  256. 256✔ a human push to any branch indexes its decisions, with no session (49.642014ms)
  257. 257✔ a merge into the default branch changes no task, even when the pull request names one with a closing keyword (50.310004ms)
  258. 258✔ pushes whose messages were lost are found by the sweep and processed once, as refs (57.710548ms)
  259. 259✔ the first sweep of a repository records its tips without replaying them (46.537492ms)
  260. 260✔ a push processed after a later one does not move its ref back (47.633443ms)
  261. 261✔ parses branches, tags and HEAD from a v0 advertisement (4.046812ms)
  262. 262✔ returns no refs for an empty repository (0.602921ms)
  263. 263✔ repository imports classify the provider without sending source URLs or account details (68.420923ms)
  264. 264✔ agent repository work remains separate from human activity (0.899ms)
  265. 265✔ provisioning failures use fixed reason codes without claiming a repository exists (0.592851ms)
  266. 266✔ anonymous repository activity is not captured (0.48745ms)
  267. 267CIMD (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
  268. 268✔ connect and take keep the token out of the text for the credential helper, and in it for clients without one (117.300876ms)
  269. 269✔ refs_take hands a session a named branch or a pull request's branch, and never the default branch (73.962605ms)
  270. 270✔ refs_take on a pull request takes its head branch (109.447863ms)
  271. 271✔ an agent sees the pull requests of its branch, and no others, and reads tasks like its human (1.30636ms)
  272. 272✔ refs_open_pull needs a held branch (53.732836ms)
  273. 273✔ refs_view_pull needs a held branch with an open pull request (48.002553ms)
  274. 274✔ two refs_events calls at the same time hand an update to only one of them (55.647267ms)
  275. 275✔ refs_connect names the session outside the text, both for a new session and for a reconnect (50.864094ms)
  276. 276✔ a new repository's first commit holds the agent set-up files, readable by git (173.675133ms)
  277. 277✔ a thread anchors to lines or to a decision, never both or neither (45.151992ms)
  278. 278✔ a pushed decision that supersedes a steered one marks its open threads addressed (49.706244ms)
  279. 279✔ a branched pull request knows where it started, and its source lists it (50.607834ms)
  280. 280✔ a new task gets its number, its opened event and its labels in one write (49.446604ms)
  281. 281✔ a pull request and its commits name the agent that opened and pushed them (43.36631ms)
  282. 282✔ a private repository is visible only to members of its namespace (51.522955ms)
  283. 283✔ anyone can read another namespace's public repository, but only members write to it (43.832011ms)
  284. 284✔ each namespace has its own repository names (43.805481ms)
  285. 285✔ task lists and labels stay inside their namespace (46.109692ms)
  286. 286✔ git URLs name the namespace and the repository (0.977771ms)
  287. 287✔ a handle must be a lowercase slug that no route uses (0.68322ms)
  288. 288✔ activating a waitlisted user creates their namespace once, and only then can they hold a session (83.17917ms)
  289. 289✔ an organization's owner manages its members (51.329545ms)
  290. 290✔ an agent grant stops granting repository access once its expiry time passes (1.56462ms)
  291. 291✔ CI runs and secrets stay inside their repository and namespace (197.852695ms)
  292. 292✔ the pipeline from the design page parses (26.709243ms)
  293. 293✔ a pipeline without on runs on every push, pull request and manual start (1.809061ms)
  294. 294✔ on lists only the triggers it names (2.211581ms)
  295. 295✔ a step is named after the first line of its command (3.428572ms)
  296. 296✔ images: built-in and dated built-in; an unknown image is refused (2.948231ms)
  297. 297✔ a job names the secrets it gets, in secret-name form (3.121282ms)
  298. 298✔ every problem is reported with its path, not only the first (3.367691ms)
  299. 299✔ needs must name other jobs and must not form a cycle (4.867893ms)
  300. 300✔ YAML that does not parse, a duplicate key, and a file that is not a mapping are invalid (5.925573ms)
  301. 301✔ on is a key, not the YAML 1.1 boolean (2.116491ms)
  302. 302✔ a file over 64 KB is refused before parsing (0.7364ms)
  303. 303✔ an agent job names a hosted agent and an optional prompt, and takes no container keys (4.575152ms)
  304. 304✔ a new run is queued and starts only the jobs that need nothing (4.156572ms)
  305. 305✔ a job starts when every job it needs succeeds, and the run succeeds at the end (1.06321ms)
  306. 306✔ a failure skips every job after it, in one advance (0.69111ms)
  307. 307✔ an environment that needs approval holds the job until a person approves (0.69301ms)
  308. 308✔ a rejected deploy cancels the job, and a closed environment fails it with the reason (0.454941ms)
  309. 309✔ cancel stops live jobs, and a late exit after it is ignored (0.4134ms)
  310. 310✔ a job that waits for its image moves on when the image is ready, or fails with the build (0.39982ms)
  311. 311✔ a move the rules do not allow throws (0.942681ms)
  312. 312✔ saved records load back into the same run (1.16972ms)
  313. 313✔ trust follows who started the run (1.418171ms)
  314. 314✔ an environment gate checks existence, branch, trust and approval, in that order (0.57469ms)
  315. 315✔ branch patterns: * stays in one segment, ** crosses segments, the rest is literal (0.27091ms)
  316. 316✔ a run ID is stable for one commit and config, and changes with either (23.733041ms)
  317. 317✔ a run ID fits a Workflow instance ID even for a long repo name (3.151431ms)
  318. 318✔ the batcher keeps order, splits on step changes and flushes the rest (10.778746ms)
  319. 319✔ a failed send is dropped and later output still goes out (1.34667ms)
  320. 320✔ a sealed secret opens with the same scope (27.915844ms)
  321. 321✔ sealing twice gives different ciphertexts (4.962222ms)
  322. 322✔ a sealed secret copied to another repo, environment or name does not open (5.484192ms)
  323. 323✔ another master key cannot open it, and a bad master key is refused (4.318682ms)
  324. 324✔ the masker hides a secret and its encoded forms (1.227451ms)
  325. 325✔ the masker finds a secret split across chunks (0.8512ms)
  326. 326✔ the masker hides each line of a secret that spans lines, and ignores very short secrets (0.738741ms)
  327. 327✔ the masker sends a very long line in parts instead of holding it (0.76983ms)
  328. 328✔ the CI tables accept a run and refuse a secret name that is not upper snake case (47.948043ms)
  329. 329✔ a job gets only the secrets it names: environment over repository over organization, and environment secrets only when allowed (65.985152ms)
  330. 330✔ the gh-style commands read the repository from the clone, print JSON for agents, and never merge without a terminal (1579.194123ms)
  331. 331✔ the MCP proxy hands refs_take's token to git's credential helper, never to the model, and takes it back on release (498.877168ms)
  332. 332✔ outside a refs clone, the MCP server answers on its own, offers no tools and never calls refs (354.258889ms)
  333. 333✔ with no session token, the credential helper answers git with your own sign-in, but only when it has the git scope (479.296678ms)
  334. 334✔ refs update keeps the installed CLI when the download is cut off (301.479384ms)
  335. 335✔ refs update keeps the installed CLI when the checksum does not match (176.225234ms)
  336. 336✔ refs update replaces the CLI when the download is whole and matches its checksum (250.45216ms)
  337. 337✔ a failed step fails, the steps before it succeed and the steps after it are skipped (3.050362ms)
  338. 338✔ in a running job the last started step runs and later steps wait (0.450011ms)
  339. 339✔ a cancelled job marks the step it stopped in, and a job that never ran skips every step (0.65391ms)
  340. 340✔ a newer run of the branch replaces an older failure, and a cancelled run does not count (1.766281ms)
  341. 341✔ parses a full decision record (6.510654ms)
  342. 342✔ a plain commit message has no decisions (0.33711ms)
  343. 343✔ reports missing, unknown and malformed fields (0.65719ms)
  344. 344✔ rejects tabs, unclosed blocks and mixed nesting (3.435172ms)
  345. 345✔ checks duplicates and supersedes across a push (0.884851ms)
  346. 346✔ reviews pushed commits into records to index and problems that reject the push (2.245931ms)
  347. 347✔ a strict review refuses a record that does not say what it costs to reverse (1.19147ms)
  348. 348✔ net decisions leave out a superseded decision and a repeated sentence (0.77542ms)
  349. 349✔ derives a stable, valid id from the commit and the block's position (1.368381ms)
  350. 350✔ supersedes names a decision by id, or by its commit and block number (1.21524ms)
  351. 351✔ an old record that names a task is still valid, and the task is not kept (0.574611ms)
  352. 352✔ narrative keeps the body and drops the subject and decision blocks (0.5811ms)
  353. 353✔ a commit with more decision blocks than allowed is refused, and no block past the cap gets an id (0.86368ms)
  354. 354✔ narrative drops trailing git trailers and collapses runs of blank lines (0.170371ms)
  355. 355✔ sessions may only update their own branch (1.824131ms)
  356. 356✔ a session without a branch claims a new one by pushing it, but never the default branch (0.73173ms)
  357. 357✔ describes each delivery as an instruction the agent can act on (1.202131ms)
  358. 358✔ hook output adds context for the hook's event, or nothing (1.13359ms)
  359. 359ℹ tests 203
  360. 360ℹ suites 0
  361. 361ℹ pass 203
  362. 362ℹ fail 0
  363. 363ℹ cancelled 0
  364. 364ℹ skipped 0
  365. 365ℹ todo 0
  366. 366ℹ duration_ms 23198.222592