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

supabase / cli / 40550847948
47%
develop: 46%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/develop/pr-7380-74d4774766936b6e6141a58d061c3396a01c85c9
DEFAULT BRANCH: develop
Ran 27 Oct 2026 05:29PM UTC
Jobs 1
Files 119
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

27 Oct 2026 05:27PM UTC coverage: 46.568%. Remained the same
40550847948

push

github

web-flow
feat(stack): forward client address headers to upstreams (CLI-2823) (#7345)

## TL;DR

adds `X-Forwarded-For` and `X-Real-IP` to what the stack gateway sends
upstream, so edge functions can see who is calling them

## whats introduced?

the gateway now appends the client address to any incoming
`X-Forwarded-For` chain and sets
 `X-Real-IP` to the client address, the same way the legacy backend does

both the http path and the websocket upgrade path send them

a client sent `X-Real-IP` is always replaced or dropped, so callers cant
spoof it through the gateway

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

```mermaid
flowchart LR
  subgraph before
    A1[client] --> B1[stack gateway]
    B1 --> C1[edge function sees no client address]
  end
  subgraph now
    A2[client] --> B2[stack gateway]
    B2 --> D2{peer address known}
    D2 -->|yes| E2["append client to X-Forwarded-For<br/>set X-Real-IP to client"]
    D2 -->|no| F2[drop client sent X-Real-IP]
    E2 --> G2[http and websocket upstreams]
    F2 --> G2
    G2 --> H2[edge function sees the caller]
  end
```

</details>

## ref

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

5591 of 12006 relevant lines covered (46.57%)

25.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40550847948.1 27 Oct 2026 05:29PM UTC 119
46.57
GitHub Action Run
Source Files on build 40550847948
  • Tree
  • List 119
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40550847948
  • 99b45405 on github
  • Prev Build on gh-readonly-queue/develop/pr-7350-3507dba692a6622042860f08dce60f35690707ca (#40549325035)
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