Push
Failedmain30f4ffestartedThis run is untrusted
refs found this push without a known pusher. Its jobs get no secrets, and each deploy waits for a person.
Jobs
- test1m 3snodeFailedStep 2 (Test) exited with 1.
testFailed
Set up job4s
- 1Checked out refs/heads/main at 30f4ffe
Install31s
- 1
- 2added 203 packages in 29s
- 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.
Test28s
- 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 (231.411642ms)
- 7✔ a person left on the old waitlist gets their namespace when they sign in (97.201582ms)
- 8✔ only admins open the overview, and it counts people and 30 days (107.071536ms)
- 9✔ a record that does not say what it costs to reverse is refused, and the task branch never moves (175.013497ms)
- 10✔ a commit with a record, or with none, lands and its ids are reported (108.381939ms)
- 11✔ a push after the task branch was merged checks only its new commits, not the default branch's history (51.754264ms)
- 12✔ a branch that moved during the check refuses the push and still releases the quarantine (55.846323ms)
- 13✔ an agent mention counts only outside code and as a whole handle (3.503288ms)
- 14✔ each built-in agent has a handle that a mention finds (1.083503ms)
- 15✔ the changed declarations list each touched symbol with how often it is used (22.251493ms)
- 16✔ the run list shows who started each run, where it stands, and the steps of a working run (50.06455ms)
- 17✔ a dead run is marked failed once, and a run that already ended stays as it is (48.886927ms)
- 18✔ a hosted agent's mention shows its handle and its latest step, and a connected agent's mention does not (48.180815ms)
- 19✔ delivery uses stable identity and an explicit property allowlist (81.297534ms)
- 20✔ approval is not attributed as activity by the account holder (1.100843ms)
- 21✔ disabled, incomplete, or untrusted configuration sends nothing (1.163773ms)
- 22✔ delivery does not wait for PostHog before returning (0.949142ms)
- 23✔ network failures are contained and do not log private details (1.482673ms)
- 24✔ HTTP failures are contained without logging response bodies (1.342383ms)
- 25✔ EU delivery is supported and separate captures have separate identifiers (1.052462ms)
- 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 (123.346504ms)
- 28✔ an outline finds top-level declarations with their line ranges (13.472872ms)
- 29✔ an outline finds class members and marks `this.` uses as member uses (1.600124ms)
- 30✔ an outline reads JSX tags as uses and does not mistake `</` or `/>` for a regular expression (1.559874ms)
- 31✔ the graph resolves uses across relative imports, re-exports and workspace packages (15.113286ms)
- 32✔ a package's exports map becomes repository paths (0.925533ms)
- 33✔ indexing a commit reads its source files and skips dependencies and declaration files (2.780587ms)
- 34✔ a commit's map is built once, then read back from storage (159.0386ms)
- 35✔ a build that never finished is taken over, and an empty commit is stored as empty (45.594139ms)
- 36✔ code changes place added lines and removed lines on the head version (2.123285ms)
- 37✔ delivers pushes to the current task branch by others, never the session's own (2.952797ms)
- 38✔ tells a working session when the default branch moves, so it rebases onto merged work (0.548921ms)
- 39✔ an idle session receives no pushes (0.243841ms)
- 40✔ delivers problems only to the session that pushed the commit (0.588541ms)
- 41✔ delivers instructions and stop only to the session they address, idle or not (0.407441ms)
- 42✔ delivers mentions to the session they name (0.273881ms)
- 43✔ tells the parent session when its sub-agent finishes (0.487931ms)
- 44✔ diff rows number both sides, deletions before additions (4.34112ms)
- 45✔ counts a small change in a large file exactly (8.187809ms)
- 46✔ a selected range covers the rows between its ends across both sides (0.979683ms)
- 47✔ finds the nearest common ancestor (1.450133ms)
- 48✔ compares trees and blobs with file totals (2.682046ms)
- 49✔ a branch that merged its base lists only its own commits (2.042004ms)
- 50✔ commits made in the same second still list oldest first (1.476163ms)
- 51✔ each commit on a branch lists the paths it changed against its first parent (1.295173ms)
- 52✔ remembered reads stay inside their repository (1.497294ms)
- 53✔ a person directing a live agent is captured once per mention, without the mention text (137.990629ms)
- 54✔ an agent mentioning another agent is not human direction (71.37559ms)
- 55✔ hashes objects as git does (19.501856ms)
- 56✔ orders a directory as if its name ended in a slash (2.995917ms)
- 57✔ writes a version 2 pack with a trailing checksum (84.434161ms)
- 58✔ reads a receive-pack report (1.408743ms)
- 59✔ merges trees path by path and reports files both sides changed (5.546484ms)
- 60✔ a committed batch hints each stream's repository once, with its newest event (56.081774ms)
- 61✔ a single recorded event hints after it runs (53.869058ms)
- 62✔ a failed batch hints nothing (50.913312ms)
- 63✔ reading an event statement with first() fails instead of skipping its hint (47.489213ms)
- 64✔ attributes each entry to the newest commit that changed it (27.819247ms)
- 65✔ leaves entries unattributed when history beyond the log is unavailable (7.522238ms)
- 66✔ pages through history until every entry is attributed (1.608253ms)
- 67✔ commit history retains the full message for reasoning (0.538991ms)
- 68✔ reasoning history keeps page boundaries and newest-first order (1.985775ms)
- 69✔ a repository agent replaces the shared and built-in agent of the same handle (48.154075ms)
- 70✔ a working key is tested, sealed, kept on a later edit, and opened for runs (193.903192ms)
- 71✔ a rejected key is not stored and the error never shows the key (38.022611ms)
- 72✔ only a person with edit rights changes agents, and bad input is refused before any request (39.785435ms)
- 73✔ provider errors name the problem without the key (0.444731ms)
- 74✔ an email has a text and an escaped HTML body with its link (3.660139ms)
- 75✔ escapes raw HTML (11.504117ms)
- 76✔ neutralises dangerous link schemes and keeps safe ones (17.369902ms)
- 77✔ routes relative links and images through the resolver (3.175157ms)
- 78✔ firstInvalid reports the first failed field in the order given, or nothing when all pass (2.382956ms)
- 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 (47.891035ms)
- 81✔ refs_approve returns the decision recorded in permission_requests (65.145965ms)
- 82✔ a verdict given while the waiter was gone reaches the retry, and only for the input it was asked about (45.651698ms)
- 83✔ expiry denies approvals past their window once, drops them from the portal, and names the next deadline (47.640763ms)
- 84✔ connect records the session's start event on the session (65.952187ms)
- 85✔ no hot session or approval query scans a table (63.18609ms)
- 86✔ the migration backfills start events and permission requests, and can run again (17.491071ms)
- 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 (48.669776ms)
- 89✔ a PAT used for several git requests within a minute writes last_used_at once (177.642723ms)
- 90✔ the refs CLI sign-in works as the human for git only when its grant has the git scope (48.159255ms)
- 91✔ a mention asks the hub, not the machines projection, whether the machine is connected (46.459801ms)
- 92✔ a hub that fails after the mention is saved does not fail the comment that made it (40.175135ms)
- 93✔ assigning on a pull request hands the agent its branch, never the default branch (88.736682ms)
- 94✔ the SessionEnd hook takes the conversation's session offline without ending it (42.834592ms)
- 95✔ revoking one agent grant ends only the sessions that grant started, and sessions with no recorded grant (37.71551ms)
- 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 (269.069332ms)
- 98✔ storage failure captures failure, rolls back the repository, and emits no success (48.458696ms)
- 99✔ validation failures do not become storage attempts or successful adoption (41.298148ms)
- 100✔ a name conflict emits a conflict outcome without a second success (50.097029ms)
- 101✔ a failed domain event write does not emit a provisioning success (52.147064ms)
- 102✔ forks use a separate entry path rather than counting as imports or new projects (50.967602ms)
- 103✔ reads ref updates up to the flush packet (3.772129ms)
- 104✔ asks for more bytes when the command list is cut off (0.34859ms)
- 105✔ rejects a push with a reason per ref, inside side-band when the client asked for it (79.520009ms)
- 106✔ reports ok and ng per ref, with remote: lines on side-band 2 before the status (4.313061ms)
- 107✔ reads a plain receive-pack report (1.497124ms)
- 108✔ drops a prefix that spans chunks (10.553795ms)
- 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 (142.48587ms)
- 174✔ a push asks CI for the pipeline at its branch tip, and a CI failure does not fail the push (43.184733ms)
- 175✔ a push whose processing fails is retried until the pull request is merged and its decisions indexed (61.691477ms)
- 176✔ a push is indexed under the session that pushed it, even after the session ended (47.065902ms)
- 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 (131.644464ms)
- 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 (162.086647ms)
- 261✔ a human push to any branch indexes its decisions, with no session (44.336156ms)
- 262✔ a merge into the default branch changes no task, even when the pull request names one with a closing keyword (40.480707ms)
- 263✔ pushes whose messages were lost are found by the sweep and processed once, as refs (57.630928ms)
- 264✔ the first sweep of a repository records its tips without replaying them (42.752582ms)
- 265✔ a push processed after a later one does not move its ref back (44.836647ms)
- 266✔ parses branches, tags and HEAD from a v0 advertisement (3.386318ms)
- 267✔ returns no refs for an empty repository (0.485831ms)
- 268✔ repository imports classify the provider without sending source URLs or account details (66.158868ms)
- 269✔ agent repository work remains separate from human activity (0.993542ms)
- 270✔ provisioning failures use fixed reason codes without claiming a repository exists (0.634241ms)
- 271✔ anonymous repository activity is not captured (0.760891ms)
- 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 (158.655159ms)
- 274✔ refs_take hands a session a named branch or a pull request's branch, and never the default branch (91.072657ms)
- 275✔ refs_take on a pull request takes its head branch (118.449473ms)
- 276✔ an agent sees the pull requests of its branch, and no others, and reads tasks like its human (1.660714ms)
- 277✔ refs_open_pull needs a held branch (48.556975ms)
- 278✔ refs_view_pull needs a held branch with an open pull request (50.924781ms)
- 279✔ two refs_events calls at the same time hand an update to only one of them (53.842919ms)
- 280✔ refs_connect names the session outside the text, both for a new session and for a reconnect (53.635068ms)
- 281✔ a new repository's first commit holds the agent set-up files, readable by git (261.597204ms)
- 282✔ a thread anchors to lines or to a decision, never both or neither (42.151831ms)
- 283✔ a pushed decision that supersedes a steered one marks its open threads addressed (49.028957ms)
- 284✔ a branched pull request knows where it started, and its source lists it (44.535437ms)
- 285✔ a new task gets its number, its opened event and its labels in one write (37.358969ms)
- 286✔ a pull request and its commits name the agent that opened and pushed them (40.877278ms)
- 287✔ a private repository is visible only to members of its namespace (53.917919ms)
- 288✔ anyone can read another namespace's public repository, but only members write to it (38.842323ms)
- 289✔ each namespace has its own repository names (34.847353ms)
- 290✔ task lists and labels stay inside their namespace (37.504139ms)
- 291✔ git URLs name the namespace and the repository (0.803211ms)
- 292✔ a handle must be a lowercase slug that no route uses (0.334341ms)
- 293✔ activating a waitlisted user creates their namespace once, and only then can they hold a session (71.53672ms)
- 294✔ an organization's owner manages its members (40.873467ms)
- 295✔ an agent grant stops granting repository access once its expiry time passes (1.193833ms)
- 296✔ CI runs and secrets stay inside their repository and namespace (161.940366ms)
- 297✔ the pipeline from the design page parses (27.227045ms)
- 298✔ a pipeline without on runs on every push, pull request and manual start (1.615104ms)
- 299✔ on lists only the triggers it names (2.170575ms)
- 300✔ a step is named after the first line of its command (3.863279ms)
- 301✔ images: built-in and dated built-in; an unknown image is refused (2.365885ms)
- 302✔ a job names the secrets it gets, in secret-name form (2.996117ms)
- 303✔ every problem is reported with its path, not only the first (2.972847ms)
- 304✔ needs must name other jobs and must not form a cycle (4.07516ms)
- 305✔ YAML that does not parse, a duplicate key, and a file that is not a mapping are invalid (4.713841ms)
- 306✔ on is a key, not the YAML 1.1 boolean (1.378774ms)
- 307✔ a file over 64 KB is refused before parsing (0.380571ms)
- 308✔ an agent job names a hosted agent and an optional prompt, and takes no container keys (4.734482ms)
- 309✔ a new run is queued and starts only the jobs that need nothing (3.850309ms)
- 310✔ a job starts when every job it needs succeeds, and the run succeeds at the end (0.839452ms)
- 311✔ a failure skips every job after it, in one advance (0.587181ms)
- 312✔ an environment that needs approval holds the job until a person approves (0.645852ms)
- 313✔ a rejected deploy cancels the job, and a closed environment fails it with the reason (0.481421ms)
- 314✔ cancel stops live jobs, and a late exit after it is ignored (0.467231ms)
- 315✔ a job that waits for its image moves on when the image is ready, or fails with the build (0.345551ms)
- 316✔ a move the rules do not allow throws (0.791732ms)
- 317✔ saved records load back into the same run (0.991872ms)
- 318✔ trust follows who started the run (1.267103ms)
- 319✔ an environment gate checks existence, branch, trust and approval, in that order (0.396351ms)
- 320✔ branch patterns: * stays in one segment, ** crosses segments, the rest is literal (0.300191ms)
- 321✔ a run ID is stable for one commit and config, and changes with either (23.146656ms)
- 322✔ a run ID fits a Workflow instance ID even for a long repo name (3.836299ms)
- 323✔ the batcher keeps order, splits on step changes and flushes the rest (6.586186ms)
- 324✔ a failed send is dropped and later output still goes out (1.995144ms)
- 325✔ a sealed secret opens with the same scope (30.464793ms)
- 326✔ sealing twice gives different ciphertexts (3.476988ms)
- 327✔ a sealed secret copied to another repo, environment or name does not open (2.961107ms)
- 328✔ another master key cannot open it, and a bad master key is refused (3.193568ms)
- 329✔ the masker hides a secret and its encoded forms (0.939532ms)
- 330✔ the masker finds a secret split across chunks (0.351321ms)
- 331✔ the masker hides each line of a secret that spans lines, and ignores very short secrets (0.859832ms)
- 332✔ the masker sends a very long line in parts instead of holding it (0.553001ms)
- 333✔ the CI tables accept a run and refuse a secret name that is not upper snake case (43.438144ms)
- 334✔ a job gets only the secrets it names: environment over repository over organization, and environment secrets only when allowed (86.945328ms)
- 335✔ the gh-style commands read the repository from the clone, print JSON for agents, and never merge without a terminal (1734.509435ms)
- 336✖ the MCP proxy hands refs_take's token to git's credential helper, never to the model, and takes it back on release (644.855807ms)
- 337✔ outside a refs clone, the MCP server answers on its own, offers no tools and never calls refs (336.424592ms)
- 338✔ with no session token, the credential helper answers git with your own sign-in, but only when it has the git scope (484.204684ms)
- 339✔ the credential helper gives a session token only to git that the agent runs, and your sign-in to everyone else (480.492695ms)
- 340✔ refs update keeps the installed CLI when the download is cut off (299.176153ms)
- 341✔ refs update keeps the installed CLI when the checksum does not match (208.697387ms)
- 342✔ refs update replaces the CLI when the download is whole and matches its checksum (250.098687ms)
- 343✔ a failed step fails, the steps before it succeed and the steps after it are skipped (3.607208ms)
- 344✔ in a running job the last started step runs and later steps wait (0.425861ms)
- 345✔ a cancelled job marks the step it stopped in, and a job that never ran skips every step (0.966072ms)
- 346✔ a newer run of the branch replaces an older failure, and a cancelled run does not count (2.289585ms)
- 347✔ parses a full decision record (5.056822ms)
- 348✔ a plain commit message has no decisions (0.498611ms)
- 349✔ reports missing, unknown and malformed fields (1.142553ms)
- 350✔ rejects tabs, unclosed blocks and mixed nesting (3.587259ms)
- 351✔ checks duplicates and supersedes across a push (1.312703ms)
- 352✔ reviews pushed commits into records to index and problems that reject the push (2.168615ms)
- 353✔ a strict review refuses a record that does not say what it costs to reverse (1.184062ms)
- 354✔ net decisions leave out a superseded decision and a repeated sentence (0.766341ms)
- 355✔ derives a stable, valid id from the commit and the block's position (0.932712ms)
- 356✔ supersedes names a decision by id, or by its commit and block number (0.724522ms)
- 357✔ an old record that names a task is still valid, and the task is not kept (0.328521ms)
- 358✔ narrative keeps the body and drops the subject and decision blocks (1.631034ms)
- 359✔ a commit with more decision blocks than allowed is refused, and no block past the cap gets an id (1.261253ms)
- 360✔ narrative drops trailing git trailers and collapses runs of blank lines (0.16145ms)
- 361✔ sessions may only update their own branch (2.202035ms)
- 362✔ a session without a branch claims a new one by pushing it, but never the default branch (0.981742ms)
- 363✔ describes each delivery as an instruction the agent can act on (1.494523ms)
- 364✔ hook output adds context for the hook's event, or nothing (1.532234ms)
- 365ℹ tests 208
- 366ℹ suites 0
- 367ℹ pass 207
- 368ℹ fail 1
- 369ℹ cancelled 0
- 370ℹ skipped 0
- 371ℹ todo 0
- 372ℹ duration_ms 27054.821744
- 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 (644.855807ms)
- 378 Error: Command failed: git -C /tmp/refs-cli-5mt95V/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: 460,
- 393 stdout: '',
- 394 stderr: null
- 395 }