Skip to content

[*] Bug Fix: devInvariant should warn in prod even if not in codes.json - #7870

Merged
etrepum merged 1 commit into
meta:mainfrom
etrepum:prodNoCode-warnings
Sep 25, 2025
Merged

etrepum merged 1 commit into
meta:mainfrom
etrepum:prodNoCode-warnings

Conversation

@etrepum

@etrepum etrepum commented Sep 25, 2025

Copy link
Copy Markdown
Collaborator

Description

devInvariant would throw in prod when the error was not yet in codes.json, now it warns

Closes #7869

Test plan

Unit test added for the transform update

@vercel

vercel Bot commented Sep 25, 2025 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
lexical Ready Ready Preview Comment Sep 25, 2025 3:40pm
lexical-playground Ready Ready Preview Comment Sep 25, 2025 3:40pm

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 25, 2025
@etrepum
etrepum added this pull request to the merge queue Sep 25, 2025
Merged via the queue into meta:main with commit 67edb4f Sep 25, 2025
@etrepum etrepum mentioned this pull request Oct 1, 2025

This branch was successfully deployed

2 active deployments
Preview – lexical-playground — 0cd1a86b Deployed Sep 25, 2025 by vercel[bot]
Preview – lexical — 0cd1a86b Deployed Sep 25, 2025 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Ensure devInvariant is a warning in prod even if not in codes.json yet

2 participants