Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Validate tenant integer limits as integers

Closed Beginner friendly
#1,591 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@ferhatelmas is already working on this.

Since Oct 23, 2026.

  • #1593 by @hsusul — merged

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
postgresql, typescript
Domain
api, backend, databases

Research direction

Find the admin tenant API request schema for PATCH /tenants/:id and identify the schemas for tenant vector and Iceberg count limits and maxConnections. Check how those fields map to PostgreSQL integer columns, then update validation so those limits reject fractional values while supported file size and image resolution settings remain numeric. Done means fractional integer limits are rejected at the API boundary and valid fractional settings continue to pass.

Written by the indexing model from the issue text.

Description

Bug

The admin tenant API accepts fractional values for integer resource limits. For example, PATCH /tenants/:id accepts features.icebergCatalog.maxTables: 1.5 because the schema uses type: number; the multitenant database stores that field in an int column.

The same mismatch exists for the tenant vector and Iceberg count limits (and maxConnections). A malformed configuration can pass request validation and fail later when written to PostgreSQL.

Expected

Reject non-integer values at the admin API boundary for fields backed by integer columns, while continuing to allow fractional values for genuinely numeric settings such as file size or image resolution where supported.

Dominant language
TypeScript
Stars
1.3k
Forks
314
Avg merge
1d 12h
Merged PRs (30d)
89

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from supabase/storage

All issues in supabase/storage

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.