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

supabase / cli / 32888601276
62%
develop: 62%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/develop/pr-6330-4b5d8bec0b62855d59f4452efc85b02b2b7b5bfc
DEFAULT BRANCH: develop
Ran 25 Aug 2026 07:17PM 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 07:15PM UTC coverage: 62.406%. Remained the same
32888601276

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/)

5571 of 8927 relevant lines covered (62.41%)

6.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32888601276.1 25 Aug 2026 07:17PM UTC 95
62.41
GitHub Action Run
Source Files on build 32888601276
  • 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 #32888601276
  • d13fbc30 on github
  • Prev Build on gh-readonly-queue/develop/pr-6328-38f31b4dc2cda6f4c278b62a1ee9bb9fc99d05c0 (#32881878217)
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