Push
Failedmaina3f4aecstartedThis 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 12snodeFailedStep 2 (Test) exited with 1.
testFailed
Set up job5s
- 1Checked out refs/heads/main at a3f4aec
Install37s
- 1
- 2added 203 packages in 36s
- 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.
Test30s
- 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 (186.372439ms)
- 6✔ a commit with a record, or with none, lands and its ids are reported (114.869585ms)
- 7✔ a push after the task branch was merged checks only its new commits, not the default branch's history (56.950997ms)
- 8✔ a branch that moved during the check refuses the push and still releases the quarantine (60.996349ms)
- 9✔ an agent mention counts only outside code and as a whole handle (3.387372ms)
- 10✔ each built-in agent has a handle that a mention finds (1.03323ms)
- 11✔ the changed declarations list each touched symbol with how often it is used (23.745522ms)
- 12✔ the run list shows who started each run, where it stands, and the steps of a working run (50.698234ms)
- 13✔ a dead run is marked failed once, and a run that already ended stays as it is (51.409465ms)
- 14✔ a hosted agent's mention shows its handle and its latest step, and a connected agent's mention does not (50.416164ms)
- 15✔ delivery uses stable identity and an explicit property allowlist (79.057307ms)
- 16✔ approval is not attributed as activity by the account holder (0.993031ms)
- 17✔ disabled, incomplete, or untrusted configuration sends nothing (0.88839ms)
- 18✔ delivery does not wait for PostHog before returning (0.731451ms)
- 19✔ network failures are contained and do not log private details (1.22728ms)
- 20✔ HTTP failures are contained without logging response bodies (1.228661ms)
- 21✔ EU delivery is supported and separate captures have separate identifiers (0.98438ms)
- 22CIMD (Client ID Metadata Document) is disabled: add '"compatibility_flags": ["global_fetch_strictly_public"]' to your wrangler.jsonc to enable. See: https://developers.cloudflare.com/workers/configuration/compatibility-flags/#global-fetch-strictly-public
- 23✔ the CLI's repository routes act as the person only for a sign-in with the git scope (136.447535ms)
- 24✔ an outline finds top-level declarations with their line ranges (17.940379ms)
- 25✔ an outline finds class members and marks `this.` uses as member uses (2.229011ms)
- 26✔ an outline reads JSX tags as uses and does not mistake `</` or `/>` for a regular expression (5.035882ms)
- 27✔ the graph resolves uses across relative imports, re-exports and workspace packages (23.934372ms)
- 28✔ a package's exports map becomes repository paths (1.21873ms)
- 29✔ indexing a commit reads its source files and skips dependencies and declaration files (3.851451ms)
- 30✔ a commit's map is built once, then read back from storage (177.087474ms)
- 31✔ a build that never finished is taken over, and an empty commit is stored as empty (45.700362ms)
- 32✔ code changes place added lines and removed lines on the head version (2.854572ms)
- 33✔ delivers pushes to the current task branch by others, never the session's own (3.226551ms)
- 34✔ an idle session receives no pushes (0.4263ms)
- 35✔ delivers problems only to the session that pushed the commit (0.72969ms)
- 36✔ delivers instructions and stop only to the session they address, idle or not (0.49312ms)
- 37✔ delivers mentions to the session they name (0.60203ms)
- 38✔ tells the parent session when its sub-agent finishes (0.65802ms)
- 39✔ diff rows number both sides, deletions before additions (4.425622ms)
- 40✔ counts a small change in a large file exactly (11.441985ms)
- 41✔ a selected range covers the rows between its ends across both sides (1.454811ms)
- 42✔ finds the nearest common ancestor (1.672481ms)
- 43✔ compares trees and blobs with file totals (2.867611ms)
- 44✔ a branch that merged its base lists only its own commits (2.07884ms)
- 45✔ commits made in the same second still list oldest first (1.95073ms)
- 46✔ each commit on a branch lists the paths it changed against its first parent (1.52373ms)
- 47✔ remembered reads stay inside their repository (1.896001ms)
- 48✔ a person directing a live agent is captured once per mention, without the mention text (155.966085ms)
- 49✔ an agent mentioning another agent is not human direction (72.607294ms)
- 50✔ hashes objects as git does (27.358553ms)
- 51✔ orders a directory as if its name ended in a slash (2.580542ms)
- 52✔ writes a version 2 pack with a trailing checksum (88.920192ms)
- 53✔ reads a receive-pack report (2.012831ms)
- 54✔ merges trees path by path and reports files both sides changed (6.795493ms)
- 55✔ a committed batch hints each stream's repository once, with its newest event (49.960504ms)
- 56✔ a single recorded event hints after it runs (48.795433ms)
- 57✔ a failed batch hints nothing (49.283494ms)
- 58✔ reading an event statement with first() fails instead of skipping its hint (50.240444ms)
- 59✔ attributes each entry to the newest commit that changed it (2.668581ms)
- 60✔ leaves entries unattributed when history beyond the log is unavailable (0.75775ms)
- 61✔ pages through history until every entry is attributed (0.980971ms)
- 62✔ commit history retains the full message for reasoning (0.42347ms)
- 63✔ reasoning history keeps page boundaries and newest-first order (1.895051ms)
- 64✔ a repository agent replaces the shared and built-in agent of the same handle (54.051826ms)
- 65✔ a working key is tested, sealed, kept on a later edit, and opened for runs (243.120106ms)
- 66✔ a rejected key is not stored and the error never shows the key (49.555794ms)
- 67✔ only a person with edit rights changes agents, and bad input is refused before any request (54.229436ms)
- 68✔ provider errors name the problem without the key (0.82916ms)
- 69✔ an email has a text and an escaped HTML body with its link (3.627392ms)
- 70✔ escapes raw HTML (13.194237ms)
- 71✔ neutralises dangerous link schemes and keeps safe ones (17.443528ms)
- 72✔ routes relative links and images through the resolver (3.660992ms)
- 73✔ firstInvalid reports the first failed field in the order given, or nothing when all pass (3.048381ms)
- 74CIMD (Client ID Metadata Document) is disabled: add '"compatibility_flags": ["global_fetch_strictly_public"]' to your wrangler.jsonc to enable. See: https://developers.cloudflare.com/workers/configuration/compatibility-flags/#global-fetch-strictly-public
- 75✔ pendingPermissions hides a decided request, and deciding twice is a no-op (51.647965ms)
- 76✔ refs_approve returns the decision recorded in permission_requests (75.555556ms)
- 77✔ a verdict given while the waiter was gone reaches the retry, and only for the input it was asked about (45.988542ms)
- 78✔ expiry denies approvals past their window once, drops them from the portal, and names the next deadline (53.436865ms)
- 79✔ connect records the session's start event on the session (59.853959ms)
- 80✔ no hot session or approval query scans a table (76.306436ms)
- 81✔ the migration backfills start events and permission requests, and can run again (14.608177ms)
- 82CIMD (Client ID Metadata Document) is disabled: add '"compatibility_flags": ["global_fetch_strictly_public"]' to your wrangler.jsonc to enable. See: https://developers.cloudflare.com/workers/configuration/compatibility-flags/#global-fetch-strictly-public
- 83✔ consecutive MCP calls within a minute write last_seen_at once (48.005463ms)
- 84✔ a PAT used for several git requests within a minute writes last_used_at once (202.570566ms)
- 85✔ the refs CLI sign-in works as the human for git only when its grant has the git scope (52.387255ms)
- 86✔ a mention asks the hub, not the machines projection, whether the machine is connected (51.701195ms)
- 87✔ a hub that fails after the mention is saved does not fail the comment that made it (47.980143ms)
- 88✔ assigning on a pull request hands the agent its branch, never the default branch (94.816806ms)
- 89✔ the SessionEnd hook takes the conversation's session offline without ending it (50.291104ms)
- 90✔ revoking one agent grant ends only the sessions that grant started, and sessions with no recorded grant (45.433751ms)
- 91CIMD (Client ID Metadata Document) is disabled: add '"compatibility_flags": ["global_fetch_strictly_public"]' to your wrangler.jsonc to enable. See: https://developers.cloudflare.com/workers/configuration/compatibility-flags/#global-fetch-strictly-public
- 92✔ creation and import are captured only after storage and the domain event succeed (315.982091ms)
- 93✔ storage failure captures failure, rolls back the repository, and emits no success (58.761118ms)
- 94✔ validation failures do not become storage attempts or successful adoption (55.591786ms)
- 95✔ a name conflict emits a conflict outcome without a second success (61.868109ms)
- 96✔ a failed domain event write does not emit a provisioning success (50.971235ms)
- 97✔ forks use a separate entry path rather than counting as imports or new projects (60.577279ms)
- 98✔ reads ref updates up to the flush packet (4.152882ms)
- 99✔ asks for more bytes when the command list is cut off (0.85489ms)
- 100✔ rejects a push with a reason per ref, inside side-band when the client asked for it (96.447116ms)
- 101✔ reports ok and ng per ref, with remote: lines on side-band 2 before the status (4.101192ms)
- 102✔ reads a plain receive-pack report (1.545711ms)
- 103✔ drops a prefix that spans chunks (11.811286ms)
- 104code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 105 at file:///work/apps/backend/diff.ts:48:56
- 106 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 107 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 108 at file:///work/apps/backend/code-index/build.ts:46:88
- 109 at Array.map (<anonymous>)
- 110 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 111 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 112 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 113 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 114 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 115code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 116 at file:///work/apps/backend/diff.ts:48:56
- 117 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 118 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 119 at file:///work/apps/backend/code-index/build.ts:46:88
- 120 at Array.map (<anonymous>)
- 121 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 122 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 123 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 124 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 125 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 126push failed on attempt 1, retrying: repo repo refs/heads/main 3333333333333333333333333333333333333333 Error: Artifacts unavailable
- 127 at Object.get (file:///work/apps/backend/test/pushes.test.ts:56:35)
- 128 at detectMerges (file:///work/apps/backend/pushes.ts:160:38)
- 129 at async processPush (file:///work/apps/backend/pushes.ts:53:3)
- 130 at async consumePushes (file:///work/apps/backend/pushes.ts:145:13)
- 131 at async deliver (file:///work/apps/backend/test/pushes.test.ts:67:3)
- 132 at async TestContext.<anonymous> (file:///work/apps/backend/test/pushes.test.ts:113:16)
- 133 at async Test.run (node:internal/test_runner/test:1439:7)
- 134 at async Test.processPendingSubtests (node:internal/test_runner/test:1004:7)
- 135code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 136 at file:///work/apps/backend/diff.ts:48:56
- 137 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 138 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 139 at file:///work/apps/backend/code-index/build.ts:46:88
- 140 at Array.map (<anonymous>)
- 141 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 142 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 143 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 144 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 145 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 146code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 147 at file:///work/apps/backend/diff.ts:48:56
- 148 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 149 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 150 at file:///work/apps/backend/code-index/build.ts:46:88
- 151 at Array.map (<anonymous>)
- 152 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 153 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 154 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 155 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 156 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 157code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 158 at file:///work/apps/backend/diff.ts:48:56
- 159 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 160 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 161 at file:///work/apps/backend/code-index/build.ts:46:88
- 162 at Array.map (<anonymous>)
- 163 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 164 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 165 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 166 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 167 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 168✔ a push delivered twice, by a session that has since ended, has its consequences once (143.816539ms)
- 169✔ a push asks CI for the pipeline at its branch tip, and a CI failure does not fail the push (56.225577ms)
- 170✔ a push whose processing fails is retried until the pull request is merged and its decisions indexed (50.870374ms)
- 171✔ a push is indexed under the session that pushed it, even after the session ended (51.142924ms)
- 172code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 173 at file:///work/apps/backend/diff.ts:48:56
- 174 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 175 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 176 at file:///work/apps/backend/code-index/build.ts:46:88
- 177 at Array.map (<anonymous>)
- 178 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 179 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 180 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 181 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 182 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 183code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 184 at file:///work/apps/backend/diff.ts:48:56
- 185 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 186 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 187 at file:///work/apps/backend/code-index/build.ts:46:88
- 188 at Array.map (<anonymous>)
- 189 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 190 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 191 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 192 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 193 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 194✔ a human push that lands a pull request is captured once as landed work, and a push refs found is not (133.658134ms)
- 195code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 196 at file:///work/apps/backend/diff.ts:48:56
- 197 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 198 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 199 at file:///work/apps/backend/code-index/build.ts:46:88
- 200 at Array.map (<anonymous>)
- 201 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 202 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 203 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 204 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 205 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 206code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 207 at file:///work/apps/backend/diff.ts:48:56
- 208 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 209 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 210 at file:///work/apps/backend/code-index/build.ts:46:88
- 211 at Array.map (<anonymous>)
- 212 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 213 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 214 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 215 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 216 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 217ref sweep: 1 repos checked, 0 seeded, 2 mismatched refs enqueued
- 218code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 219 at file:///work/apps/backend/diff.ts:48:56
- 220 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 221 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 222 at file:///work/apps/backend/code-index/build.ts:46:88
- 223 at Array.map (<anonymous>)
- 224 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 225 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 226 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 227 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 228 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 229ref sweep: 1 repos checked, 0 seeded, 0 mismatched refs enqueued
- 230ref sweep seeded 2 refs of repo repo without replaying them
- 231ref sweep: 1 repos checked, 1 seeded, 0 mismatched refs enqueued
- 232ref sweep: 1 repos checked, 0 seeded, 0 mismatched refs enqueued
- 233code map failed for repo repo at 3333333333333333333333333333333333333333 TypeError: handle.readTree is not a function
- 234 at file:///work/apps/backend/diff.ts:48:56
- 235 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 236 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 237 at file:///work/apps/backend/code-index/build.ts:46:88
- 238 at Array.map (<anonymous>)
- 239 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 240 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 241 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 242 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 243 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 244code map failed for repo repo at bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb TypeError: handle.readTree is not a function
- 245 at file:///work/apps/backend/diff.ts:48:56
- 246 at remembered (file:///work/apps/backend/diff.ts:32:19)
- 247 at readTree (file:///work/apps/backend/diff.ts:48:10)
- 248 at file:///work/apps/backend/code-index/build.ts:46:88
- 249 at Array.map (<anonymous>)
- 250 at walk (file:///work/apps/backend/code-index/build.ts:46:43)
- 251 at indexCommit (file:///work/apps/backend/code-index/build.ts:33:23)
- 252 at async buildCodeMap (file:///work/apps/backend/code-maps.ts:37:19)
- 253 at async indexPushedTips (file:///work/apps/backend/code-maps.ts:57:65)
- 254 at async processPush (file:///work/apps/backend/pushes.ts:56:3)
- 255✔ an indexed push is captured with its commit and decision counts, and a push refs found is not (146.86019ms)
- 256✔ a human push to any branch indexes its decisions, with no session (49.909354ms)
- 257✔ a merge into the default branch changes no task, even when the pull request names one with a closing keyword (47.677583ms)
- 258✔ pushes whose messages were lost are found by the sweep and processed once, as refs (61.896189ms)
- 259✔ the first sweep of a repository records its tips without replaying them (51.833804ms)
- 260✔ a push processed after a later one does not move its ref back (51.527075ms)
- 261✔ parses branches, tags and HEAD from a v0 advertisement (4.806332ms)
- 262✔ returns no refs for an empty repository (1.02729ms)
- 263✔ repository imports classify the provider without sending source URLs or account details (68.859873ms)
- 264✔ agent repository work remains separate from human activity (1.115261ms)
- 265✔ provisioning failures use fixed reason codes without claiming a repository exists (0.62457ms)
- 266✔ anonymous repository activity is not captured (0.594621ms)
- 267CIMD (Client ID Metadata Document) is disabled: add '"compatibility_flags": ["global_fetch_strictly_public"]' to your wrangler.jsonc to enable. See: https://developers.cloudflare.com/workers/configuration/compatibility-flags/#global-fetch-strictly-public
- 268✔ connect and take keep the token out of the text for the credential helper, and in it for clients without one (135.997785ms)
- 269✔ refs_take hands a session a named branch or a pull request's branch, and never the default branch (90.353523ms)
- 270✔ refs_take on a pull request takes its head branch (121.350468ms)
- 271✔ an agent sees the pull requests of its branch, and no others, and reads tasks like its human (1.209841ms)
- 272✔ refs_open_pull needs a held branch (53.444965ms)
- 273✔ refs_view_pull needs a held branch with an open pull request (55.578416ms)
- 274✔ two refs_events calls at the same time hand an update to only one of them (56.449137ms)
- 275✔ refs_connect names the session outside the text, both for a new session and for a reconnect (52.294415ms)
- 276✔ a new repository's first commit holds the agent set-up files, readable by git (200.411576ms)
- 277✔ a thread anchors to lines or to a decision, never both or neither (45.720842ms)
- 278✔ a pushed decision that supersedes a steered one marks its open threads addressed (47.084763ms)
- 279✔ a branched pull request knows where it started, and its source lists it (47.547662ms)
- 280✔ a new task gets its number, its opened event and its labels in one write (46.281782ms)
- 281✔ a pull request and its commits name the agent that opened and pushed them (45.635131ms)
- 282✔ a private repository is visible only to members of its namespace (60.077799ms)
- 283✔ anyone can read another namespace's public repository, but only members write to it (39.693909ms)
- 284✔ each namespace has its own repository names (42.04203ms)
- 285✔ task lists and labels stay inside their namespace (46.058662ms)
- 286✔ git URLs name the namespace and the repository (1.09582ms)
- 287✔ a handle must be a lowercase slug that no route uses (0.41716ms)
- 288✔ activating a waitlisted user creates their namespace once, and only then can they hold a session (73.102785ms)
- 289✔ an organization's owner manages its members (41.51668ms)
- 290✔ an agent grant stops granting repository access once its expiry time passes (1.502771ms)
- 291✔ CI runs and secrets stay inside their repository and namespace (223.497147ms)
- 292✔ the pipeline from the design page parses (30.266884ms)
- 293✔ a pipeline without on runs on every push, pull request and manual start (1.788571ms)
- 294✔ on lists only the triggers it names (2.482861ms)
- 295✔ a step is named after the first line of its command (3.701932ms)
- 296✔ images: built-in and dated built-in; an unknown image is refused (2.262701ms)
- 297✔ a job names the secrets it gets, in secret-name form (3.641282ms)
- 298✔ every problem is reported with its path, not only the first (3.072011ms)
- 299✔ needs must name other jobs and must not form a cycle (4.947633ms)
- 300✔ YAML that does not parse, a duplicate key, and a file that is not a mapping are invalid (5.988353ms)
- 301✔ on is a key, not the YAML 1.1 boolean (1.34878ms)
- 302✔ a file over 64 KB is refused before parsing (0.38014ms)
- 303✔ an agent job names a hosted agent and an optional prompt, and takes no container keys (6.372723ms)
- 304✔ a new run is queued and starts only the jobs that need nothing (5.025613ms)
- 305✔ a job starts when every job it needs succeeds, and the run succeeds at the end (1.431301ms)
- 306✔ a failure skips every job after it, in one advance (0.86874ms)
- 307✔ an environment that needs approval holds the job until a person approves (0.895641ms)
- 308✔ a rejected deploy cancels the job, and a closed environment fails it with the reason (0.62052ms)
- 309✔ cancel stops live jobs, and a late exit after it is ignored (0.3609ms)
- 310✔ a job that waits for its image moves on when the image is ready, or fails with the build (0.39358ms)
- 311✔ a move the rules do not allow throws (1.08922ms)
- 312✔ saved records load back into the same run (1.192651ms)
- 313✔ trust follows who started the run (1.06325ms)
- 314✔ an environment gate checks existence, branch, trust and approval, in that order (0.37573ms)
- 315✔ branch patterns: * stays in one segment, ** crosses segments, the rest is literal (0.27484ms)
- 316✔ a run ID is stable for one commit and config, and changes with either (24.360262ms)
- 317✔ a run ID fits a Workflow instance ID even for a long repo name (4.676472ms)
- 318✔ the batcher keeps order, splits on step changes and flushes the rest (11.953225ms)
- 319✔ a failed send is dropped and later output still goes out (1.741841ms)
- 320✔ a sealed secret opens with the same scope (30.120604ms)
- 321✔ sealing twice gives different ciphertexts (3.793402ms)
- 322✔ a sealed secret copied to another repo, environment or name does not open (4.214532ms)
- 323✔ another master key cannot open it, and a bad master key is refused (4.013412ms)
- 324✔ the masker hides a secret and its encoded forms (1.483421ms)
- 325✔ the masker finds a secret split across chunks (0.5196ms)
- 326✔ the masker hides each line of a secret that spans lines, and ignores very short secrets (1.16678ms)
- 327✔ the masker sends a very long line in parts instead of holding it (0.86387ms)
- 328✔ the CI tables accept a run and refuse a secret name that is not upper snake case (47.125022ms)
- 329✔ a job gets only the secrets it names: environment over repository over organization, and environment secrets only when allowed (61.905629ms)
- 330✔ the gh-style commands read the repository from the clone, print JSON for agents, and never merge without a terminal (1683.876483ms)
- 331✖ the MCP proxy hands refs_take's token to git's credential helper, never to the model, and takes it back on release (504.73956ms)
- 332✔ outside a refs clone, the MCP server answers on its own, offers no tools and never calls refs (362.660203ms)
- 333✔ with no session token, the credential helper answers git with your own sign-in, but only when it has the git scope (495.707107ms)
- 334✔ the credential helper gives a session token only to git that the agent runs, and your sign-in to everyone else (538.632657ms)
- 335✔ refs update keeps the installed CLI when the download is cut off (333.035459ms)
- 336✔ refs update keeps the installed CLI when the checksum does not match (282.149274ms)
- 337✔ refs update replaces the CLI when the download is whole and matches its checksum (361.477943ms)
- 338✔ a failed step fails, the steps before it succeed and the steps after it are skipped (5.355343ms)
- 339✔ in a running job the last started step runs and later steps wait (0.5254ms)
- 340✔ a cancelled job marks the step it stopped in, and a job that never ran skips every step (0.83184ms)
- 341✔ a newer run of the branch replaces an older failure, and a cancelled run does not count (1.788421ms)
- 342✔ parses a full decision record (8.169584ms)
- 343✔ a plain commit message has no decisions (0.57371ms)
- 344✔ reports missing, unknown and malformed fields (0.530211ms)
- 345✔ rejects tabs, unclosed blocks and mixed nesting (4.724082ms)
- 346✔ checks duplicates and supersedes across a push (1.210601ms)
- 347✔ reviews pushed commits into records to index and problems that reject the push (2.022371ms)
- 348✔ a strict review refuses a record that does not say what it costs to reverse (0.93156ms)
- 349✔ net decisions leave out a superseded decision and a repeated sentence (0.875471ms)
- 350✔ derives a stable, valid id from the commit and the block's position (0.75547ms)
- 351✔ supersedes names a decision by id, or by its commit and block number (0.690721ms)
- 352✔ an old record that names a task is still valid, and the task is not kept (1.951781ms)
- 353✔ narrative keeps the body and drops the subject and decision blocks (0.70243ms)
- 354✔ a commit with more decision blocks than allowed is refused, and no block past the cap gets an id (1.305241ms)
- 355✔ narrative drops trailing git trailers and collapses runs of blank lines (0.19705ms)
- 356✔ sessions may only update their own branch (2.154712ms)
- 357✔ a session without a branch claims a new one by pushing it, but never the default branch (1.089311ms)
- 358✔ describes each delivery as an instruction the agent can act on (1.25565ms)
- 359✔ hook output adds context for the hook's event, or nothing (1.660361ms)
- 360ℹ tests 204
- 361ℹ suites 0
- 362ℹ pass 203
- 363ℹ fail 1
- 364ℹ cancelled 0
- 365ℹ skipped 0
- 366ℹ todo 0
- 367ℹ duration_ms 28307.966398
- 368
- 369✖ failing tests:
- 370
- 371test at apps/cli/test/credential.test.ts:18:1
- 372✖ the MCP proxy hands refs_take's token to git's credential helper, never to the model, and takes it back on release (504.73956ms)
- 373 Error: Command failed: git -C /tmp/refs-cli-4u2RaJ/clone credential fill
- 374 at genericNodeError (node:internal/errors:986:15)
- 375 at wrappedFn (node:internal/errors:540:14)
- 376 at checkExecSyncError (node:child_process:1010:11)
- 377 at execFileSync (node:child_process:1046:15)
- 378 at git (file:///work/apps/cli/test/credential.test.ts:15:10)
- 379 at fill (file:///work/apps/cli/test/credential.test.ts:54:22)
- 380 at TestContext.<anonymous> (file:///work/apps/cli/test/credential.test.ts:61:16)
- 381 at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
- 382 at async Test.run (node:internal/test_runner/test:1439:7)
- 383 at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) {
- 384 status: 128,
- 385 signal: null,
- 386 output: [ null, '', null ],
- 387 pid: 447,
- 388 stdout: '',
- 389 stderr: null
- 390 }