-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2022-12-23] [$1000] Web splash screen does not work correctly on dev #13123
Comments
Triggered auto assignment to @CortneyOfstad ( |
Confirmed that removing |
Unfortunately none of the workarounds listed in stephencookdev/speed-measure-webpack-plugin#167 seem to work to resolve the issue. |
Going to make this external and see if we can get a fix that doesn't force us to give up speed-measure-webpack-plugin completely, since it is a useful tool for what it does. |
Current assignee @CortneyOfstad is eligible for the External assigner, not assigning anyone new. |
Job added to Upwork: https://www.upwork.com/jobs/~01ea03aab22a5c88d1 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
Current assignee @roryabraham is eligible for the External assigner, not assigning anyone new. |
I can't reproduce this issue on Safari MacOS |
@JalalMitali diff --git a/config/webpack/webpack.dev.js b/config/webpack/webpack.dev.js
index 2a418f882..f692d2147 100644
--- a/config/webpack/webpack.dev.js
+++ b/config/webpack/webpack.dev.js
@@ -59,5 +59,5 @@ module.exports = (env = {}) => portfinder.getPortPromise({port: BASE_PORT})
},
});
- return speedMeasure.wrap(config);
+ return config;
});
|
Proposal Update webpack.dev.js
The following plugins, HtmlWebpackPlugin and HtmlInlineScriptPlugin, don't work with HtmlWebpackPlugin as excepted, so the idea is for the dev to exclude them from SpeedMeasurePlugin wrapper |
Not sure how viable it is, but I would love to see a proposal for an upstream fix in SpeedMeasurePlugin that doesn't rely on a workaround like this. |
I believe #13182 will fix the issue, and it will also improve("fix" might be more proper) the build/rebuild speed. The fix PR replace SpeedMeasurePlugin with time-analytics-webpack-plugin, because SpeedMeasurePlugin is almost dead and time-analytics-webpack-plugin fixes some situations(like this). And, as the author of time-analytics-webpack-plugin, any feedback is welcomed. |
Please read our contributing guidelines to understand our process. Also Refer proposing a solution to the job. So as first step close the PR and write a proper proposal here thanks! |
Proposal What we need to do: Replace Reason:
Tech details: "tap" methods are the callback that every webpack plugin will use to do something at some time point.
However, the reference of Proxy object and the origin target is different. So Map and WeakMap will treat them as different key, then the value is not correct either.
|
Thanks, @ShuiRuTian, seems we are not likely to give up the plugin based on this comment. @roryabraham Again to confirm can we consider this proposal? |
Looks like the PR was merged |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.40-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2022-12-23. 🎊 After the hold period, please check if any of the following need payment for this issue, and if so check them off after paying:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Heading OoO for the next two weeks (which is over the held payment date) so reassigning |
Triggered auto assignment to @davidcardoza ( |
Job added to Upwork: https://www.upwork.com/jobs/~01e02c14f4b93626af |
Current assignee @Santhosh-Sellavel is eligible for the External assigner, not assigning anyone new. |
Current assignee @roryabraham is eligible for the External assigner, not assigning anyone new. |
I guess this PR qualifies for a 50% bonus, as the delay was due to some other lint issue. |
@ShuiRuTian , @Santhosh-Sellavel can you please accept the job and reply here once you have? |
@mallenexpensify @Santhosh-Sellavel |
Paid @ShuiRuTian and @Santhosh-Sellavel, $1000 each. The bonus timeline doesn't reflect this issue - Dec 6th hired, Dec 14th merged. @Santhosh-Sellavel can you check off these please? @CortneyOfstad , please do too, I'll try to help over break if I have time |
@mallenexpensify There is no offending PR here as it doesn't cause any issues on production. Also, this is a development-only case where we just migrating to a new library for measuring build stats, so please anyone check all off (I don't have permission) cc: @roryabraham |
Thanks @Santhosh-Sellavel, I'm still new to the BZ checklists. I missed the 'on dev' part (yes, even though it's clearly in the title). Based on that, I think we can close this for now. comment/reopen if needed |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Run the dev web app.
Expected Result:
The JS code for splash screen (and the
.svg
component) should be inlined in index.html instead of included in a separate bundle.Actual Result:
This works as expected on staging and production, but not on dev. On dev the splash screen JS ends up in a separate bundle, not inlined.
Workaround:
n/a – only affects developers.
Platform:
Where is this issue occurring?
Version Number: 1.2.32-1
Reproducible in staging?: no
Reproducible in production?: no
Notes/Photos/Videos: I created an issue over here to ask the library maintainer about this.
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: