Push
Failedmaind51b0e1started by AmanJobs
- test33snodeFailedStep 2 (Test) exited with 1.
testFailed
Set up job5s
- 1Checked out refs/heads/main at d51b0e1
Install15s
- 1
- 2added 203 packages in 14s
- 3npm warn install-scripts 2 packages have install scripts not yet covered by allowScripts:
- 4npm warn install-scripts esbuild@0.28.1 (postinstall: node install.js)
- 5npm warn install-scripts workerd@1.20261001.1 (postinstall: node install.js)
- 6npm warn install-scripts
- 7npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.
Test14s
- 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 (122.756578ms)
- 7✔ a person left on the old waitlist gets their namespace when they sign in (53.808157ms)
- 8✔ only admins open the overview, and it counts people and 30 days (60.970708ms)
- 9✔ a record that does not say what it costs to reverse is refused, and the task branch never moves (78.426686ms)
- 10✔ a commit with a record, or with none, lands and its ids are reported (49.910241ms)
- 11✔ a push after the task branch was merged checks only its new commits, not the default branch's history (25.187991ms)
- 12✔ a branch that moved during the check refuses the push and still releases the quarantine (22.544246ms)
- 13✔ an agent mention counts only outside code and as a whole handle (1.516633ms)
- 14✔ each built-in agent has a handle that a mention finds (0.474071ms)
- 15✔ the changed declarations list each touched symbol with how often it is used (9.089235ms)
- 16✔ the run list shows who started each run, where it stands, and the steps of a working run (22.086366ms)
- 17✔ a dead run is marked failed once, and a run that already ended stays as it is (21.514574ms)
- 18✔ a hosted agent's mention shows its handle and its latest step, and a connected agent's mention does not (25.636571ms)
- 19✔ delivery uses stable identity and an explicit property allowlist (30.69657ms)
- 20✔ approval is not attributed as activity by the account holder (0.365701ms)
- 21✔ disabled, incomplete, or untrusted configuration sends nothing (0.474281ms)
- 22✔ delivery does not wait for PostHog before returning (0.418531ms)
- 23✔ network failures are contained and do not log private details (0.556421ms)
- 24✔ HTTP failures are contained without logging response bodies (0.509621ms)
- 25✔ EU delivery is supported and separate captures have separate identifiers (0.517511ms)
- 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 (67.67212ms)
- 28✔ an outline finds top-level declarations with their line ranges (3.888166ms)
- 29✔ an outline finds class members and marks `this.` uses as member uses (0.874561ms)
- 30✔ an outline reads JSX tags as uses and does not mistake `</` or `/>` for a regular expression (0.740001ms)
- 31✔ the graph resolves uses across relative imports, re-exports and workspace packages (7.835993ms)
- 32✔ a package's exports map becomes repository paths (0.37266ms)
- 33✔ indexing a commit reads its source files and skips dependencies and declaration files (1.587453ms)
- 34✔ a commit's map is built once, then read back from storage (69.161382ms)
- 35✔ a build that never finished is taken over, and an empty commit is stored as empty (20.419472ms)
- 36✔ code changes place added lines and removed lines on the head version (1.119382ms)
- 37✔ delivers pushes to the current task branch by others, never the session's own (1.293593ms)
- 38✔ tells a working session when the default branch moves, so it rebases onto merged work (0.289301ms)
- 39✔ an idle session receives no pushes (0.10879ms)
- 40✔ delivers problems only to the session that pushed the commit (0.238681ms)
- 41✔ delivers instructions and stop only to the session they address, idle or not (0.17488ms)
- 42✔ delivers mentions to the session they name (0.174391ms)
- 43✔ tells the parent session when its sub-agent finishes (0.27884ms)
- 44✔ diff rows number both sides, deletions before additions (1.822253ms)
- 45✔ counts a small change in a large file exactly (4.873818ms)
- 46✔ a selected range covers the rows between its ends across both sides (0.401461ms)
- 47✔ finds the nearest common ancestor (0.706221ms)
- 48✔ compares trees and blobs with file totals (1.087932ms)
- 49✔ a branch that merged its base lists only its own commits (0.619281ms)
- 50✔ commits made in the same second still list oldest first (1.114112ms)
- 51✔ each commit on a branch lists the paths it changed against its first parent (0.623871ms)
- 52✔ remembered reads stay inside their repository (0.937802ms)
- 53✔ a person directing a live agent is captured once per mention, without the mention text (65.016985ms)
- 54✔ an agent mentioning another agent is not human direction (29.214287ms)
- 55✔ hashes objects as git does (10.007956ms)
- 56✔ orders a directory as if its name ended in a slash (1.154662ms)
- 57✔ writes a version 2 pack with a trailing checksum (35.371727ms)
- 58✔ reads a receive-pack report (0.672601ms)
- 59✔ merges trees path by path and reports files both sides changed (3.583046ms)
- 60✔ a committed batch hints each stream's repository once, with its newest event (23.411328ms)
- 61✔ a single recorded event hints after it runs (21.476524ms)
- 62✔ a failed batch hints nothing (23.040627ms)
- 63✔ reading an event statement with first() fails instead of skipping its hint (22.650137ms)
- 64✔ attributes each entry to the newest commit that changed it (1.196682ms)
- 65✔ leaves entries unattributed when history beyond the log is unavailable (0.30958ms)
- 66✔ pages through history until every entry is attributed (0.494001ms)
- 67✔ commit history retains the full message for reasoning (0.252661ms)
- 68✔ reasoning history keeps page boundaries and newest-first order (0.873111ms)
- 69✔ a repository agent replaces the shared and built-in agent of the same handle (23.465028ms)
- 70✔ a working key is tested, sealed, kept on a later edit, and opened for runs (87.392991ms)
- 71✔ a rejected key is not stored and the error never shows the key (20.841294ms)
- 72✔ only a person with edit rights changes agents, and bad input is refused before any request (21.197574ms)
- 73✔ provider errors name the problem without the key (0.24323ms)
- 74✔ an email has a text and an escaped HTML body with its link (1.656942ms)
- 75✔ escapes raw HTML (5.280758ms)
- 76✔ neutralises dangerous link schemes and keeps safe ones (8.763964ms)
- 77✔ routes relative links and images through the resolver (1.418332ms)
- 78✔ firstInvalid reports the first failed field in the order given, or nothing when all pass (1.267102ms)
- 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 (21.391725ms)
- 81✔ refs_approve returns the decision recorded in permission_requests (35.281067ms)
- 82✔ a verdict given while the waiter was gone reaches the retry, and only for the input it was asked about (27.425034ms)
- 83✔ expiry denies approvals past their window once, drops them from the portal, and names the next deadline (24.181729ms)
- 84✔ connect records the session's start event on the session (28.106816ms)
- 85✔ no hot session or approval query scans a table (34.481025ms)
- 86✔ the migration backfills start events and permission requests, and can run again (7.828053ms)
- 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 (23.589909ms)
- 89✔ a PAT used for several git requests within a minute writes last_used_at once (87.365221ms)
- 90✔ the refs CLI sign-in works as the human for git only when its grant has the git scope (25.837572ms)
- 91✔ a mention asks the hub, not the machines projection, whether the machine is connected (22.974877ms)
- 92✔ a hub that fails after the mention is saved does not fail the comment that made it (24.52256ms)
- 93✔ assigning on a pull request hands the agent its branch, never the default branch (44.805872ms)
- 94✔ the SessionEnd hook takes the conversation's session offline without ending it (20.401243ms)
- 95✔ revoking one agent grant ends only the sessions that grant started, and sessions with no recorded grant (20.325473ms)
- 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 (115.381356ms)
- 98✔ storage failure captures failure, rolls back the repository, and emits no success (27.279674ms)
- 99✔ validation failures do not become storage attempts or successful adoption (23.930009ms)
- 100✔ a name conflict emits a conflict outcome without a second success (26.829653ms)
- 101✔ a failed domain event write does not emit a provisioning success (25.366701ms)
- 102✔ forks use a separate entry path rather than counting as imports or new projects (27.073994ms)
- 103✔ reads ref updates up to the flush packet (2.232894ms)
- 104✔ asks for more bytes when the command list is cut off (0.229611ms)
- 105✔ rejects a push with a reason per ref, inside side-band when the client asked for it (42.192498ms)
- 106✔ reports ok and ng per ref, with remote: lines on side-band 2 before the status (1.756943ms)
- 107✔ reads a plain receive-pack report (0.571091ms)
- 108✔ drops a prefix that spans chunks (4.115197ms)
- 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 (74.060599ms)
- 174✔ a push asks CI for the pipeline at its branch tip, and a CI failure does not fail the push (29.275267ms)
- 175✔ a push whose processing fails is retried until the pull request is merged and its decisions indexed (29.069207ms)
- 176✔ a push is indexed under the session that pushed it, even after the session ended (26.907703ms)
- 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 (66.019896ms)
- 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 (79.840809ms)
- 261✔ a human push to any branch indexes its decisions, with no session (24.178389ms)
- 262✔ a merge into the default branch changes no task, even when the pull request names one with a closing keyword (26.638922ms)
- 263✔ pushes whose messages were lost are found by the sweep and processed once, as refs (31.275611ms)
- 264✔ the first sweep of a repository records its tips without replaying them (24.45968ms)
- 265✔ a push processed after a later one does not move its ref back (27.181044ms)
- 266✔ parses branches, tags and HEAD from a v0 advertisement (1.649783ms)
- 267✔ returns no refs for an empty repository (0.24288ms)
- 268✔ repository imports classify the provider without sending source URLs or account details (38.343952ms)
- 269✔ agent repository work remains separate from human activity (0.569581ms)
- 270✔ provisioning failures use fixed reason codes without claiming a repository exists (0.412621ms)
- 271✔ anonymous repository activity is not captured (0.313401ms)
- 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 (71.159745ms)
- 274✔ refs_take hands a session a named branch or a pull request's branch, and never the default branch (39.756524ms)
- 275✔ refs_take on a pull request takes its head branch (62.523921ms)
- 276✔ an agent sees the pull requests of its branch, and no others, and reads tasks like its human (0.640231ms)
- 277✔ refs_open_pull needs a held branch (25.700312ms)
- 278✔ refs_view_pull needs a held branch with an open pull request (26.484823ms)
- 279✔ two refs_events calls at the same time hand an update to only one of them (26.247662ms)
- 280✔ refs_connect names the session outside the text, both for a new session and for a reconnect (26.250403ms)
- 281✔ a new repository's first commit holds the agent set-up files, readable by git (143.427832ms)
- 282✔ a thread anchors to lines or to a decision, never both or neither (24.061839ms)
- 283✔ a pushed decision that supersedes a steered one marks its open threads addressed (22.257006ms)
- 284✔ a branched pull request knows where it started, and its source lists it (24.65918ms)
- 285✔ a new task gets its number, its opened event and its labels in one write (39.471313ms)
- 286✔ a pull request and its commits name the agent that opened and pushed them (25.490991ms)
- 287✔ a private repository is visible only to members of its namespace (28.498676ms)
- 288✔ anyone can read another namespace's public repository, but only members write to it (23.925529ms)
- 289✔ each namespace has its own repository names (21.310815ms)
- 290✔ task lists and labels stay inside their namespace (23.894959ms)
- 291✔ git URLs name the namespace and the repository (0.562681ms)
- 292✔ a handle must be a lowercase slug that no route uses (0.371171ms)
- 293✔ activating a waitlisted user creates their namespace once, and only then can they hold a session (41.701487ms)
- 294✔ an organization's owner manages its members (22.385496ms)
- 295✔ an agent grant stops granting repository access once its expiry time passes (0.622131ms)
- 296✔ CI runs and secrets stay inside their repository and namespace (92.561419ms)
- 297✔ the pipeline from the design page parses (12.892051ms)
- 298✔ a pipeline without on runs on every push, pull request and manual start (0.723541ms)
- 299✔ on lists only the triggers it names (1.140782ms)
- 300✔ a step is named after the first line of its command (1.913743ms)
- 301✔ images: built-in and dated built-in; an unknown image is refused (1.634202ms)
- 302✔ a job names the secrets it gets, in secret-name form (1.354002ms)
- 303✔ every problem is reported with its path, not only the first (1.311562ms)
- 304✔ needs must name other jobs and must not form a cycle (1.959483ms)
- 305✔ YAML that does not parse, a duplicate key, and a file that is not a mapping are invalid (2.180464ms)
- 306✔ on is a key, not the YAML 1.1 boolean (0.539931ms)
- 307✔ a file over 64 KB is refused before parsing (0.17235ms)
- 308✔ an agent job names a hosted agent and an optional prompt, and takes no container keys (2.865155ms)
- 309✔ a new run is queued and starts only the jobs that need nothing (2.743054ms)
- 310✔ a job starts when every job it needs succeeds, and the run succeeds at the end (0.579541ms)
- 311✔ a failure skips every job after it, in one advance (0.336501ms)
- 312✔ an environment that needs approval holds the job until a person approves (0.44853ms)
- 313✔ a rejected deploy cancels the job, and a closed environment fails it with the reason (0.303241ms)
- 314✔ cancel stops live jobs, and a late exit after it is ignored (0.23109ms)
- 315✔ a job that waits for its image moves on when the image is ready, or fails with the build (0.22117ms)
- 316✔ a move the rules do not allow throws (0.569381ms)
- 317✔ saved records load back into the same run (0.610711ms)
- 318✔ trust follows who started the run (1.096022ms)
- 319✔ an environment gate checks existence, branch, trust and approval, in that order (0.330681ms)
- 320✔ branch patterns: * stays in one segment, ** crosses segments, the rest is literal (0.19274ms)
- 321✔ a run ID is stable for one commit and config, and changes with either (12.17242ms)
- 322✔ a run ID fits a Workflow instance ID even for a long repo name (1.861594ms)
- 323✔ the batcher keeps order, splits on step changes and flushes the rest (8.453373ms)
- 324✔ a failed send is dropped and later output still goes out (0.528571ms)
- 325✔ a sealed secret opens with the same scope (15.003724ms)
- 326✔ sealing twice gives different ciphertexts (1.834483ms)
- 327✔ a sealed secret copied to another repo, environment or name does not open (2.444594ms)
- 328✔ another master key cannot open it, and a bad master key is refused (2.437584ms)
- 329✔ the masker hides a secret and its encoded forms (0.749422ms)
- 330✔ the masker finds a secret split across chunks (0.25601ms)
- 331✔ the masker hides each line of a secret that spans lines, and ignores very short secrets (0.552331ms)
- 332✔ the masker sends a very long line in parts instead of holding it (0.34542ms)
- 333✔ the CI tables accept a run and refuse a secret name that is not upper snake case (24.518919ms)
- 334✔ a job gets only the secrets it names: environment over repository over organization, and environment secrets only when allowed (30.411729ms)
- 335✔ the gh-style commands read the repository from the clone, print JSON for agents, and never merge without a terminal (791.117415ms)
- 336✖ the MCP proxy hands refs_take's token to git's credential helper, never to the model, and takes it back on release (240.592038ms)
- 337✔ outside a refs clone, the MCP server answers on its own, offers no tools and never calls refs (169.516713ms)
- 338✔ with no session token, the credential helper answers git with your own sign-in, but only when it has the git scope (244.791705ms)
- 339✔ the credential helper gives a session token only to git that the agent runs, and your sign-in to everyone else (231.974634ms)
- 340✔ refs update keeps the installed CLI when the download is cut off (125.226052ms)
- 341✔ refs update keeps the installed CLI when the checksum does not match (89.700075ms)
- 342✔ refs update replaces the CLI when the download is whole and matches its checksum (120.605694ms)
- 343✔ a failed step fails, the steps before it succeed and the steps after it are skipped (1.839613ms)
- 344✔ in a running job the last started step runs and later steps wait (0.173ms)
- 345✔ a cancelled job marks the step it stopped in, and a job that never ran skips every step (0.41376ms)
- 346✔ a newer run of the branch replaces an older failure, and a cancelled run does not count (0.900431ms)
- 347✔ parses a full decision record (6.106329ms)
- 348✔ a plain commit message has no decisions (0.14203ms)
- 349✔ reports missing, unknown and malformed fields (0.196741ms)
- 350✔ rejects tabs, unclosed blocks and mixed nesting (1.523722ms)
- 351✔ checks duplicates and supersedes across a push (0.331241ms)
- 352✔ reviews pushed commits into records to index and problems that reject the push (0.757501ms)
- 353✔ a strict review refuses a record that does not say what it costs to reverse (0.378491ms)
- 354✔ net decisions leave out a superseded decision and a repeated sentence (0.324701ms)
- 355✔ derives a stable, valid id from the commit and the block's position (0.54711ms)
- 356✔ supersedes names a decision by id, or by its commit and block number (0.494021ms)
- 357✔ an old record that names a task is still valid, and the task is not kept (0.21233ms)
- 358✔ narrative keeps the body and drops the subject and decision blocks (0.22979ms)
- 359✔ a commit with more decision blocks than allowed is refused, and no block past the cap gets an id (0.446081ms)
- 360✔ narrative drops trailing git trailers and collapses runs of blank lines (0.06402ms)
- 361✔ sessions may only update their own branch (0.903291ms)
- 362✔ a session without a branch claims a new one by pushing it, but never the default branch (0.427741ms)
- 363✔ describes each delivery as an instruction the agent can act on (0.639561ms)
- 364✔ hook output adds context for the hook's event, or nothing (0.718991ms)
- 365ℹ tests 208
- 366ℹ suites 0
- 367ℹ pass 207
- 368ℹ fail 1
- 369ℹ cancelled 0
- 370ℹ skipped 0
- 371ℹ todo 0
- 372ℹ duration_ms 12832.49618
- 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 (240.592038ms)
- 378 Error: Command failed: git -C /tmp/refs-cli-7PHHIH/clone credential fill
- 379 at genericNodeError (node:internal/errors:986:15)
- 380 at wrappedFn (node:internal/errors:540:14)
- 381 at checkExecSyncError (node:child_process:1010:11)
- 382 at execFileSync (node:child_process:1046:15)
- 383 at git (file:///work/apps/cli/test/credential.test.ts:15:10)
- 384 at fill (file:///work/apps/cli/test/credential.test.ts:54:22)
- 385 at TestContext.<anonymous> (file:///work/apps/cli/test/credential.test.ts:61:16)
- 386 at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
- 387 at async Test.run (node:internal/test_runner/test:1439:7)
- 388 at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) {
- 389 status: 128,
- 390 signal: null,
- 391 output: [ null, '', null ],
- 392 pid: 459,
- 393 stdout: '',
- 394 stderr: null
- 395 }