Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(electron): move @blocksuite/affine to peer dependences for package speed on windows #9756

Conversation

pengx17
Copy link
Collaborator

@pengx17 pengx17 commented Jan 17, 2025

@blocksuite/affine is indirectly depended by electron package. It has around 120k files in total and will greatly slow down forge package build speed.
Move them to peer dependencies to mitigate the issue.

@github-actions github-actions bot added mod:env app:electron Related to electron app test Related to test cases labels Jan 17, 2025
Copy link
Collaborator Author

pengx17 commented Jan 17, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@pengx17 pengx17 marked this pull request as ready for review January 17, 2025 08:04
@graphite-app graphite-app bot requested review from a team January 17, 2025 08:04
Copy link

codecov bot commented Jan 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.25%. Comparing base (7436c13) to head (f689c2f).
Report is 1 commits behind head on canary.

Additional details and impacted files
@@           Coverage Diff           @@
##           canary    #9756   +/-   ##
=======================================
  Coverage   53.25%   53.25%           
=======================================
  Files        2194     2194           
  Lines       98789    98789           
  Branches    16745    16745           
=======================================
  Hits        52612    52612           
  Misses      44769    44769           
  Partials     1408     1408           
Flag Coverage Δ
server-test 78.52% <ø> (ø)
unittest 32.07% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@pengx17 pengx17 force-pushed the 01-17-feat_electron_move_blocksuite_affine_to_peer_dependences_for_package_speed_on_windows branch 2 times, most recently from d76f563 to ead7559 Compare January 17, 2025 11:04
Copy link

graphite-app bot commented Jan 18, 2025

Merge activity

…ge speed on windows (#9756)

`@blocksuite/affine` is indirectly depended by electron package. It has around 120k files in total and will greatly slow down forge package build speed.
Move them to peer dependencies to mitigate the issue.
@forehalo forehalo force-pushed the 01-17-feat_electron_move_blocksuite_affine_to_peer_dependences_for_package_speed_on_windows branch from ead7559 to f689c2f Compare January 18, 2025 10:16
@graphite-app graphite-app bot merged commit f689c2f into canary Jan 18, 2025
61 checks passed
@graphite-app graphite-app bot deleted the 01-17-feat_electron_move_blocksuite_affine_to_peer_dependences_for_package_speed_on_windows branch January 18, 2025 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:electron Related to electron app mod:env test Related to test cases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants