Skip to content

[Bug] Environment variables exceed Vercel limit #67

@stevenmqnguyen

Description

@stevenmqnguyen

Describe the bug
The combined size of environment variables for Portal v1 and portal v2 exceed the 4KB limit imposed by Vercel for a single project.
Vercel environment variable limits

To Reproduce
Steps to reproduce the behavior:

  1. Redeploy preview branch
  2. See error

Expected behavior
Vercel deploys preview branches on commit.

Additional context
Possible solutions:

  • Move the next branch to a new repo and set up another Vercel project. This also fixes the issue of Build & Development setting not being compatible with CRA and NextJS
  • Vercel 4KB workaround Since we use Doppler, we would need to use doppler webhooks and some automation to encrypt secrets and commit to repo? Seems unnecessary and complicated compared to the other option with some other consequences.

Metadata

Metadata

Assignees

Labels

Bug ReportSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions