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

supabase / cli / 36741901679
67%
develop: 67%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/develop/pr-7081-f8250034bddc9fff102ea6d4fb61c667850c7230
DEFAULT BRANCH: develop
Ran 30 Sep 2026 04:08PM UTC
Jobs 1
Files 79
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

30 Sep 2026 04:07PM UTC coverage: 66.737%. Remained the same
36741901679

push

github

web-flow
fix(cli): reject `test new` names that escape supabase/tests (CLI-2480) (#6790)

## TL;DR

stops `supabase test new` from writing files outside `supabase/tests`
when the name contains `..`.

## prob

the name was joined onto `supabase/tests` with no containment check, so
`test new ../../../escaped` wrote `escaped_test.sql` outside the project
and exited 0.

PS: `migration new` and `functions new` already reject names like this.

## sol

the target is now checked against `supabase/tests`
before anything is written, failing with `invalid test name` and counted
as invalid input in telemetry.
subdirectory names like `sub/foo` keep working. only names that escape
now exit 1 where they used to succeed...

## ref

- closes: https://github.com/supabase/cli/issues/6742

4097 of 6139 relevant lines covered (66.74%)

7.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 36741901679.1 30 Sep 2026 04:08PM UTC 79
66.74
GitHub Action Run
Source Files on build 36741901679
  • Tree
  • List 79
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36741901679
  • c877778f on github
  • Prev Build on gh-readonly-queue/develop/pr-6910-26dc09a3245055d71352888d1d8f93beceedafc3 (#36738944996)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc