-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[Desktop] Brave components don't get updated until a browser restart #10271
Comments
Verification PASSED on
Launched
Updated the component via https://ci.brave.com/view/all/job/brave-core-ext-speedreader-data-files-update-publish-dev/11/ and waited ~10min. Went into
Verification passed on
Verified test plan from the description On launch:
After component was updated:
Verification passed on
Verified test plan from the description On launch:
After component was updated:
|
Description
Brave components under brave://components do not get updated/reloaded without browser restart.
Updating works correctly when browser is restarted.
Steps to Reproduce
Tested with SpeedReader component:
dev
package version launch browser with--use-dev-goupdater-url
flag, for logging--enable-logging=stderr --v=0 --vmodule=brave_component=2
Log should include approximately (version and timestamps would be different)
dev
version use https://ci.brave.com/view/all/job/brave-core-ext-speedreader-data-files-update-publish-dev/ > Build With Parameters > Build)Actual result:
OnComponentReady
inherited fromBraveComponent
does not get called when component gets updated without browser restart.In the case of Speedreader, rewriting rules do not get updated.
brave://components shows correct component version and status.
Expected result:
OnComponentReady
inherited fromBraveComponent
should get called when component gets updated via brave://componentsIn the case of Speedreader, rewriting rules should get updated and active without browser restart.
There should be two copies of log records similar to
without a browser restart and with different version numbers
Reproduces how often:
Easily reproduced
Brave version (brave://version info)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
The text was updated successfully, but these errors were encountered: