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

supabase / cli / 39268824487
67%
develop: 46%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/develop/pr-7380-74d4774766936b6e6141a58d061c3396a01c85c9
DEFAULT BRANCH: develop
Ran 19 Oct 2026 02:26PM 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

19 Oct 2026 02:25PM UTC coverage: 66.737%. Remained the same
39268824487

push

github

web-flow
fix(stack): hold idle gateway connections for 75 s (CLI-2615) (#7193)

## TL;DR

keeps idle connections open on the experimental stack, so a short pause
between API calls no longer ends in `fetch failed`

## whats hurting the user?

a script that pauses for a few seconds between two API calls (a sync
build in a seed) fails its next call with `TypeError: fetch failed`. the
stack gateway drops idle connections after its 5 s idle timeout, and the
paused script reuses the dropped one.

## now fixed by?

the stack gateway now keeps idle connections open for 75 s through
`keepAliveTimeoutBuffer` matching the legacy backend
tho it still sends `Keep-Alive: timeout=5`, so clients that respect it
close idle connections early.

<details>
<summary>visual rep</summary>

```mermaid
sequenceDiagram
    participant C as client
    participant G as stack gateway
    C->>G: request
    G-->>C: 200, keep-alive
    Note over C: script blocks for 7 s
    alt before
        G--xC: closes the idle connection
        C->>G: next request on that connection
        G--xC: ECONNRESET
    else now
        Note over G: keeps the idle connection for 75 s
        C->>G: next request on that connection
        G-->>C: 200
    end
```

</details>

## ref:

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

4097 of 6139 relevant lines covered (66.74%)

7.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39268824487.1 19 Oct 2026 02:26PM UTC 79
66.74
GitHub Action Run
Source Files on build 39268824487
  • 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 #39268824487
  • 3b102fa6 on github
  • Prev Build on develop (#39248572149)
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