Repository navigation
fix(platform): lazy load YAML locator parser - #4696
Closed
yannickmonney wants to merge 1 commit into
Closed
yannickmonney wants to merge 1 commit into
yannickmonney wants to merge 1 commit into
Conversation
yannickmonney
force-pushed
the
fix/platform-lazy-yaml-locator
branch
from
October 10, 2026 11:28
d8e86ea to
f4759d5
Compare
yannickmonney
added this pull request to the merge queue
Oct 10, 2026
yannickmonney
removed this pull request from the merge queue due to a manual request
Oct 10, 2026
Contributor
Author
|
Superseded by the atomic merge-queue candidate in #4691, which now contains the lazy YAML locator fix. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The platform build guard rejected the current main merge-group candidate because the code-editor lazy closure reached 233 KB gzip, over the 230 KB budget.
locate.tswas pulling the fullyamlparser into the editor's static closure even though YAML pointer mapping is only needed after a YAML diagnostic is focused.Keep the locator API synchronous after module initialization while loading the parser through a dynamic import. The production client build now reports a 204 KB gzip editor closure and passes the existing budget unchanged.
Validation:
bun --bun ../../packages/ui/bin/build-client.tsbun scripts/check-entry-budget.ts distbunx vitest run packages/ui/src/components/forms/code-editor/locate.test.ts(16 passed)bunx tsc --noEmit -p packages/ui/tsconfig.json