Commit d35e892
authored
chore: upgrade Bun to 1.4.1 (#6470)
## Summary
- pin Bun 1.4.1 through mise and refresh the locked runtime artifacts
- replace the Istanbul Vitest coverage provider with the V8 provider
across coverage-enabled workspaces
- remove the unused coverage provider from the CLI e2e workspace and
preserve pnpm global-store peer resolution
[Bun
1.4.1](https://bun.com/blog/bun-v1.4.1#node-js-compatibility-improvements)
fixes the Vitest/c8 V8 coverage merge failure that previously blocked
this migration.
## Binary size impact
Compared locally built Bun 1.4.1 executables with the checksum-verified
[v2.117.0-beta.18 production
artifacts](https://github.com/supabase/cli/releases/tag/v2.117.0-beta.18),
which embed Bun 1.4.0.
| Platform | Production 1.4.0 | Local 1.4.1 | Change |
|---|---:|---:|---:|
| macOS arm64 | 69.52 MiB | 67.53 MiB | -2.86% |
| macOS x64 | 76.00 MiB | 74.20 MiB | -2.37% |
| Linux arm64 | 91.92 MiB | 90.36 MiB | -1.70% |
| Linux x64 | 92.58 MiB | 91.01 MiB | -1.69% |
| Windows arm64 | 84.50 MiB | 83.17 MiB | -1.57% |
| Windows x64 | 94.52 MiB | 91.54 MiB | -3.16% |
The compressed release archives are also 0.37%-1.54% smaller.
The comparison is not fully runtime-isolated: the current source is one
commit beyond the production tag, and the local macOS binaries lack CI
release signing. Linux and Windows provide the cleanest indication of
the Bun upgrade size impact.1 parent 2677ccc commit d35e892
18 files changed
Lines changed: 186 additions & 123 deletions
File tree
- apps
- cli-e2e
- cli
- packages
- api
- cli-test-helpers
- config
- process-compose
- stack
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments