Push
Failedmaindcd01bdstartedThis run is untrusted
refs found this push without a known pusher. Its jobs get no secrets, and each deploy waits for a person.
Jobs
- test49snodeFailedStep 2 (Test) exited with 1.
testFailed
Set up job5s
- 1Checked out refs/heads/main at dcd01bd
Install24s
- 1
- 2added 203 packages in 23s
- 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.
Test21s
- 1
- 2> test
- 3> node --import ./apps/backend/test/workers-runtime.ts --test 'apps/*/test/**/*.test.ts' 'packages/*/test/**/*.test.ts'
- 4
- 5✔ a record that does not say what it costs to reverse is refused, and the task branch never moves (130.352772ms)
- 6✔ a commit with a record, or with none, lands and its ids are reported (84.981331ms)
- 7✔ a push after the task branch was merged checks only its new commits, not the default branch's history (39.991419ms)
- 8✔ a branch that moved during the check refuses the push and still releases the quarantine (48.418443ms)
- 9✔ an agent mention counts only outside code and as a whole handle (3.031741ms)
- 10✔ each built-in agent has a handle that a mention finds (0.86869ms)
- 11✔ the changed declarations list each touched symbol with how often it is used (17.356128ms)
- 12✔ the run list shows who started each run, where it stands, and the steps of a working run (43.049831ms)
- 13✔ a dead run is marked failed once, and a run that already ended stays as it is (39.667159ms)
- 14✔ delivery uses stable identity and an explicit property allowlist (49.048763ms)
- 15✔ approval is not attributed as activity by the account holder (0.69181ms)
- 16✔ disabled, incomplete, or untrusted configuration sends nothing (0.643151ms)
- 17✔ delivery does not wait for PostHog before returning (0.61186ms)
- 18✔ network failures are contained and do not log private details (0.90628ms)
- 19✔ HTTP failures are contained without logging response bodies (0.897441ms)
- 20✔ EU delivery is supported and separate captures have separate identifiers (0.76906ms)
- 21CIMD (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
- 22✔ the CLI's repository routes act as the person only for a sign-in with the git scope (103.37181ms)
- 23✔ an outline finds top-level declarations with their line ranges (8.229714ms)
- 24✔ an outline finds class members and marks `this.` uses as member uses (1.451491ms)
- 25✔ an outline reads JSX tags as uses and does not mistake `</` or `/>` for a regular expression (1.295771ms)
- 26✔ the graph resolves uses across relative imports, re-exports and workspace packages (13.505246ms)
- 27✔ a package's exports map becomes repository paths (0.709241ms)
- 28✔ indexing a commit reads its source files and skips dependencies and declaration files (3.340631ms)
- 29✔ a commit's map is built once, then read back from storage (137.754586ms)
- 30✔ a build that never finished is taken over, and an empty commit is stored as empty (35.838007ms)
- 31✔ code changes place added lines and removed lines on the head version (2.572052ms)
- 32✔ delivers pushes to the current task branch by others, never the session's own (2.347131ms)
- 33✔ an idle session receives no pushes (0.24781ms)
- 34✔ delivers problems only to the session that pushed the commit (0.424191ms)
- 35✔ delivers instructions and stop only to the session they address, idle or not (0.30005ms)
- 36✔ delivers mentions to the session they name (0.38319ms)
- 37✔ tells the parent session when its sub-agent finishes (0.38081ms)
- 38✔ diff rows number both sides, deletions before additions (2.647561ms)
- 39✔ counts a small change in a large file exactly (6.315853ms)
- 40✔ a selected range covers the rows between its ends across both sides (0.76282ms)
- 41✔ finds the nearest common ancestor (0.841281ms)
- 42✔ compares trees and blobs with file totals (1.65568ms)
- 43✔ a branch that merged its base lists only its own commits (1.147431ms)
- 44✔ commits made in the same second still list oldest first (0.909021ms)
- 45✔ each commit on a branch lists the paths it changed against its first parent (0.92164ms)
- 46✔ remembered reads stay inside their repository (1.525931ms)
- 47✔ a person directing a live agent is captured once per mention, without the mention text (99.066587ms)
- 48✔ an agent mentioning another agent is not human direction (41.84085ms)
- 49✔ hashes objects as git does (15.576257ms)
- 50✔ orders a directory as if its name ended in a slash (1.807511ms)
- 51✔ writes a version 2 pack with a trailing checksum (64.53142ms)
- 52✔ reads a receive-pack report (1.11511ms)
- 53✔ merges trees path by path and reports files both sides changed (3.504692ms)
- 54✔ a committed batch hints each stream's repository once, with its newest event (41.6819ms)
- 55✔ a single recorded event hints after it runs (33.007436ms)
- 56✔ a failed batch hints nothing (30.454485ms)
- 57✔ reading an event statement with first() fails instead of skipping its hint (31.674795ms)
- 58✔ attributes each entry to the newest commit that changed it (1.937031ms)
- 59✔ leaves entries unattributed when history beyond the log is unavailable (0.4347ms)
- 60✔ pages through history until every entry is attributed (0.57956ms)
- 61✔ commit history retains the full message for reasoning (0.28599ms)
- 62✔ reasoning history keeps page boundaries and newest-first order (1.09039ms)
- 63✔ a repository agent replaces the shared and built-in agent of the same handle (32.556796ms)
- 64✔ a working key is tested, sealed, kept on a later edit, and opened for runs (102.494159ms)
- 65✔ a rejected key is not stored and the error never shows the key (40.66338ms)
- 66✔ only a person with edit rights changes agents, and bad input is refused before any request (41.581339ms)
- 67✔ provider errors name the problem without the key (0.44041ms)
- 68✔ an email has a text and an escaped HTML body with its link (3.331321ms)
- 69✔ escapes raw HTML (11.324986ms)
- 70✔ neutralises dangerous link schemes and keeps safe ones (16.736108ms)
- 71✔ routes relative links and images through the resolver (2.144491ms)
- 72✔ firstInvalid reports the first failed field in the order given, or nothing when all pass (1.851621ms)
- 73CIMD (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
- 74✔ pendingPermissions hides a decided request, and deciding twice is a no-op (36.236257ms)
- 75✔ refs_approve returns the decision recorded in permission_requests (56.843757ms)
- 76✔ a verdict given while the waiter was gone reaches the retry, and only for the input it was asked about (42.28371ms)
- 77✔ expiry denies approvals past their window once, drops them from the portal, and names the next deadline (41.82993ms)
- 78✔ connect records the session's start event on the session (57.789747ms)
- 79✔ no hot session or approval query scans a table (56.186886ms)
- 80✔ the migration backfills start events and permission requests, and can run again (14.330317ms)
- 81CIMD (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
- 82✔ consecutive MCP calls within a minute write last_seen_at once (36.181248ms)
- 83✔ a PAT used for several git requests within a minute writes last_used_at once (172.902182ms)
- 84✔ the refs CLI sign-in works as the human for git only when its grant has the git scope (45.213381ms)
- 85✔ a mention asks the hub, not the machines projection, whether the machine is connected (58.095278ms)
- 86✔ a hub that fails after the mention is saved does not fail the comment that made it (37.234438ms)
- 87✔ assigning on a pull request hands the agent its branch, never the default branch (80.603688ms)
- 88✔ the SessionEnd hook takes the conversation's session offline without ending it (65.791501ms)
- 89✔ revoking one agent grant ends only the sessions that grant started, and sessions with no recorded grant (33.613306ms)
- 90CIMD (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
- 91✔ creation and import are captured only after storage and the domain event succeed (192.482462ms)
- 92✔ storage failure captures failure, rolls back the repository, and emits no success (44.322881ms)
- 93✔ validation failures do not become storage attempts or successful adoption (41.17792ms)
- 94✔ a name conflict emits a conflict outcome without a second success (48.683093ms)
- 95✔ a failed domain event write does not emit a provisioning success (41.565839ms)
- 96✔ forks use a separate entry path rather than counting as imports or new projects (46.610842ms)
- 97✔ reads ref updates up to the flush packet (4.071932ms)
- 98✔ asks for more bytes when the command list is cut off (0.56537ms)
- 99✔ rejects a push with a reason per ref, inside side-band when the client asked for it (83.59272ms)
- 100✔ reports ok and ng per ref, with remote: lines on side-band 2 before the status (4.340592ms)
- 101✔ reads a plain receive-pack report (1.709231ms)
- 102✔ drops a prefix that spans chunks (10.023855ms)
- 103code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 104 at file:///work/apps/backend/diff.ts:48:56
- 105 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 106 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 107 at file:///work/apps/backend/code-index/build.ts:46:88
- 108 at Array.map (<anonymous>)
- 109 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 110 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 111 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 112 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 113 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 114code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 115 at file:///work/apps/backend/diff.ts:48:56
- 116 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 117 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 118 at file:///work/apps/backend/code-index/build.ts:46:88
- 119 at Array.map (<anonymous>)
- 120 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 121 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 122 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 123 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 124 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 125push failed on attempt 1, retrying: repo repo refs/heads/main 3333333333333333333333333333333333333333 Error: Artifacts unavailable
- 126 at Object.get (file:///work/apps/backend/test/pushes.test.ts:56:35)
- 127 at detectMerges (file:///work/apps/backend/pushes.ts:160:38)
- 128 at async processPush (file:///work/apps/backend/pushes.ts:53:3)
- 129 at async consumePushes (file:///work/apps/backend/pushes.ts:145:13)
- 130 at async deliver (file:///work/apps/backend/test/pushes.test.ts:67:3)
- 131 at async TestContext.<anonymous> (file:///work/apps/backend/test/pushes.test.ts:113:16)
- 132 at async Test.run (node:internal/test_runner/test:1439:7)
- 133 at async Test.processPendingSubtests (node:internal/test_runner/test:1004:7)
- 134code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 135 at file:///work/apps/backend/diff.ts:48:56
- 136 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 137 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 138 at file:///work/apps/backend/code-index/build.ts:46:88
- 139 at Array.map (<anonymous>)
- 140 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 141 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 142 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 143 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 144 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 145code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 146 at file:///work/apps/backend/diff.ts:48:56
- 147 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 148 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 149 at file:///work/apps/backend/code-index/build.ts:46:88
- 150 at Array.map (<anonymous>)
- 151 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 152 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 153 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 154 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 155 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 156code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 157 at file:///work/apps/backend/diff.ts:48:56
- 158 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 159 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 160 at file:///work/apps/backend/code-index/build.ts:46:88
- 161 at Array.map (<anonymous>)
- 162 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 163 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 164 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 165 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 166 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 167✔ a push delivered twice, by a session that has since ended, has its consequences once (126.75525ms)
- 168✔ a push asks CI for the pipeline at its branch tip, and a CI failure does not fail the push (52.753645ms)
- 169✔ a push whose processing fails is retried until the pull request is merged and its decisions indexed (39.745269ms)
- 170✔ a push is indexed under the session that pushed it, even after the session ended (42.973571ms)
- 171code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 172 at file:///work/apps/backend/diff.ts:48:56
- 173 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 174 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 175 at file:///work/apps/backend/code-index/build.ts:46:88
- 176 at Array.map (<anonymous>)
- 177 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 178 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 179 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 180 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 181 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 182code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 183 at file:///work/apps/backend/diff.ts:48:56
- 184 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 185 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 186 at file:///work/apps/backend/code-index/build.ts:46:88
- 187 at Array.map (<anonymous>)
- 188 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 189 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 190 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 191 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 192 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 193✔ a human push that lands a pull request is captured once as landed work, and a push refs found is not (97.995396ms)
- 194code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 195 at file:///work/apps/backend/diff.ts:48:56
- 196 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 197 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 198 at file:///work/apps/backend/code-index/build.ts:46:88
- 199 at Array.map (<anonymous>)
- 200 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 201 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 202 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 203 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 204 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 205code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 206 at file:///work/apps/backend/diff.ts:48:56
- 207 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 208 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 209 at file:///work/apps/backend/code-index/build.ts:46:88
- 210 at Array.map (<anonymous>)
- 211 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 212 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 213 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 214 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 215 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 216ref sweep: 1 repos checked, 0 seeded, 2 mismatched refs enqueued
- 217code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 218 at file:///work/apps/backend/diff.ts:48:56
- 219 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 220 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 221 at file:///work/apps/backend/code-index/build.ts:46:88
- 222 at Array.map (<anonymous>)
- 223 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 224 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 225 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 226 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 227 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 228ref sweep: 1 repos checked, 0 seeded, 0 mismatched refs enqueued
- 229ref sweep seeded 2 refs of repo repo without replaying them
- 230ref sweep: 1 repos checked, 1 seeded, 0 mismatched refs enqueued
- 231ref sweep: 1 repos checked, 0 seeded, 0 mismatched refs enqueued
- 232code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 233 at file:///work/apps/backend/diff.ts:48:56
- 234 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 235 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 236 at file:///work/apps/backend/code-index/build.ts:46:88
- 237 at Array.map (<anonymous>)
- 238 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 239 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 240 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 241 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 242 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 243code map failed for repo repo at bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb TypeError: handle.readTree is not a function
- 244 at file:///work/apps/backend/diff.ts:48:56
- 245 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 246 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 247 at file:///work/apps/backend/code-index/build.ts:46:88
- 248 at Array.map (<anonymous>)
- 249 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 250 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 251 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 252 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 253 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 254✔ an indexed push is captured with its commit and decision counts, and a push refs found is not (131.150892ms)
- 255✔ a human push to any branch indexes its decisions, with no session (38.874529ms)
- 256✔ a merge into the default branch changes no task, even when the pull request names one with a closing keyword (49.786164ms)
- 257✔ pushes whose messages were lost are found by the sweep and processed once, as refs (54.524596ms)
- 258✔ the first sweep of a repository records its tips without replaying them (41.10689ms)
- 259✔ a push processed after a later one does not move its ref back (43.24009ms)
- 260✔ parses branches, tags and HEAD from a v0 advertisement (3.413372ms)
- 261✔ returns no refs for an empty repository (0.48797ms)
- 262✔ repository imports classify the provider without sending source URLs or account details (64.595411ms)
- 263✔ agent repository work remains separate from human activity (0.90902ms)
- 264✔ provisioning failures use fixed reason codes without claiming a repository exists (0.568141ms)
- 265✔ anonymous repository activity is not captured (0.4888ms)
- 266CIMD (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
- 267✔ connect and take keep the token out of the text for the credential helper, and in it for clients without one (115.805715ms)
- 268✔ refs_take hands a session a named branch or a pull request's branch, and never the default branch (76.133947ms)
- 269✔ refs_take on a pull request takes its head branch (84.95033ms)
- 270✔ an agent sees the pull requests of its branch, and no others, and reads tasks like its human (1.033171ms)
- 271✔ refs_open_pull needs a held branch (40.267739ms)
- 272✔ refs_view_pull needs a held branch with an open pull request (36.922938ms)
- 273✔ two refs_events calls at the same time hand an update to only one of them (44.503191ms)
- 274✔ refs_connect names the session outside the text, both for a new session and for a reconnect (41.53085ms)
- 275✔ a new repository's first commit holds the agent set-up files, readable by git (135.275675ms)
- 276✔ a thread anchors to lines or to a decision, never both or neither (36.220487ms)
- 277✔ a pushed decision that supersedes a steered one marks its open threads addressed (39.850119ms)
- 278✔ a branched pull request knows where it started, and its source lists it (36.027257ms)
- 279✔ a new task gets its number, its opened event and its labels in one write (37.998658ms)
- 280✔ a pull request and its commits name the agent that opened and pushed them (33.907136ms)
- 281✔ a private repository is visible only to members of its namespace (48.542013ms)
- 282✔ anyone can read another namespace's public repository, but only members write to it (38.849359ms)
- 283✔ each namespace has its own repository names (41.42224ms)
- 284✔ task lists and labels stay inside their namespace (46.556492ms)
- 285✔ git URLs name the namespace and the repository (1.14375ms)
- 286✔ a handle must be a lowercase slug that no route uses (0.68063ms)
- 287✔ activating a waitlisted user creates their namespace once, and only then can they hold a session (65.899531ms)
- 288✔ an organization's owner manages its members (38.447278ms)
- 289✔ an agent grant stops granting repository access once its expiry time passes (1.518891ms)
- 290✔ CI runs and secrets stay inside their repository and namespace (143.928099ms)
- 291✔ the pipeline from the design page parses (15.978528ms)
- 292✔ a pipeline without on runs on every push, pull request and manual start (0.837181ms)
- 293✔ on lists only the triggers it names (1.27973ms)
- 294✔ a step is named after the first line of its command (2.128491ms)
- 295✔ images: built-in and dated built-in; an unknown image is refused (1.771951ms)
- 296✔ a job names the secrets it gets, in secret-name form (1.673801ms)
- 297✔ every problem is reported with its path, not only the first (1.769251ms)
- 298✔ needs must name other jobs and must not form a cycle (2.563891ms)
- 299✔ YAML that does not parse, a duplicate key, and a file that is not a mapping are invalid (3.256312ms)
- 300✔ on is a key, not the YAML 1.1 boolean (1.254881ms)
- 301✔ a file over 64 KB is refused before parsing (0.40422ms)
- 302✔ an agent job names a hosted agent and an optional prompt, and takes no container keys (2.879631ms)
- 303✔ a new run is queued and starts only the jobs that need nothing (4.440652ms)
- 304✔ a job starts when every job it needs succeeds, and the run succeeds at the end (0.909121ms)
- 305✔ a failure skips every job after it, in one advance (0.62614ms)
- 306✔ an environment that needs approval holds the job until a person approves (0.76058ms)
- 307✔ a rejected deploy cancels the job, and a closed environment fails it with the reason (0.482601ms)
- 308✔ cancel stops live jobs, and a late exit after it is ignored (0.34488ms)
- 309✔ a job that waits for its image moves on when the image is ready, or fails with the build (0.38824ms)
- 310✔ a move the rules do not allow throws (0.886611ms)
- 311✔ saved records load back into the same run (1.21514ms)
- 312✔ trust follows who started the run (1.429821ms)
- 313✔ an environment gate checks existence, branch, trust and approval, in that order (0.41729ms)
- 314✔ branch patterns: * stays in one segment, ** crosses segments, the rest is literal (0.3132ms)
- 315✔ a run ID is stable for one commit and config, and changes with either (20.89378ms)
- 316✔ a run ID fits a Workflow instance ID even for a long repo name (1.974561ms)
- 317✔ the batcher keeps order, splits on step changes and flushes the rest (8.896254ms)
- 318✔ a failed send is dropped and later output still goes out (0.83528ms)
- 319✔ a sealed secret opens with the same scope (24.527051ms)
- 320✔ sealing twice gives different ciphertexts (3.064421ms)
- 321✔ a sealed secret copied to another repo, environment or name does not open (2.731622ms)
- 322✔ another master key cannot open it, and a bad master key is refused (2.865831ms)
- 323✔ the masker hides a secret and its encoded forms (1.252771ms)
- 324✔ the masker finds a secret split across chunks (0.39813ms)
- 325✔ the masker hides each line of a secret that spans lines, and ignores very short secrets (0.60367ms)
- 326✔ the masker sends a very long line in parts instead of holding it (0.579931ms)
- 327✔ the CI tables accept a run and refuse a secret name that is not upper snake case (33.578386ms)
- 328✔ a job gets only the secrets it names: environment over repository over organization, and environment secrets only when allowed (49.556553ms)
- 329✔ the gh-style commands read the repository from the clone, print JSON for agents, and never merge without a terminal (1344.025531ms)
- 330✖ the MCP proxy hands refs_take's token to git's credential helper, never to the model, and takes it back on release (355.209029ms)
- 331✔ outside a refs clone, the MCP server answers on its own, offers no tools and never calls refs (237.350243ms)
- 332✔ with no session token, the credential helper answers git with your own sign-in, but only when it has the git scope (350.414607ms)
- 333✔ the credential helper gives a session token only to git that the agent runs, and your sign-in to everyone else (372.625148ms)
- 334✔ refs update keeps the installed CLI when the download is cut off (227.009889ms)
- 335✔ refs update keeps the installed CLI when the checksum does not match (151.651553ms)
- 336✔ refs update replaces the CLI when the download is whole and matches its checksum (188.41917ms)
- 337✔ a failed step fails, the steps before it succeed and the steps after it are skipped (2.807731ms)
- 338✔ in a running job the last started step runs and later steps wait (0.36295ms)
- 339✔ a cancelled job marks the step it stopped in, and a job that never ran skips every step (0.32401ms)
- 340✔ a newer run of the branch replaces an older failure, and a cancelled run does not count (1.67154ms)
- 341✔ parses a full decision record (4.977522ms)
- 342✔ a plain commit message has no decisions (0.25942ms)
- 343✔ reports missing, unknown and malformed fields (0.319601ms)
- 344✔ rejects tabs, unclosed blocks and mixed nesting (2.204001ms)
- 345✔ checks duplicates and supersedes across a push (0.56179ms)
- 346✔ reviews pushed commits into records to index and problems that reject the push (1.133221ms)
- 347✔ a strict review refuses a record that does not say what it costs to reverse (0.61836ms)
- 348✔ net decisions leave out a superseded decision and a repeated sentence (0.42295ms)
- 349✔ derives a stable, valid id from the commit and the block's position (0.47193ms)
- 350✔ supersedes names a decision by id, or by its commit and block number (0.41742ms)
- 351✔ an old record that names a task is still valid, and the task is not kept (0.75509ms)
- 352✔ narrative keeps the body and drops the subject and decision blocks (0.40289ms)
- 353✔ a commit with more decision blocks than allowed is refused, and no block past the cap gets an id (0.619131ms)
- 354✔ narrative drops trailing git trailers and collapses runs of blank lines (0.10423ms)
- 355✔ sessions may only update their own branch (1.252221ms)
- 356✔ a session without a branch claims a new one by pushing it, but never the default branch (0.59035ms)
- 357✔ describes each delivery as an instruction the agent can act on (0.868611ms)
- 358✔ hook output adds context for the hook's event, or nothing (1.08856ms)
- 359ℹ tests 203
- 360ℹ suites 0
- 361ℹ pass 202
- 362ℹ fail 1
- 363ℹ cancelled 0
- 364ℹ skipped 0
- 365ℹ todo 0
- 366ℹ duration_ms 19866.173353
- 367
- 368✖ failing tests:
- 369
- 370test at apps/cli/test/credential.test.ts:18:1
- 371✖ the MCP proxy hands refs_take's token to git's credential helper, never to the model, and takes it back on release (355.209029ms)
- 372 Error: Command failed: git -C /tmp/refs-cli-acLz3W/clone credential fill
- 373 at genericNodeError (node:internal/errors:986:15)
- 374 at wrappedFn (node:internal/errors:540:14)
- 375 at checkExecSyncError (node:child_process:1010:11)
- 376 at execFileSync (node:child_process:1046:15)
- 377 at git (file:///work/apps/cli/test/credential.test.ts:15:10)
- 378 at fill (file:///work/apps/cli/test/credential.test.ts:54:22)
- 379 at TestContext.<anonymous> (file:///work/apps/cli/test/credential.test.ts:61:16)
- 380 at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
- 381 at async Test.run (node:internal/test_runner/test:1439:7)
- 382 at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) {
- 383 status: 128,
- 384 signal: null,
- 385 output: [ null, '', null ],
- 386 pid: 447,
- 387 stdout: '',
- 388 stderr: null
- 389 }