Skip to content

Revert "[deps] UI Foundation: Update @compodoc/compodoc to v2 (#21680)" - #24260

Merged
BryanCunningham merged 1 commit into
mainfrom
bc/revert-compodoc-v2
Oct 29, 2026
Merged

BryanCunningham merged 1 commit into
mainfrom
bc/revert-compodoc-v2

Conversation

@BryanCunningham

@BryanCunningham BryanCunningham commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

🎟️ Tracking

Reverts #21680.

📔 Objective

Compodoc v2 makes Storybook's docs generation ~225× slower. It runs on every npm run storybook and on every Chromatic build in CI (build-storybook:ci), so this pins @compodoc/compodoc back to 1.2.1 until it's fixed upstream in compodoc/compodoc#1777.

Same machine, Node 24.18.0, the exact compodocArgs from angular.json:

Version Time Peak RSS
1.2.1 8 s 2.3 GB
2.0.0 1,805 s (~30 min) 2.3 GB

v2's documentation.json is otherwise a modest improvement: inferred types on signal inputs, cleaner booleanAttribute defaults, aliased inputs listed by public name. No regressions found, so nothing is lost beyond those.

package-lock.json is identical to its state before #21680.

📸 Screenshots

N/A — no visual change.

@BryanCunningham
BryanCunningham marked this pull request as ready for review October 29, 2026 15:50

@vleague2 vleague2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

225x...... haha

@BryanCunningham
BryanCunningham enabled auto-merge (squash) October 29, 2026 15:50
@BryanCunningham BryanCunningham added the t:deps Change Type - Dependencies label Oct 29, 2026
@BryanCunningham
BryanCunningham merged commit 0f83c5c into main Oct 29, 2026
161 of 165 checks passed
@BryanCunningham
BryanCunningham deleted the bc/revert-compodoc-v2 branch October 29, 2026 16:12
@codecov

codecov Bot commented Oct 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.83%. Comparing base (e2aa4e3) to head (4111e21).
⚠️ Report is 3 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #24260   +/-   ##
=======================================
  Coverage   60.83%   60.83%           
=======================================
  Files        4851     4851           
  Lines      155048   155048           
  Branches    24745    24745           
=======================================
  Hits        94331    94331           
- Misses      54236    54237    +1     
+ Partials     6481     6480    -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

nikwithak pushed a commit that referenced this pull request Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t:deps Change Type - Dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants