[COMPASS-5102] Add a test/check for the bundle size of Compass Created: 20/Sep/21  Updated: 28/Jun/23  Resolved: 15/Jun/23

Status: Closed
Project: Compass
Component/s: Build, Tech debt, Testing
Affects Version/s: None
Fix Version/s: No version

Type: Task Priority: Major - P3
Reporter: Rhys Howell Assignee: Rhys Howell
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on COMPASS-5052 Bundle Compass application with Webpack Closed
Duplicate
is duplicated by COMPASS-5792 Fail the build if the bundle size exc... Closed
Story Points: 3
Quarter: FY24Q2
Documentation Changes: Not Needed
Sprint: Iteration Dreadnoughtus

 Description   

This ticket involves adding a test/check to minimize the chance of introducing a change which dramatically increases the bundle size.

We should evaluate the generated bundle size and if it's above a certain threshold we should be notified by a failing test (if the change is intentional then we can update this threshold as well).



 Comments   
Comment by Githook User [ 28/Jun/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(compass): add check for bundled app size COMPASS-5102 (#4532)
Branch: beta-releases
https://github.com/mongodb-js/compass/commit/5fd29a52e13f7ad74b24ca12c482a138c98d8312

Comment by Githook User [ 20/Jun/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(compass): add check for bundled app size COMPASS-5102 (#4532)
Branch: 1.38-releases
https://github.com/mongodb-js/compass/commit/5fd29a52e13f7ad74b24ca12c482a138c98d8312

Comment by Githook User [ 16/Jun/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(compass): add check for bundled app size COMPASS-5102 (#4532)
Branch: activity-telemetry
https://github.com/mongodb-js/compass/commit/5fd29a52e13f7ad74b24ca12c482a138c98d8312

Comment by Githook User [ 16/Jun/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(compass): add check for bundled app size COMPASS-5102 (#4532)
Branch: guide-cue-implementation
https://github.com/mongodb-js/compass/commit/5fd29a52e13f7ad74b24ca12c482a138c98d8312

Comment by Githook User [ 16/Jun/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(compass): add check for bundled app size COMPASS-5102 (#4532)
Branch: compass-6832-insight-unindexed-query
https://github.com/mongodb-js/compass/commit/5fd29a52e13f7ad74b24ca12c482a138c98d8312

Comment by Githook User [ 15/Jun/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(compass): add check for bundled app size COMPASS-5102 (#4532)
Branch: main
https://github.com/mongodb-js/compass/commit/5fd29a52e13f7ad74b24ca12c482a138c98d8312

Comment by Githook User [ 15/Jun/23 ]

Author:

{'name': 'Maurizio Casimirri', 'email': 'maurizio.cas@gmail.com', 'username': 'mcasimir'}

Message: Merge branch 'main' into COMPASS-5102-add-test-for-bundle-size
Branch: COMPASS-5102-add-test-for-bundle-size
https://github.com/mongodb-js/compass/commit/8d7c77c736a1c7fb470d9837c4b338ef923a575f

Comment by Githook User [ 15/Jun/23 ]

Author:

{'name': 'Rhys Howell', 'email': 'rhysh@live.com', 'username': 'Anemy'}

Message: Merge branch 'main' into COMPASS-5102-add-test-for-bundle-size
Branch: COMPASS-5102-add-test-for-bundle-size
https://github.com/mongodb-js/compass/commit/18c92ca6ea3804bcda93056d1cb3c8c8ec3db83b

Generated at Wed Feb 07 22:38:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.