feat: Run now installs as temporary add-on#282
Conversation
|
@kumar303 I'm still working on this review, but here is a couple of issues that I found so far:
How about one of the following strategies to fix the above issue:
Personally in the long run I would prefer the strategy 1, but in my opinion it is ok even if we choose to use the simpler strategy 2 in this PR (and then introducing the strategy 1 in a follow up). |
|
@kumar303 I'm still experiencing the following issue with the debounce:
In my opinion, the correct behavior here would be to debounce only the changes on files that are not filtered (and anyway any change on filtered files names is not going to reload the addon). By looking at the code of the how it looks to you? |
|
@kumar303 as discussed over IRC: the Firefox instance logs are currently very verbose, as an enhancement we can probably:
|
|
Thanks! Here are the new fix-ups:
|
|
@kumar303 r+ This PR is great improvement, and the new version of "addon reloading" feature is great. |
33f837d to
924086d
Compare
|
Changes Unknown when pulling 79c6bf5 on kumar303:temp-install into * on mozilla:master*. |
The remote temporary installation approach, introduced by #282 , required Firefox 49. This adds that version requirement to the error message.
Fixes #93
There has been a long platform battle to stabilize the reload add-on function. To keep it simple, https://bugzilla.mozilla.org/show_bug.cgi?id=1269889 introduced a new requirement that the add-on must be installed temporarily before it can be reloaded. This patch uses the remote actor to install the add-on temporarily.
It's a bit brutal in that it fails hard if the Firefox is too old to allow temporary installation like this (it landed in 49). I think this approach is probably ok for now -- it's a lot easier to test and maintain!