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

supabase / cli / 14417759116
56%

Build:
DEFAULT BRANCH: develop
Ran 12 Apr 2025 08:13AM UTC
Jobs 1
Files 196
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

12 Apr 2025 08:09AM UTC coverage: 50.957%. Remained the same
14417759116

push

github

web-flow
fix: outside import with relative module graph (#3417)

* refactor: removing duplicated `ImportMap` struct

* fix: resolving relative outside imports

It applies the import map walking to resolve the Module Graph

* refactor: revert some changes from 7a43b81

Moving `ImportMap` struct to `functions/pkg` and importing it inside
internals

* stamp: lint

* stamp: lint & using unix separator

* stamp: copying file buffer directly to writer

- we don't need to tee here, just copy from file to the writer will do.

* stamp: removing duplicated code for `ImportMap.Resolve()`

- using `afero.NewIOFS(fsys)` to cast to `io.FS`

* stamp: use absolute filepath while bundling

- Convert `srcPath` inside `addFile`, since docker mount always expect
an absolute path

* chore: bind relative imports in source files

* chore: refactor bind host modules

* chore: update unit tests

* fix: change import map flag to relative path

* chore: update unit tests

* chore: test for relative entrypoint

---------

Co-authored-by: Qiao Han <qiao@supabase.io>

42 of 64 new or added lines in 5 files covered. (65.63%)

49 existing lines in 4 files now uncovered.

6974 of 13686 relevant lines covered (50.96%)

184.5 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
86.92
0.0% internal/functions/deploy/bundle.go
6
65.32
0.0% internal/functions/serve/serve.go
7
20.77
0.0% internal/utils/deno.go
8
74.59
0.0% internal/functions/deploy/deploy.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
86.92
0.0% internal/functions/deploy/bundle.go
7
20.77
0.0% internal/utils/deno.go
16
74.59
0.0% internal/functions/deploy/deploy.go
25
65.32
0.0% internal/functions/serve/serve.go
Jobs
ID Job ID Ran Files Coverage
1 14417759116.1 12 Apr 2025 08:13AM UTC 196
50.96
GitHub Action Run
Source Files on build 14417759116
  • Tree
  • List 196
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14417759116
  • 3dfb4a11 on github
  • Prev Build on develop (#14417761518)
  • Next Build on develop (#14438194359)
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

© 2025 Coveralls, Inc