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

supabase / cli / 36746601499
67%
develop: 67%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/develop/pr-7043-cc18e656288819d280681e06b56a9b56147fe068
DEFAULT BRANCH: develop
Ran 30 Sep 2026 04:47PM 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:45PM UTC coverage: 66.737%. Remained the same
36746601499

push

github

web-flow
fix(cli): skip the contrib_regression clone on pg-delta shadows (#6920)

## TL;DR

pg-delta shadow databases no longer run `CREATE DATABASE
contrib_regression TEMPLATE postgres`. That clone crashes OrioleDB when
the platform baseline contains an enum-indexed OrioleDB table, and the
crash takes down the whole shadow. Migra still creates the database,
because it uses it as the declarative diff target.

## Before

```mermaid
flowchart LR
  shadow["pg-delta shadow"] --> clone["CREATE DATABASE TEMPLATE"]
  clone --> crash["OrioleDB crash"]
```

## After

```mermaid
flowchart LR
  next["pg-delta shadow"] --> pg["postgres only"]
  migra["migra shadow"] --> clone["contrib_regression"]
```

## Why

On an OrioleDB image, `CREATE DATABASE … TEMPLATE` segfaults when the
template has an OrioleDB index on an enum column. A fresh Supabase
database has one: `auth.one_time_tokens_user_id_token_type_key`. Shadow
setup then fails with a connection error. pg-delta never connects to
`contrib_regression`.

## What changed

- The pg-delta declarative shadow applies the platform baseline and does
not clone `contrib_regression`. A warm cache hit does not connect just
to create it.
- The pg-delta migrations shadow applies migrations on `postgres` and
skips the clone.
- The migra shadow still creates `contrib_regression`.

4097 of 6139 relevant lines covered (66.74%)

7.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 36746601499.1 30 Sep 2026 04:47PM UTC 79
66.74
GitHub Action Run
Source Files on build 36746601499
  • 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 #36746601499
  • 37043833 on github
  • Prev Build on gh-readonly-queue/develop/pr-6909-2b13026196177a2766bc8bca2fd4fd41435dca11 (#36743071712)
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