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

supabase / cli / 32898033808
62%

Build:
DEFAULT BRANCH: develop
Ran 25 Aug 2026 08:55PM UTC
Jobs 1
Files 95
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

25 Aug 2026 08:41PM UTC coverage: 62.406%. Remained the same
32898033808

push

github

web-flow
feat(config): add the [workers] section to the project config schema (#6260)

## Summary

Adds the `[workers]` section to the project config schema: a
`Schema.Record` of
worker name to `{ runtime, size, instances, source }`, mirroring the
`[functions.<slug>]` convention in the same file. The same schema is
used for the
project config and for `[remotes.*]`, so a remote can carry its own
worker
overrides.

Two constraints live at the schema level:

- **Worker names are DNS labels**, matching what the Management API
validates its
  `:name` path parameter against, since they end up in hostnames.
- **`instances` is a non-negative integer**, matching `spec.instances`
in the API's
own input schema. A value that gets past the schema is dropped rather
than sent,
so leaving it unbounded means a `push` silently deploys a different
count than
  the config asked for.

There is no project-wide scalar in the table — an earlier revision had a
`[workers] root` for relocating the grouping directory, and it was
dropped because
`[workers.<name>] source` already puts a worker anywhere in the repo.
That keeps
`workers` a plain record with nothing for the index signature to collide
with,
rather than a `StructWithRest` needing a key-pattern exclusion that
vanished under
the `disableChecks: true` `io.ts` uses for unselected remotes.

No CLI surface consumes this yet — it lands first so the schema and its
generated
types are reviewable on their own.

**Stack 1 of 4.** Followed by `workers new` (#6261), `workers push`
(#6262), and
`workers list`/`status`/`delete` (#6263).

## Linked issue

FUNC-753 (Linear). Supabase maintainer, exempt from the
`open-for-contribution` flow.

## Checklist

- [x] The PR title follows [Conventional
Commits](https://www.conventionalcommits.org/)

---------

Co-authored-by: Kanad Gupta <git@kanad.dev>

5571 of 8927 relevant lines covered (62.41%)

6.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32898033808.1 25 Aug 2026 08:55PM UTC 95
62.41
GitHub Action Run
Source Files on build 32898033808
  • Tree
  • List 95
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32898033808
  • 4b5d8bec on github
  • Prev Build on develop (#32890780371)
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