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

supabase / supavisor / b77d19ae3552e72f2f1980e2643843c353e729d0-PR-580
47%
main: 65%

Build:
Build:
LAST BUILD BRANCH: reuse-sessions-when-possible
DEFAULT BRANCH: main
Ran 28 Jan 2025 08:57PM UTC
Jobs 2
Files 59
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

28 Jan 2025 08:52PM UTC coverage: 46.37% (-0.003%) from 46.373%
b77d19ae3552e72f2f1980e2643843c353e729d0-PR-580

Pull #580

github

hauleth
fix: more correct name validation

PostgreSQL requires that the DB name is a valid identifier

https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS

This was causing some issues with metrics gathering in the past, but
that should be resolved now. This makes it more in-line with what
PostgreSQL is allowing and expecting. The max length is compile-time
configurable, as PostgreSQL technically provides a way to increase the
byte limit, by default we use current PostgreSQL default there.

This mean that some users *may* be allowed to use weird names, but
assuming that Victoria Metrics is properly parsing exported metrics
using OpenMetrics specs, then it should work there.

Close #579
Pull Request #580: fix: more correct DB name handling

1 of 1 new or added line in 1 file covered. (100.0%)

5 existing lines in 1 file now uncovered.

958 of 2066 relevant lines covered (46.37%)

204.26 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
5
65.3
0.0% lib/supavisor/client_handler.ex
Jobs
ID Job ID Ran Files Coverage
1 b77d19ae3552e72f2f1980e2643843c353e729d0-PR-580.1 28 Jan 2025 08:57PM UTC 58
46.37
GitHub Action Run
2 b77d19ae3552e72f2f1980e2643843c353e729d0-PR-580.2 28 Jan 2025 09:01PM UTC 59
33.7
GitHub Action Run
Source Files on build b77d19ae3552e72f2f1980e2643843c353e729d0-PR-580
  • Tree
  • List 59
  • Changed 32
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #580
  • PR Base - main (#7E162584...)
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