• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / cli / 25799736058
64%

Build:
DEFAULT BRANCH: develop
Ran 13 May 2026 12:46PM UTC
Jobs 1
Files 219
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 May 2026 12:41PM UTC coverage: 63.758% (+0.02%) from 63.734%
25799736058

push

github

web-flow
fix(cli): support compiled next cli e2e runtime (#5240)

## Summary

- Run the next CLI e2e suite against the compiled `dist/supabase-next`
binary so tests exercise the same artifact users run.
- Fix the two compiled-Bun blockers tracked by
[CLI-1452](https://linear.app/supabase/issue/CLI-1452/compiled-bun-compile-next-binary-cant-run-supabase-functions-dev)
and
[CLI-1453](https://linear.app/supabase/issue/CLI-1453/compiled-bun-compile-next-binary-start-detach-daemon-fork-ignores).

## CLI-1452: `functions dev` and native/runtime assets

The compiled next binary could not boot commands that pulled in
`@parcel/watcher`, because the native optional package is not embedded
by `bun --compile` and the fallback `.node` path does not exist inside
Bun's embedded filesystem.

This PR keeps the compiled binary path viable by making the next CLI e2e
harness run through `dist/supabase-next`, by statically referencing the
platform-specific watcher packages, and by embedding the Edge Runtime
bootstrap with Bun's native text import attribute instead of resolving
the bootstrap through a runtime source-file path. The Edge Runtime
service writes that embedded bootstrap source into the runtime temp
directory before launching the function runtime.

## CLI-1453: compiled binary daemon/supervisor dispatch

Compiled Bun ignores the script-path argv shape that works in JIT mode,
so `child_process.fork(daemonEntryPoint)` re-entered the compiled CLI
entrypoint instead of running the daemon script.

This PR makes compiled-binary dispatch explicit: `forkDaemon` marks
daemon children through the environment, and the compiled next CLI
entrypoint routes that child process directly to the daemon runner. The
same pattern is used for process supervision:
`@supabase/process-compose` forks through `process.execPath`, uses a
tiny env protocol only for compiled-Bun self-dispatch, and otherwise
remains a generic Node/Bun process supervision library. The supervisor
runtime/protocol are nati... (continued)

9996 of 15678 relevant lines covered (63.76%)

7.06 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25799736058.1 13 May 2026 12:46PM UTC 219
63.76
GitHub Action Run
Source Files on build 25799736058
  • Tree
  • List 219
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25799736058
  • 53908ef9 on github
  • Prev Build on develop (#25790264378)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc