bun
A failed `bun test` (the crossed-out test and its assertion), or a `bun install` that found no matching version.
jstestdepstoolmatcher
Install: ci-doctor matchers add official/bun
matchers/js/bun/matcher.yaml
id: bunrole: toolclassification: [js, test, deps]description: A failed `bun test` (the crossed-out test and its assertion), or a `bun install` that found no matching version.pattern: 'error: No version matching|^\s*✗ |^\s*\d+ fail\b'before: 2after: 12
In bundles
Fixtures
Framing stripped per provider. Highlighted lines are what this matcher selects; the marked line is the anchor.
bun_test_failureOpen in playground
1Current runner version: '2.336.0'
2##[group]Operating System
3Ubuntu
424.04.4
5LTS
6##[endgroup]
7Secret source: Actions
8Prepare workflow directory
9Prepare all required actions
10Complete job name: bun_test_failure
11##[group]Set up job
12Image: ubuntu-24.04
13Runner name: 'GitHub Actions 12'
14##[endgroup]
15Download action repository 'actions/checkout@v4'
16Download action repository 'actions/cache@v4'
17##[group]Run actions/checkout@v4
18 with:
19 fetch-depth: 20
20 lfs: false
21##[endgroup]
22Syncing repository: acme/ledger
23##[group]Getting Git version info
24Working directory is '/home/runner/work/ledger/ledger'
25##[endgroup]
26/usr/bin/git checkout --progress --force 8ad41f02
27##[group]Run actions/cache@v4
28 with:
29 path: ~/.cache
30 key: Linux-deps-8ad41f02
31##[endgroup]
32Received 41943040 of 41943040 (100.0%), 40.0 MBs/sec
33Cache restored from key: Linux-deps-8ad41f02
34##[group]Run bun --version
35bun --version
36bun install --frozen-lockfile
37bun run test
38shell: /usr/bin/bash -e {0}
39##[endgroup]
401.1.18
41bun install v1.1.18 (aad3abea)
42 + zod@3.23.8
43 142 packages installed [1.42s]
44$ bun test
45bun test v1.1.18 (aad3abea)
46
47src/cart.test.ts:
48✓ Cart > adds an item to the cart [0.42ms]
49✓ Cart > removes an item from the cart [0.11ms]
50✗ Cart > applies the loyalty discount before tax
51 error: expect(received).toBe(expected)
52
53 Expected: 2700
54 Received: 3000
55
56 at /builds/team/shop/src/cart.test.ts:18:23
57
58 2 pass
59 1 fail
60 4 expect() calls
61Ran 3 tests across 1 files. [24.00ms]
62error: script "test" exited with code 1
63##[error]Process completed with exit code 1.
64##[group]Post Run actions/checkout@v4
65##[endgroup]
66/usr/bin/git version
67git version 2.54.0
68##[group]Post Run actions/upload-artifact@v4
69##[endgroup]
70Artifact upload complete.
71Post job cleanup.
72Cleaning up orphan processes
1Running with gitlab-runner 16.11.0 (a1b2c3d4)
2 on green-2.saas-linux-small-amd64 Bn5Jx2Qe, system ID: s_66aa77bb88cc
3Preparing the "docker" executor
4 Using Docker executor with image oven/bun:1.1 ...
5Using Docker executor with image oven/bun:1.1 ...
6Using docker image sha256:9e8d7c6b5a49 for oven/bun:1.1 with digest bun@sha256:4b3c...
7Preparing environment
8Running on runner-bn5jx2qe-project-94-concurrent-0...
9Fetching changes...
10Checking out 7ce20b93 as detached HEAD...
11Checking cache for bun-install-cache...
12Successfully extracted cache
13$ bun --version
141.1.18
15$ bun install --frozen-lockfile
16bun install v1.1.18 (aad3abea)
17 + zod@3.23.8
18 142 packages installed [1.42s]
19$ bun run test
20$ bun test
21bun test v1.1.18 (aad3abea)
22
23src/cart.test.ts:
24✓ Cart > adds an item to the cart [0.42ms]
25✓ Cart > removes an item from the cart [0.11ms]
26✗ Cart > applies the loyalty discount before tax
27 error: expect(received).toBe(expected)
28
29 Expected: 2700
30 Received: 3000
31
32 at /builds/team/shop/src/cart.test.ts:18:23
33
34 2 pass
35 1 fail
36 4 expect() calls
37Ran 3 tests across 1 files. [24.00ms]
38error: script "test" exited with code 1
39Running after_script
40$ echo "bun tests failed"
41bun tests failed
42Uploading artifacts for failed job
43Uploading artifacts as "archive" to coordinator... 201 Created
44ERROR: Job failed: exit code 1