Skip to content

perf(frontend): restore warning-free production chunking after bundle regression #1012

Description

@seonghobae

Finding

The current protected-main frontend has regressed past the warning-free split established by merged PR #644. This is a repository baseline regression, not something introduced only by the translation/read-model stack.

Exact evidence:

The production warning must not be normalized as GREEN merely because the build exits zero.

Repair contract

  • profile the current protected-main entry graph and identify the additions since perf(frontend): split conditional workspace surfaces #644 that grew the eager application chunk from 499.09 kB to 551.27 kB;
  • restore native dynamic-import/lazy boundaries where product semantics allow, preserving normal/loading/error/permission states, focus behavior, and accessible recovery;
  • keep build.chunkSizeWarningLimit unchanged and do not suppress/filter the Vite warning;
  • require an exact-head production build with no >500 kB application warning and retain measured minified+gzip chunk inventory;
  • inspect Storybook plugin timing separately and optimize only repository-owned causes; do not hide PLUGIN_TIMINGS merely to make logs quiet;
  • after causal source repair, run frontend tests/build/Storybook and applicable browser acceptance;
  • refresh docs/product-technical-gap-baseline.md, whose frontend-delivery row still cites perf(frontend): split conditional workspace surfaces #644 as the warning-free solution, with the repaired exact protected-head evidence.

No claim is made that #929 caused the baseline regression; #1013 proves the warning is already present on current protected-main product source.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions