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
- test29snodeFailedStep 2 (Test) exited with 1.
testFailed
Set up job1s
- 1Checked out refs/heads/landing/all-features at 468c1af
Install15s
- 1
- 2added 203 packages in 14s
- 3npm warn install-scripts 2 packages have install scripts not yet covered by allowScripts:
- 4npm warn install-scripts esbuild@0.28.1 (postinstall: node install.js)
- 5npm warn install-scripts workerd@1.20261001.1 (postinstall: node install.js)
- 6npm warn install-scripts
- 7npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.
Test13s
- 1
- 2> test
- 3> node --import ./apps/backend/test/workers-runtime.ts --test 'apps/*/test/**/*.test.ts' 'packages/*/test/**/*.test.ts'
- 4
- 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✔ sign-up opens the account at once, and a reset link sets a new password one time (146.065805ms)
- 7✔ a person left on the old waitlist gets their namespace when they sign in (57.828269ms)
- 8✔ only admins open the overview, and it counts people and 30 days (64.730285ms)
- 9✔ a record that does not say what it costs to reverse is refused, and the task branch never moves (85.048313ms)
- 10✔ a commit with a record, or with none, lands and its ids are reported (49.614362ms)
- 11✔ a push after the task branch was merged checks only its new commits, not the default branch's history (22.500129ms)
- 12✔ a branch that moved during the check refuses the push and still releases the quarantine (24.807811ms)
- 13✔ an agent mention counts only outside code and as a whole handle (1.400671ms)
- 14✔ each built-in agent has a handle that a mention finds (0.36244ms)
- 15✔ the changed declarations list each touched symbol with how often it is used (8.709777ms)
- 16✔ the run list shows who started each run, where it stands, and the steps of a working run (22.75675ms)
- 17✔ a dead run is marked failed once, and a run that already ended stays as it is (20.898448ms)
- 18✔ a hosted agent's mention shows its handle and its latest step, and a connected agent's mention does not (20.446427ms)
- 19✔ delivery uses stable identity and an explicit property allowlist (32.862988ms)
- 20✔ approval is not attributed as activity by the account holder (0.482921ms)
- 21✔ disabled, incomplete, or untrusted configuration sends nothing (0.42212ms)
- 22✔ delivery does not wait for PostHog before returning (0.446221ms)
- 23✔ network failures are contained and do not log private details (0.63237ms)
- 24✔ HTTP failures are contained without logging response bodies (0.63396ms)
- 25✔ EU delivery is supported and separate captures have separate identifiers (0.54137ms)
- 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✔ the CLI's repository routes act as the person only for a sign-in with the git scope (63.483964ms)
- 28✔ an outline finds top-level declarations with their line ranges (4.925845ms)
- 29✔ an outline finds class members and marks `this.` uses as member uses (0.665211ms)
- 30✔ an outline reads JSX tags as uses and does not mistake `</` or `/>` for a regular expression (0.53471ms)
- 31✔ the graph resolves uses across relative imports, re-exports and workspace packages (7.641867ms)
- 32✔ a package's exports map becomes repository paths (0.51984ms)
- 33✔ indexing a commit reads its source files and skips dependencies and declaration files (1.826552ms)
- 34✔ a commit's map is built once, then read back from storage (78.234297ms)
- 35✔ a build that never finished is taken over, and an empty commit is stored as empty (20.809288ms)
- 36✔ code changes place added lines and removed lines on the head version (1.063681ms)
- 37✔ delivers pushes to the current task branch by others, never the session's own (1.620901ms)
- 38✔ tells a working session when the default branch moves, so it rebases onto merged work (0.215021ms)
- 39✔ an idle session receives no pushes (0.106131ms)
- 40✔ delivers problems only to the session that pushed the commit (0.14622ms)
- 41✔ delivers instructions and stop only to the session they address, idle or not (0.16916ms)
- 42✔ delivers mentions to the session they name (0.13368ms)
- 43✔ tells the parent session when its sub-agent finishes (0.15362ms)
- 44✔ diff rows number both sides, deletions before additions (1.958271ms)
- 45✔ counts a small change in a large file exactly (4.715714ms)
- 46✔ a selected range covers the rows between its ends across both sides (0.48459ms)
- 47✔ finds the nearest common ancestor (0.559451ms)
- 48✔ compares trees and blobs with file totals (1.191571ms)
- 49✔ a branch that merged its base lists only its own commits (0.64231ms)
- 50✔ commits made in the same second still list oldest first (0.41063ms)
- 51✔ each commit on a branch lists the paths it changed against its first parent (0.52118ms)
- 52✔ remembered reads stay inside their repository (0.540051ms)
- 53✔ a person directing a live agent is captured once per mention, without the mention text (71.771151ms)
- 54✔ an agent mentioning another agent is not human direction (33.588019ms)
- 55✔ hashes objects as git does (10.71446ms)
- 56✔ orders a directory as if its name ended in a slash (0.904661ms)
- 57✔ writes a version 2 pack with a trailing checksum (38.420432ms)
- 58✔ reads a receive-pack report (0.79121ms)
- 59✔ merges trees path by path and reports files both sides changed (2.725833ms)
- 60✔ a committed batch hints each stream's repository once, with its newest event (20.844778ms)
- 61✔ a single recorded event hints after it runs (20.323517ms)
- 62✔ a failed batch hints nothing (22.70411ms)
- 63✔ reading an event statement with first() fails instead of skipping its hint (19.965587ms)
- 64✔ attributes each entry to the newest commit that changed it (1.272681ms)
- 65✔ leaves entries unattributed when history beyond the log is unavailable (0.32297ms)
- 66✔ pages through history until every entry is attributed (0.391351ms)
- 67✔ commit history retains the full message for reasoning (0.19172ms)
- 68✔ reasoning history keeps page boundaries and newest-first order (0.879551ms)
- 69✔ a repository agent replaces the shared and built-in agent of the same handle (25.330081ms)
- 70✔ a working key is tested, sealed, kept on a later edit, and opened for runs (84.854952ms)
- 71✔ a rejected key is not stored and the error never shows the key (23.660061ms)
- 72✔ only a person with edit rights changes agents, and bad input is refused before any request (22.89487ms)
- 73✔ provider errors name the problem without the key (0.22662ms)
- 74✔ an email has a text and an escaped HTML body with its link (1.381241ms)
- 75✔ escapes raw HTML (5.352815ms)
- 76✔ neutralises dangerous link schemes and keeps safe ones (8.047797ms)
- 77✔ routes relative links and images through the resolver (1.335621ms)
- 78✔ firstInvalid reports the first failed field in the order given, or nothing when all pass (1.217271ms)
- 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✔ pendingPermissions hides a decided request, and deciding twice is a no-op (29.473515ms)
- 81✔ refs_approve returns the decision recorded in permission_requests (39.884243ms)
- 82✔ a verdict given while the waiter was gone reaches the retry, and only for the input it was asked about (26.034882ms)
- 83✔ expiry denies approvals past their window once, drops them from the portal, and names the next deadline (24.625561ms)
- 84✔ connect records the session's start event on the session (42.097906ms)
- 85✔ no hot session or approval query scans a table (38.852703ms)
- 86✔ the migration backfills start events and permission requests, and can run again (7.945837ms)
- 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✔ consecutive MCP calls within a minute write last_seen_at once (24.201411ms)
- 89✔ a PAT used for several git requests within a minute writes last_used_at once (76.757736ms)
- 90✔ the refs CLI sign-in works as the human for git only when its grant has the git scope (20.693708ms)
- 91✔ a mention asks the hub, not the machines projection, whether the machine is connected (23.061819ms)
- 92✔ a hub that fails after the mention is saved does not fail the comment that made it (23.01798ms)
- 93✔ assigning on a pull request hands the agent its branch, never the default branch (43.927717ms)
- 94✔ the SessionEnd hook takes the conversation's session offline without ending it (22.780219ms)
- 95✔ revoking one agent grant ends only the sessions that grant started, and sessions with no recorded grant (20.883948ms)
- 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✔ creation and import are captured only after storage and the domain event succeed (107.753072ms)
- 98✔ storage failure captures failure, rolls back the repository, and emits no success (25.252652ms)
- 99✔ validation failures do not become storage attempts or successful adoption (22.294529ms)
- 100✔ a name conflict emits a conflict outcome without a second success (24.119281ms)
- 101✔ a failed domain event write does not emit a provisioning success (20.602877ms)
- 102✔ forks use a separate entry path rather than counting as imports or new projects (24.986991ms)
- 103✔ reads ref updates up to the flush packet (2.525332ms)
- 104✔ asks for more bytes when the command list is cut off (0.21865ms)
- 105✔ rejects a push with a reason per ref, inside side-band when the client asked for it (40.646054ms)
- 106✔ reports ok and ng per ref, with remote: lines on side-band 2 before the status (1.691591ms)
- 107✔ reads a plain receive-pack report (0.575201ms)
- 108✔ drops a prefix that spans chunks (4.326804ms)
- 109code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 110 at file:///work/apps/backend/diff.ts:48:56
- 111 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 112 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 113 at file:///work/apps/backend/code-index/build.ts:46:88
- 114 at Array.map (<anonymous>)
- 115 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 116 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 117 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 118 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 119 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 120code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 121 at file:///work/apps/backend/diff.ts:48:56
- 122 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 123 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 124 at file:///work/apps/backend/code-index/build.ts:46:88
- 125 at Array.map (<anonymous>)
- 126 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 127 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 128 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 129 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 130 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 131push failed on attempt 1, retrying: repo repo refs/heads/main 3333333333333333333333333333333333333333 Error: Artifacts unavailable
- 132 at Object.get (file:///work/apps/backend/test/pushes.test.ts:56:35)
- 133 at detectMerges (file:///work/apps/backend/pushes.ts:160:38)
- 134 at async processPush (file:///work/apps/backend/pushes.ts:53:3)
- 135 at async consumePushes (file:///work/apps/backend/pushes.ts:145:13)
- 136 at async deliver (file:///work/apps/backend/test/pushes.test.ts:67:3)
- 137 at async TestContext.<anonymous> (file:///work/apps/backend/test/pushes.test.ts:113:16)
- 138 at async Test.run (node:internal/test_runner/test:1439:7)
- 139 at async Test.processPendingSubtests (node:internal/test_runner/test:1004:7)
- 140code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 141 at file:///work/apps/backend/diff.ts:48:56
- 142 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 143 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 144 at file:///work/apps/backend/code-index/build.ts:46:88
- 145 at Array.map (<anonymous>)
- 146 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 147 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 148 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 149 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 150 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 151code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 152 at file:///work/apps/backend/diff.ts:48:56
- 153 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 154 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 155 at file:///work/apps/backend/code-index/build.ts:46:88
- 156 at Array.map (<anonymous>)
- 157 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 158 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 159 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 160 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 161 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 162code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 163 at file:///work/apps/backend/diff.ts:48:56
- 164 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 165 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 166 at file:///work/apps/backend/code-index/build.ts:46:88
- 167 at Array.map (<anonymous>)
- 168 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 169 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 170 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 171 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 172 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 173✔ a push delivered twice, by a session that has since ended, has its consequences once (71.367381ms)
- 174✔ a push asks CI for the pipeline at its branch tip, and a CI failure does not fail the push (31.724467ms)
- 175✔ a push whose processing fails is retried until the pull request is merged and its decisions indexed (29.268355ms)
- 176✔ a push is indexed under the session that pushed it, even after the session ended (27.788274ms)
- 177code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 178 at file:///work/apps/backend/diff.ts:48:56
- 179 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 180 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 181 at file:///work/apps/backend/code-index/build.ts:46:88
- 182 at Array.map (<anonymous>)
- 183 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 184 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 185 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 186 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 187 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 188code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 189 at file:///work/apps/backend/diff.ts:48:56
- 190 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 191 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 192 at file:///work/apps/backend/code-index/build.ts:46:88
- 193 at Array.map (<anonymous>)
- 194 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 195 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 196 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 197 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 198 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 199✔ a human push that lands a pull request is captured once as landed work, and a push refs found is not (68.433018ms)
- 200code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 201 at file:///work/apps/backend/diff.ts:48:56
- 202 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 203 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 204 at file:///work/apps/backend/code-index/build.ts:46:88
- 205 at Array.map (<anonymous>)
- 206 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 207 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 208 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 209 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 210 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 211code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 212 at file:///work/apps/backend/diff.ts:48:56
- 213 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 214 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 215 at file:///work/apps/backend/code-index/build.ts:46:88
- 216 at Array.map (<anonymous>)
- 217 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 218 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 219 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 220 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 221 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 222ref sweep: 1 repos checked, 0 seeded, 2 mismatched refs enqueued
- 223code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 224 at file:///work/apps/backend/diff.ts:48:56
- 225 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 226 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 227 at file:///work/apps/backend/code-index/build.ts:46:88
- 228 at Array.map (<anonymous>)
- 229 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 230 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 231 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 232 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 233 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 234ref sweep: 1 repos checked, 0 seeded, 0 mismatched refs enqueued
- 235ref sweep seeded 2 refs of repo repo without replaying them
- 236ref sweep: 1 repos checked, 1 seeded, 0 mismatched refs enqueued
- 237ref sweep: 1 repos checked, 0 seeded, 0 mismatched refs enqueued
- 238code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 239 at file:///work/apps/backend/diff.ts:48:56
- 240 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 241 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 242 at file:///work/apps/backend/code-index/build.ts:46:88
- 243 at Array.map (<anonymous>)
- 244 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 245 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 246 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 247 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 248 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 249code map failed for repo repo at bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb TypeError: handle.readTree is not a function
- 250 at file:///work/apps/backend/diff.ts:48:56
- 251 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 252 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 253 at file:///work/apps/backend/code-index/build.ts:46:88
- 254 at Array.map (<anonymous>)
- 255 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 256 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 257 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 258 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 259 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 260✔ an indexed push is captured with its commit and decision counts, and a push refs found is not (80.089369ms)
- 261✔ a human push to any branch indexes its decisions, with no session (27.334273ms)
- 262✔ a merge into the default branch changes no task, even when the pull request names one with a closing keyword (25.901882ms)
- 263✔ pushes whose messages were lost are found by the sweep and processed once, as refs (30.221546ms)
- 264✔ the first sweep of a repository records its tips without replaying them (25.066982ms)
- 265✔ a push processed after a later one does not move its ref back (23.44662ms)
- 266✔ parses branches, tags and HEAD from a v0 advertisement (1.717201ms)
- 267✔ returns no refs for an empty repository (0.239631ms)
- 268✔ repository imports classify the provider without sending source URLs or account details (33.576179ms)
- 269✔ agent repository work remains separate from human activity (0.552041ms)
- 270✔ provisioning failures use fixed reason codes without claiming a repository exists (0.31236ms)
- 271✔ anonymous repository activity is not captured (0.30436ms)
- 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✔ connect and take keep the token out of the text for the credential helper, and in it for clients without one (64.037945ms)
- 274✔ refs_take hands a session a named branch or a pull request's branch, and never the default branch (43.262817ms)
- 275✔ refs_take on a pull request takes its head branch (46.34873ms)
- 276✔ an agent sees the pull requests of its branch, and no others, and reads tasks like its human (0.7467ms)
- 277✔ refs_open_pull needs a held branch (26.708763ms)
- 278✔ refs_view_pull needs a held branch with an open pull request (26.924283ms)
- 279✔ two refs_events calls at the same time hand an update to only one of them (24.512621ms)
- 280✔ refs_connect names the session outside the text, both for a new session and for a reconnect (22.360159ms)
- 281✔ a new repository's first commit holds the agent set-up files, readable by git (120.393032ms)
- 282✔ a thread anchors to lines or to a decision, never both or neither (22.737289ms)
- 283✔ a pushed decision that supersedes a steered one marks its open threads addressed (23.64091ms)
- 284✔ a branched pull request knows where it started, and its source lists it (22.041518ms)
- 285✔ a new task gets its number, its opened event and its labels in one write (24.305311ms)
- 286✔ a pull request and its commits name the agent that opened and pushed them (21.771859ms)
- 287✔ a private repository is visible only to members of its namespace (35.812681ms)
- 288✔ anyone can read another namespace's public repository, but only members write to it (24.902691ms)
- 289✔ each namespace has its own repository names (23.47201ms)
- 290✔ task lists and labels stay inside their namespace (22.837649ms)
- 291✔ git URLs name the namespace and the repository (0.525581ms)
- 292✔ a handle must be a lowercase slug that no route uses (0.24992ms)
- 293✔ activating a waitlisted user creates their namespace once, and only then can they hold a session (43.363327ms)
- 294✔ an organization's owner manages its members (23.62386ms)
- 295✔ an agent grant stops granting repository access once its expiry time passes (0.927611ms)
- 296✔ CI runs and secrets stay inside their repository and namespace (95.280581ms)
- 297✔ the pipeline from the design page parses (14.473413ms)
- 298✔ a pipeline without on runs on every push, pull request and manual start (0.853661ms)
- 299✔ on lists only the triggers it names (1.165001ms)
- 300✔ a step is named after the first line of its command (1.733331ms)
- 301✔ images: built-in and dated built-in; an unknown image is refused (1.421052ms)
- 302✔ a job names the secrets it gets, in secret-name form (1.252532ms)
- 303✔ every problem is reported with its path, not only the first (1.607561ms)
- 304✔ needs must name other jobs and must not form a cycle (2.286522ms)
- 305✔ YAML that does not parse, a duplicate key, and a file that is not a mapping are invalid (2.711962ms)
- 306✔ on is a key, not the YAML 1.1 boolean (0.84292ms)
- 307✔ a file over 64 KB is refused before parsing (0.317871ms)
- 308✔ an agent job names a hosted agent and an optional prompt, and takes no container keys (1.950851ms)
- 309✔ a new run is queued and starts only the jobs that need nothing (2.538722ms)
- 310✔ a job starts when every job it needs succeeds, and the run succeeds at the end (0.39217ms)
- 311✔ a failure skips every job after it, in one advance (0.28354ms)
- 312✔ an environment that needs approval holds the job until a person approves (0.2845ms)
- 313✔ a rejected deploy cancels the job, and a closed environment fails it with the reason (0.26556ms)
- 314✔ cancel stops live jobs, and a late exit after it is ignored (0.20687ms)
- 315✔ a job that waits for its image moves on when the image is ready, or fails with the build (0.20604ms)
- 316✔ a move the rules do not allow throws (0.44802ms)
- 317✔ saved records load back into the same run (0.280721ms)
- 318✔ trust follows who started the run (0.758951ms)
- 319✔ an environment gate checks existence, branch, trust and approval, in that order (0.23583ms)
- 320✔ branch patterns: * stays in one segment, ** crosses segments, the rest is literal (0.15592ms)
- 321✔ a run ID is stable for one commit and config, and changes with either (13.667292ms)
- 322✔ a run ID fits a Workflow instance ID even for a long repo name (1.750692ms)
- 323✔ the batcher keeps order, splits on step changes and flushes the rest (10.780509ms)
- 324✔ a failed send is dropped and later output still goes out (0.59703ms)
- 325✔ a sealed secret opens with the same scope (15.512433ms)
- 326✔ sealing twice gives different ciphertexts (2.078761ms)
- 327✔ a sealed secret copied to another repo, environment or name does not open (2.175701ms)
- 328✔ another master key cannot open it, and a bad master key is refused (1.927402ms)
- 329✔ the masker hides a secret and its encoded forms (1.414891ms)
- 330✔ the masker finds a secret split across chunks (0.333341ms)
- 331✔ the masker hides each line of a secret that spans lines, and ignores very short secrets (0.43616ms)
- 332✔ the masker sends a very long line in parts instead of holding it (0.370691ms)
- 333✔ the CI tables accept a run and refuse a secret name that is not upper snake case (21.318559ms)
- 334✔ a job gets only the secrets it names: environment over repository over organization, and environment secrets only when allowed (31.144456ms)
- 335✔ the gh-style commands read the repository from the clone, print JSON for agents, and never merge without a terminal (757.642186ms)
- 336✖ the MCP proxy hands refs_take's token to git's credential helper, never to the model, and takes it back on release (212.198041ms)
- 337✔ outside a refs clone, the MCP server answers on its own, offers no tools and never calls refs (163.59781ms)
- 338✔ with no session token, the credential helper answers git with your own sign-in, but only when it has the git scope (254.788457ms)
- 339✔ the credential helper gives a session token only to git that the agent runs, and your sign-in to everyone else (241.196856ms)
- 340✔ refs update keeps the installed CLI when the download is cut off (137.314667ms)
- 341✔ refs update keeps the installed CLI when the checksum does not match (100.663795ms)
- 342✔ refs update replaces the CLI when the download is whole and matches its checksum (129.27944ms)
- 343✔ a failed step fails, the steps before it succeed and the steps after it are skipped (1.477672ms)
- 344✔ in a running job the last started step runs and later steps wait (0.14517ms)
- 345✔ a cancelled job marks the step it stopped in, and a job that never ran skips every step (0.3297ms)
- 346✔ a newer run of the branch replaces an older failure, and a cancelled run does not count (1.014711ms)
- 347✔ parses a full decision record (2.982642ms)
- 348✔ a plain commit message has no decisions (0.155251ms)
- 349✔ reports missing, unknown and malformed fields (0.19959ms)
- 350✔ rejects tabs, unclosed blocks and mixed nesting (1.726351ms)
- 351✔ checks duplicates and supersedes across a push (0.33847ms)
- 352✔ reviews pushed commits into records to index and problems that reject the push (0.909611ms)
- 353✔ a strict review refuses a record that does not say what it costs to reverse (0.41032ms)
- 354✔ net decisions leave out a superseded decision and a repeated sentence (0.43707ms)
- 355✔ derives a stable, valid id from the commit and the block's position (0.398771ms)
- 356✔ supersedes names a decision by id, or by its commit and block number (0.29139ms)
- 357✔ an old record that names a task is still valid, and the task is not kept (0.14368ms)
- 358✔ narrative keeps the body and drops the subject and decision blocks (0.25035ms)
- 359✔ a commit with more decision blocks than allowed is refused, and no block past the cap gets an id (0.996041ms)
- 360✔ narrative drops trailing git trailers and collapses runs of blank lines (0.07016ms)
- 361✔ sessions may only update their own branch (1.348042ms)
- 362✔ a session without a branch claims a new one by pushing it, but never the default branch (0.704761ms)
- 363✔ describes each delivery as an instruction the agent can act on (0.969851ms)
- 364✔ hook output adds context for the hook's event, or nothing (0.852771ms)
- 365ℹ tests 208
- 366ℹ suites 0
- 367ℹ pass 207
- 368ℹ fail 1
- 369ℹ cancelled 0
- 370ℹ skipped 0
- 371ℹ todo 0
- 372ℹ duration_ms 12818.322985
- 373
- 374✖ failing tests:
- 375
- 376test at apps/cli/test/credential.test.ts:18:1
- 377✖ the MCP proxy hands refs_take's token to git's credential helper, never to the model, and takes it back on release (212.198041ms)
- 378 Error: Command failed: git -C /tmp/refs-cli-NJmnwy/clone credential fill
- 379 at genericNodeError (node:internal/errors:986:15)
- 380 at wrappedFn (node:internal/errors:540:14)
- 381 at checkExecSyncError (node:child_process:1010:11)
- 382 at execFileSync (node:child_process:1046:15)
- 383 at git (file:///work/apps/cli/test/credential.test.ts:15:10)
- 384 at fill (file:///work/apps/cli/test/credential.test.ts:54:22)
- 385 at TestContext.<anonymous> (file:///work/apps/cli/test/credential.test.ts:61:16)
- 386 at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
- 387 at async Test.run (node:internal/test_runner/test:1439:7)
- 388 at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) {
- 389 status: 128,
- 390 signal: null,
- 391 output: [ null, '', null ],
- 392 pid: 459,
- 393 stdout: '',
- 394 stderr: null
- 395 }