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

supabase / cli / 28021580571
65%

Build:
DEFAULT BRANCH: develop
Ran 23 Jun 2026 11:05AM UTC
Jobs 1
Files 227
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

23 Jun 2026 10:58AM UTC coverage: 64.97% (-0.002%) from 64.972%
28021580571

push

github

web-flow
fix: preserve verify_jwt setting when not in config.toml (#5348)

## Changes

Changes the unction.VerifyJWT field from ool to *bool across the
codebase to distinguish between "not configured" and "explicitly set to
false".

### Files modified
- **pkg/config/config.go**: Changed VerifyJWT type from ool to *bool
- **internal/functions/deploy/deploy.go**: Removed hardcoded VerifyJWT =
true for functions not in config.toml; flag override now sets pointer
properly
- **pkg/function/deploy.go**: Updated reference to match new pointer
type
- **pkg/function/batch.go**: Updated comparison and assignment for *bool
- **internal/functions/serve/serve.go**: Defaults to rue when *bool is
nil for local serve
- **pkg/function/batch_test.go**: Updated test to use cast.Ptr(true)

## Rationale

Previously, the CLI always sent erify_jwt: true in deploy metadata for
functions not listed in config.toml, overwriting the dashboard setting.
With this fix, when erify_jwt is not specified in config.toml, the field
is omitted from the deploy payload (
il), allowing the API to preserve the existing server-side value.

Fixes #43608

---------

Co-authored-by: deepshekhardas <deepshekharadas1234@gmail.com>
Co-authored-by: Julien Goux <hi@jgoux.dev>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

10774 of 16583 relevant lines covered (64.97%)

10.25 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
74.85
0.15% internal/functions/deploy/deploy.go
4
85.34
-0.62% internal/functions/serve/serve.go
Jobs
ID Job ID Ran Files Coverage
1 28021580571.1 23 Jun 2026 11:05AM UTC 227
64.97
GitHub Action Run
Source Files on build 28021580571
  • Tree
  • List 227
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28021580571
  • 2ce303af on github
  • Prev Build on gh-readonly-queue/develop/pr-5652-90222aa8a5275fd021f1b5ee9e8a5a4378efe627 (#28020450771)
  • Next Build on develop (#28026600674)
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