-
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
Update makes 2 downloads every time #27398
Comments
Thank you for reporting this @Clorr. Your suspicion is correct. I can reproduce this on macOS 10.15.7, updating Brave 1.46.140 -> 1.146.144. This should be a pure delta update (20 MB in this case). But the update mechanism downloads first the delta and then the full 135 MB installer. (This can be inspected with Fiddler Everywhere, for example.) |
Verified with macOS x64 12.6.3 using various versions. See https://bravesoftware.slack.com/archives/C01EVLWS8R5/p1677031515215569 for additional discussion/details. General note - when installing via .pkg, may still get the sparkle update popups UI where you need to allow the download/install of new version. See #9562. For all failed cases below, the update still occurs, it just falls back to full installer. See #28915 for additional information. Delta Installer - 2 PASSED, 2 FAILEDNote, for all cases below All cases below check background updates. Case 1 - x64 (.dmg) --> x64 - PASSEDObjective: Confirm delta installer used to update from x64
Logs from step 7:
Case 2 - x64 (.pkg) --> x64 - PASSED (note, Sparkle popups received in this case)Objective: Confirm delta installer used to update from x64
Logs from step 7:
Case 3 - universal (.dmg) --> x64 - FAILED, follow up issue loggedObjective: Confirm delta installer used to update from universal
Logs from step 7:
Case 4 - universal (.pkg) --> x64 - FAILED, follow up issue logged (note, Sparkle popups received in this case)Objective: Confirm delta installer used to update from universal
Logs from step 7:
Full Installer - 4 PASSEDNote, for all cases below, All cases below check background updates. Case 1 - x64 (.dmg) --> x64 - PASSEDObjective: Confirm full installer used to update from x64
Logs from step 7:
Case 2 - x64 (.pkg) --> x64 - PASSED (note, Sparkle popups received in this case)Objective: Confirm full installer used to update from x64
Logs from step 7:
Case 3 - universal (.dmg) --> x64 - PASSEDObjective: Confirm full installer used to update from universal
Logs from step 7:
Case 4 - universal (.pkg) --> x64 - PASSED (note, Sparkle popups received in this case)Objective: Confirm full installer used to update from x64
Logs from step 7:
Update on `test` channel - 1 PASSED, 1 FAILEDAll cases below check background updates. Current release channel version is 1.48.171, a version without the fix. Objective: Confirm can update from a version without the fix to a version with the fix. Case 1 - x64 (.dmg) --> x64 - PASSED
Logs from step 7:
Case 2 - universal (.dmg) --> x64 - FAILED, follow up issue logged
Logs from step 7:
On demand updates - 1 PASSED, 1 FAILEDIn below cases, checking the on demand updates/update check via brave://settings/help. Case 1 - x64 (.dmg) --> x64 - PASSEDConfirm delta installer used to update from x64
Logs from step 7:
Case 2 - universal (.dmg) --> x64 - FAILED, follow up issue loggedConfirm delta installer used to update from universal
Logs from step 7:
|
Verified with macOS arm64 12.6.3 using various versions. See https://bravesoftware.slack.com/archives/C01EVLWS8R5/p1677031515215569 for additional discussion/details. General note - when installing via .pkg, may still get the sparkle update popups UI where you need to allow the download/install of new version. See #9562. For all failed cases below, the update still occurs, it just falls back to full installer. See #28915 for additional information. Delta Installer - 2 PASSED, 2 FAILEDNote, for all cases below All cases below check background updates. Case 1 - arm64 (.dmg) --> arm64 - PASSEDObjective: Confirm delta installer used to update from arm64
Logs from step 7:
Case 2 - arm64 (.pkg) --> arm64 - PASSED (note, Sparkle popups received in this case)Objective: Confirm delta installer used to update from arm64
Logs from step 7:
Case 3 - universal (.dmg) --> arm64 - FAILED, follow up issue loggedObjective: Confirm delta installer used to update from universal
Logs from step 7:
Case 4 - universal (.pkg) --> arm64 - FAILED, follow up issue logged (note, Sparkle popups received in this case)Objective: Confirm delta installer used to update from universal
Logs from step 7:
Full Installer - 4 PASSEDNote, for all cases below, All cases below check background updates. Case 1 - arm64 (.dmg) --> arm64 - PASSEDObjective: Confirm full installer used to update from arm64
Logs from step 7:
Case 2 - arm64 (.pkg) --> arm64 - PASSED (note, Sparkle popups received in this case)Objective: Confirm full installer used to update from arm64
Logs from step 7:
Case 3 - universal (.dmg) --> arm64 - PASSEDObjective: Confirm full installer used to update from universal
Logs from step 7:
Case 4 - universal (.pkg) --> arm64 - PASSED (note, Sparkle popups received in this case)Objective: Confirm full installer used to update from arm64
Logs from step 7:
Update on `test` channel - 1 PASSED, 1 FAILEDAll cases below check background updates. Current release channel version is 1.48.171, a version without the fix. Objective: Confirm can update from a version without the fix to a version with the fix. Case 1 - arm64 (.dmg) --> arm64 - PASSED
Logs from step 7:
Case 2 - universal (.dmg) --> arm64 - FAILED, follow up issue logged
Logs from step 7:
On demand updates - 1 PASSED, 1 FAILEDIn below cases, checking the on demand updates/update check via brave://settings/help. Case 1 - arm64 (.dmg) --> arm64 - PASSEDConfirm delta installer used to update from arm64
Logs from step 7:
Case 2 - universal (.dmg) --> arm64 - FAILED, follow up issue loggedConfirm delta installer used to update from universal
Logs from step 7:
|
Verification
|
step 1 | step 6 | step 8 |
---|---|---|
Logs from step 7:
[24422:259:0306/154034.130456:INFO:sparkle_glue.mm(366)] brave update: did finish loading appcast
[24422:259:0306/154034.132733:INFO:sparkle_glue.mm(372)] brave update: did find valid update with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
[24422:259:0306/154034.133479:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
[24422:259:0306/154048.550616:INFO:sparkle_glue.mm(429)] brave update: will install update on quit with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
Case 2: x64 (.pkg) --> x64 - PASSED
Objective: Confirm delta installer used to update from x64 1.49.108
--> x64 1.50.77
, use .pkg file for initial download
- Install
1.49.108
(x64
.pkg
version, not universal), close quickly after launching - Close browser, advance system clock ~3hrs
- Ensure Fiddler or similar program is running
- Relaunch browser from terminal with
--args --enable-logging=stderr
Step 4a - since using .pkg, note Sparkle popups received, select "Install Update" - Watch logs and Fiddler
- Confirm delta update was served successfully (did not fall back to full installer)
- Once logs mention "will install update" this means download is complete, relaunch
- Confirm updated version on
brave://version
Step 4 | Step 4 | Step 6 | Step 8 |
---|---|---|---|
Logs from step 7:
[25077:259:0306/155615.358519:INFO:sparkle_glue.mm(366)] brave update: did finish loading appcast
[25077:259:0306/155615.360403:INFO:sparkle_glue.mm(372)] brave update: did find valid update with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
[25077:259:0306/155615.373047:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
Case 3: universal (.dmg) --> x64 - FAILED
- Install
1.49.108
(universal .dmg version, not .pkg), close quickly after launching - Close browser, advance system clock ~3hrs
- Ensure Fiddler or similar program is running
- Relaunch browser from terminal with
--args --enable-logging=stderr
- Watch logs and Fiddler
- ---> Delta update not served successfully, fell back to full installer (.dmg) - Follow up issue logged when updating from universal binary to architecture specific version, the delta update fails and falls back to full installer - follow up to 27398 #28915
- Once logs mention "will install update" this means download is complete, relaunch
- Confirm updated version on
brave://version
step 1 | step 5 | step 8 |
---|---|---|
Logs from step 7:
[81706:259:0306/224718.632592:INFO:sparkle_glue.mm(366)] brave update: did finish loading appcast
[81706:259:0306/224718.634150:INFO:sparkle_glue.mm(372)] brave update: did find valid update with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
[81706:259:0306/224718.635960:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
[81706:259:0306/224741.183369:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
[81706:259:0306/224852.879699:INFO:sparkle_glue.mm(429)] brave update: will install update on quit with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
[81706:259:0306/224916.183603:INFO:sparkle_glue.mm(419)] brave update: will install update with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
Case 4: universal (.pkg) --> x64 - FAILED
- Install
1.49.108
(universal.pkg
version, not x64), close quickly after launching - Close browser, advance system clock ~3hrs
- Ensure Fiddler or similar program is running
- Relaunch browser from terminal with
--args --enable-logging=stderr
- Watch logs and Fiddler
- ---> Delta update not served successfully, fell back to full installer (.dmg) - Follow up issue logged when updating from universal binary to architecture specific version, the delta update fails and falls back to full installer - follow up to 27398 #28915
- Once logs mention "will install update" this means download is complete, relaunch
- Confirm updated version on
brave://version
step 1 | step 6 | step 8 |
---|---|---|
Logs from step 7:
[43530:259:0306/201308.223681:INFO:sparkle_glue.mm(366)] brave update: did finish loading appcast
[43530:259:0306/201308.225150:INFO:sparkle_glue.mm(372)] brave update: did find valid update with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
[43530:259:0306/201308.227327:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
[43530:259:0306/201417.849866:INFO:sparkle_glue.mm(429)] brave update: will install update on quit with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
[43530:259:0306/201437.559857:INFO:sparkle_glue.mm(419)] brave update: will install update with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
Full installer - 4 PASSED
Case 1: x64 (.dmg) --> x64 - PASSED
- Install
1.49.116
(x64
.dmg
version, not universal), close quickly after launching - Close browser, advance system clock ~3hrs
- Ensure Fiddler or similar program is running
- Relaunch browser from terminal with
--args --enable-logging=stderr
- Watch logs and Fiddler
- Confirm full update was served successfully (did not attempt delta)
- Once logs mention "will install update" this means download is complete, relaunch
- Confirm updated version on brave://version
step 1 | step 6 | step 8 |
---|---|---|
Logs:
[36792:259:0306/182350.594733:INFO:sparkle_glue.mm(366)] brave update: did finish loading appcast
[36792:259:0306/182350.596539:INFO:sparkle_glue.mm(372)] brave update: did find valid update with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
[36792:259:0306/182350.597611:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
[36792:259:0306/182450.859462:INFO:sparkle_glue.mm(429)] brave update: will install update on quit with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
[36792:259:0306/182504.648119:INFO:sparkle_glue.mm(419)] brave update: will install update with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
Case 2: x64 (.pkg) --> x64 - PASSED
- Install
1.49.116
(universal.dmg
version, not .pkg), close quickly after launching - Close browser, advance system clock ~3hrs
- Ensure Fiddler or similar program is running
- Relaunch browser from terminal with
--args --enable-logging=stderr
- Watch logs and Fiddler
- Confirm full update was served successfully (did not attempt delta)
- Once logs mention "will install update" this means download is complete, relaunch
- Confirm updated version on
brave://version
step 1 | step 4 | step 8 |
---|---|---|
Logs:
[38815:259:0306/185317.751407:INFO:sparkle_glue.mm(366)] brave update: did finish loading appcast
[38815:259:0306/185317.752675:INFO:sparkle_glue.mm(372)] brave update: did find valid update with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
[38815:259:0306/185317.755005:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
[38815:259:0306/185413.973673:INFO:sparkle_glue.mm(429)] brave update: will install update on quit with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
[38815:259:0306/185450.918683:INFO:sparkle_glue.mm(419)] brave update: will install update with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
Case 3: universal (.dmg) --> x64 - PASSED
- Install
1.49.116
(universal.dmg
version, not .pkg), close quickly after launching - Close browser, advance system clock ~3hrs
- Ensure Fiddler or similar program is running
- Relaunch browser from terminal with
--args --enable-logging=stderr
- Watch logs and Fiddler
- Confirm full update was served successfully (did not attempt delta)
- Once logs mention "will install update" this means download is complete, relaunch
- Confirm updated version on
brave://version
step 1 | step 6 | step 8 |
---|---|---|
Logs from step 7:
[40337:259:0306/192107.765029:INFO:sparkle_glue.mm(366)] brave update: did finish loading appcast
[40337:259:0306/192107.767233:INFO:sparkle_glue.mm(372)] brave update: did find valid update with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
[40337:259:0306/192107.769480:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
[40337:259:0306/192209.207752:INFO:sparkle_glue.mm(429)] brave update: will install update on quit with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
[40337:259:0306/192216.986749:INFO:sparkle_glue.mm(419)] brave update: will install update with AppcastItem(Date: Fri, 03 Mar 2023 17:10:09 +0000, Version: 1.50.77.0)
Case 4: universal (.pkg) --> x64 - PASSED
- Install
1.49.116
(universal.pkg
version, not dmg), close quickly after launching - Close browser, advance system clock ~3hrs
- Ensure Fiddler or similar program is running
- Relaunch browser from terminal with
--args --enable-logging=stderr
- Step 4a - since using .pkg, note Sparkle popups received, select "Install Update"
- Watch logs and Fiddler
- Confirm full update was served successfully (did not attempt delta)
- Once logs mention "will install update" this means download is complete, relaunch
- Confirm updated version on brave://version
step 1 | step 6 | step 9 |
---|---|---|
Update on test channel - 1 PASSED, 1 FAILED
Case 1 - x64 (.dmg) --> x64 - PASSED
- Install
1.48.171
(x64
.dmg
version, not universal), close after launching - Close browser, advance system clock ~3hrs
- Ensure Fiddler or similar program is running
- Relaunch browser from terminal with
--args --enable-logging=stderr --update-feed-url=https://updates.bravesoftware.com/sparkle/Brave-Browser/test/appcast.xml
- Watch logs and Fiddler
- Confirm delta update was served successfully (did not fall back to full installer)
- Once logs mention "will install update" this means download is complete, relaunch
- Confirm updated version on
brave://version
step 1 | step 6 | step 8 |
---|---|---|
Logs from step 7:
[29930:259:0306/143347.217121:INFO:sparkle_glue.mm(366)] brave update: did finish loading appcast
[29930:259:0306/143347.222947:INFO:sparkle_glue.mm(372)] brave update: did find valid update with AppcastItem(Date: Fri, 03 Mar 2023 07:45:58 +0000, Version: 1.49.118.0)
[29930:259:0306/143347.225009:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Fri, 03 Mar 2023 07:45:58 +0000, Version: 1.49.118.0)
[29930:259:0306/143409.861844:INFO:sparkle_glue.mm(429)] brave update: will install update on quit with AppcastItem(Date: Fri, 03 Mar 2023 07:45:58 +0000, Version: 1.49.118.0)
[29930:259:0306/143526.370254:INFO:sparkle_glue.mm(419)] brave update: will install update with AppcastItem(Date: Fri, 03 Mar 2023 07:45:58 +0000, Version: 1.49.118.0)
Case 2 - universal (.dmg) --> x64 - FAILED
- Install
1.48.171
(universal.dmg
version, not x64), close after launching - Close browser, advance system clock ~3hrs
- Ensure Fiddler or similar program is running
- Relaunch browser from terminal with
--args --enable-logging=stderr --update-feed-url=https://updates.bravesoftware.com/sparkle/Brave-Browser/test/appcast.xml
- Watch logs and Fiddler
- ---> Delta update not served successfully, fell back to full installer (.dmg) - Follow up issue logged when updating from universal binary to architecture specific version, the delta update fails and falls back to full installer - follow up to 27398 #28915
- Once logs mention "will install update" this means download is complete, relaunch
- Confirm updated version on
brave://version
step 1 | step 6 | step 8 |
---|---|---|
Logs from step 7:
[30426:259:0306/174607.420618:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Fri, 03 Mar 2023 07:45:58 +0000, Version: 1.49.118.0)
[30426:259:0306/174642.664201:INFO:sparkle_glue.mm(429)] brave update: will install update on quit with AppcastItem(Date: Fri, 03 Mar 2023 07:45:58 +0000, Version: 1.49.118.0)
[30435:259:0306/174700.331669:ERROR:shared_image_manager.cc(247)] SharedImageManager::ProduceOverlay: Trying to Produce a Overlay representation from a non-existent mailbox.
[30435:259:0306/174700.331936:ERROR:skia_output_device_buffer_queue.cc(345)] Invalid mailbox.
[30426:259:0306/174700.960038:INFO:sparkle_glue.mm(419)] brave update: will install update with AppcastItem(Date: Fri, 03 Mar 2023 07:45:58 +0000, Version: 1.49.118.0)
On-demand updates - 1 PASSED, 1 FAILED
Case 1: x64 (.dmg) --> x64 - PASSED
- Install
1.48.171
(x64
.dmg
version, not universal), close after launching - Ensure Fiddler or similar program is running
- Relaunch browser from terminal with
--args --enable-logging=stderr --update-feed-url=https://updates.bravesoftware.com/sparkle/Brave-Browser/test/appcast.xml
- Visit
brave://settings/help
- Watch logs and Fiddler
- Confirm delta update was served successfully (did not fall back to full installer)
- Once logs mention "will install update" this means download is complete, relaunch
- Confirm updated version
step 4 | step 6 | step 8 |
---|---|---|
Logs from step 7:
[27041:259:0306/133547.136667:INFO:sparkle_glue.mm(366)] brave update: did finish loading appcast
[27041:259:0306/133547.138549:INFO:sparkle_glue.mm(372)] brave update: did find valid update with AppcastItem(Date: Fri, 03 Mar 2023 07:45:58 +0000, Version: 1.49.118.0)
[27041:259:0306/133547.223744:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Fri, 03 Mar 2023 07:45:58 +0000, Version: 1.49.118.0)
[27041:259:0306/133608.947223:INFO:sparkle_glue.mm(429)] brave update: will install update on quit with AppcastItem(Date: Fri, 03 Mar 2023 07:45:58 +0000, Version: 1.49.118.0)
[27041:259:0306/133857.907519:INFO:sparkle_glue.mm(419)] brave update: will install update with AppcastItem(Date: Fri, 03 Mar 2023 07:45:58 +0000, Version: 1.49.118.0)
Case 2: universal (.dmg) --> x64 - FAILED
Confirm delta installer used to update from universal 1.48.171
--> x64 1.49.118
, use .dmg file for initial download
- Install
1.48.171
(universal .dmg version, not x64), close after launching - Ensure Fiddler or similar program is running
- Relaunch browser from terminal with
--args --enable-logging=stderr --update-feed-url=https://updates.bravesoftware.com/sparkle/Brave-Browser/test/appcast.xml
- Visit
brave://settings/help
- Watch logs and Fiddler
- ---> Delta update not served successfully, fell back to full installer (
.dmg
) - Follow up issue logged when updating from universal binary to architecture specific version, the delta update fails and falls back to full installer - follow up to 27398 #28915 - Once logs mention "will install update" this means download is complete, relaunch
- Confirm updated version
Step 4 | Step 6 | Step 8 |
---|---|---|
Logs from step 7:
[28265:259:0306/140140.102003:INFO:sparkle_glue.mm(366)] brave update: did finish loading appcast
[28265:259:0306/140140.103838:INFO:sparkle_glue.mm(372)] brave update: did find valid update with AppcastItem(Date: Fri, 03 Mar 2023 07:45:58 +0000, Version: 1.49.118.0)
[28265:259:0306/140140.105335:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Fri, 03 Mar 2023 07:45:58 +0000, Version: 1.49.118.0)
[28265:259:0306/140151.242682:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Fri, 03 Mar 2023 07:45:58 +0000, Version: 1.49.118.0)
[28265:259:0306/140243.230148:INFO:sparkle_glue.mm(429)] brave update: will install update on quit with AppcastItem(Date: Fri, 03 Mar 2023 07:45:58 +0000, Version: 1.49.118.0)
[28265:259:0306/140322.055351:INFO:sparkle_glue.mm(419)] brave update: will install update with AppcastItem(Date: Fri, 03 Mar 2023 07:45:58 +0000, Version: 1.49.118.0)
Verification
|
Step 1 | Step 6 | Step 8 |
---|---|---|
Logs from step 7:
[3739:259:0308/110706.162041:INFO:sparkle_glue.mm(366)] brave update: did finish loading appcast
[3739:259:0308/110706.163365:INFO:sparkle_glue.mm(372)] brave update: did find valid update with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
[3739:259:0308/110706.164741:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
[3739:259:0308/110712.743810:INFO:sparkle_glue.mm(429)] brave update: will install update on quit with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
Case 2 - arm64 (.pkg) --> arm64 - PASSED (note, Sparkle popups received in this case)
Objective: Confirm delta installer used to update from arm64 1.50.77
--> arm64 1.50.83
, use .pkg file for initial download
- Install
1.50.77
(arm64 .pkg version, not universal), close quickly after launching - Close browser, advance system clock ~3hrs
- Ensure Fiddler or similar program is running
- Relaunch browser from terminal with
--args --enable-logging=stderr
Step 4a - since using .pkg, note Sparkle popups received, select "Install Update" - Watch logs and Fiddler
- Confirm delta update was served successfully (did not fall back to full installer)
- Once logs mention "will install update" this means download is complete, relaunch
- Confirm updated version on brave://version
Step 4 | Step 4 | Step 6 | Step 8 |
---|---|---|---|
Logs from step 7:
[4576:259:0308/111612.860012:INFO:sparkle_glue.mm(366)] brave update: did finish loading appcast
[4576:259:0308/111612.861356:INFO:sparkle_glue.mm(372)] brave update: did find valid update with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
[4576:259:0308/111612.863046:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
[4576:259:0308/111619.999616:INFO:sparkle_glue.mm(429)] brave update: will install update on quit with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
Case 3 - universal (.dmg) --> arm64 - FAILED
Objective: Confirm delta installer used to update from universal 1.50.77
--> arm64 1.50.83
, use .dmg file for initial download
- Install
1.50.77
(universal .dmg version, not .pkg), close quickly after launching - Close browser, advance system clock ~3hrs
- Ensure Fiddler or similar program is running
- Relaunch browser from terminal with
--args --enable-logging=stderr
- Watch logs and Fiddler
- ---> Delta update not served successfully, fell back to full installer (.dmg) - Follow up issue logged when updating from universal binary to architecture specific version, the delta update fails and falls back to full installer - follow up to 27398 #28915
- Once logs mention "will install update" this means download is complete, relaunch
- Confirm updated version on
brave://version
Step 1 | Step 6 | Step 8 |
---|---|---|
Logs from step 7:
[10112:259:0308/150100.922616:INFO:sparkle_glue.mm(366)] brave update: did finish loading appcast
[10112:259:0308/150100.924631:INFO:sparkle_glue.mm(372)] brave update: did find valid update with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
[10112:259:0308/150100.925741:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
[10112:259:0308/150103.392344:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
[10112:259:0308/150144.690891:INFO:sparkle_glue.mm(429)] brave update: will install update on quit with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
Case 4 - universal (.pkg) --> arm64 - FAILED (note, Sparkle popups received in this case)
Objective: Confirm delta installer used to update from universal 1.50.77
--> arm64 1.50.83
, use .pkg file for initial download
- Install
1.50.77
(universal .pkg version, not arm64), close quickly after launching - Close browser, advance system clock ~3hrs
- Ensure Fiddler or similar program is running
- Relaunch browser from terminal with
--args --enable-logging=stderr
Step 4a - since using .pkg, note Sparkle popups received, select "Install Update" - Watch logs and Fiddler
- ---> Delta update not served successfully, fell back to full installer (.dmg) - Follow up issue logged when updating from universal binary to architecture specific version, the delta update fails and falls back to full installer - follow up to 27398 #28915
- Once logs mention "will install update" this means download is complete, relaunch
- Confirm updated version on brave://version
Step 4 | Step 4 | Step 6 | Step 8 |
---|---|---|---|
Logs from step 7:
[19310:259:0308/181703.618740:INFO:sparkle_glue.mm(366)] brave update: did finish loading appcast
[19310:259:0308/181703.619632:INFO:sparkle_glue.mm(372)] brave update: did find valid update with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
[19310:259:0308/181725.960482:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
[19310:259:0308/181729.082895:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
Full installer - 4 PASSED
Case 1: arm64 (.dmg) --> arm64 - PASSED
- Install
1.49.116
(arm64
.dmg
version, not universal), close quickly after launching - Close browser, advance system clock ~3hrs
- Ensure Fiddler or similar program is running
- Relaunch browser from terminal with
--args --enable-logging=stderr
- Watch logs and Fiddler
- Confirm full update was served successfully (did not attempt delta)
- Once logs mention "will install update" this means download is complete, relaunch
- Confirm updated version on brave://version
step 1 | step 6 | step 8 |
---|---|---|
Logs from step 7:
[23577:259:0307/155514.571945:INFO:sparkle_glue.mm(366)] brave update: did finish loading appcast
[23577:259:0307/155514.576468:INFO:sparkle_glue.mm(372)] brave update: did find valid update with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
[23577:259:0307/155514.578834:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
[23577:259:0307/155609.086633:INFO:sparkle_glue.mm(429)] brave update: will install update on quit with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
[23577:259:0307/155700.166079:INFO:sparkle_glue.mm(419)] brave update: will install update with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
Case 2: arm64 (.pkg) --> arm64 - PENDING
- Install
1.49.116
(arm64
.pkg
version, not universal), close quickly after launching - Close browser, advance system clock ~3hrs
- Ensure Fiddler or similar program is running
- Relaunch browser from terminal with
--args --enable-logging=stderr
Step 4a - since using .pkg, note Sparkle popups received, select "Install Update" - Watch logs and Fiddler
- Confirm delta update was served successfully (did not fall back to full installer)
- Once logs mention "will install update" this means download is complete, relaunch
- Confirm updated version on
brave://version
Step 4 | Step 6 | Step 8 |
---|---|---|
Logs from step 7:
[57330:259:0307/192942.668936:INFO:sparkle_glue.mm(366)] brave update: did finish loading appcast
[57330:259:0307/192942.670629:INFO:sparkle_glue.mm(372)] brave update: did find valid update with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
[57330:259:0307/192942.671777:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
[57330:259:0307/193002.801961:INFO:sparkle_glue.mm(429)] brave update: will install update on quit with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
Case 3: universal (.dmg) --> arm64 - FAILED
- Install
1.49.116
(universal.dmg
version, not .pkg), close quickly after launching - Close browser, advance system clock ~3hrs
- Ensure Fiddler or similar program is running
- Relaunch browser from terminal with
--args --enable-logging=stderr
- Watch logs and Fiddler
- Confirm full update was served successfully (did not attempt delta)
- Once logs mention "will install update" this means download is complete, relaunch
- Confirm updated version on
brave://version
step 1 | step 6 | step 8 |
---|---|---|
Logs from step 7:
[56594:259:0307/191031.759954:INFO:sparkle_glue.mm(366)] brave update: did finish loading appcast
[56594:259:0307/191031.760985:INFO:sparkle_glue.mm(372)] brave update: did find valid update with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
[56594:259:0307/191031.761626:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
[56594:259:0307/191113.208228:INFO:sparkle_glue.mm(429)] brave update: will install update on quit with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
[56594:259:0307/191122.804200:INFO:sparkle_glue.mm(419)] brave update: will install update with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
Case 4: universal (`.pkg`) --> arm64 - PASSED
- Install
1.49.116
(universal.pkg
version, not dmg), close quickly after launching - Close browser, advance system clock ~3hrs
- Ensure Fiddler or similar program is running
- Relaunch browser from terminal with
--args --enable-logging=stderr
- Step 4a - since using .pkg, note Sparkle popups received, select "Install Update"
- Watch logs and Fiddler
- Confirm full update was served successfully (did not attempt delta)
- Once logs mention "will install update" this means download is complete, relaunch
- Confirm updated version on
brave://version
step 1 | step 6 | step 9 |
---|---|---|
Logs from step 7:
[56594:259:0307/191031.759954:INFO:sparkle_glue.mm(366)] brave update: did finish loading appcast
[56594:259:0307/191031.760985:INFO:sparkle_glue.mm(372)] brave update: did find valid update with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
[56594:259:0307/191031.761626:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
[56594:259:0307/191113.208228:INFO:sparkle_glue.mm(429)] brave update: will install update on quit with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
[56594:259:0307/191122.804200:INFO:sparkle_glue.mm(419)] brave update: will install update with AppcastItem(Date: Tue, 07 Mar 2023 09:29:36 +0000, Version: 1.50.83.0)
Update on `test` channel - 1 PASSED, 1 FAILED
Objective: Confirm can update from a version without the fix to a version with the fix.
Case 1 - arm64 (.dmg) --> arm64 - PASSED
- Install
1.48.171
(arm64
.dmg
version, not universal), close after launching - Close browser, advance system clock ~3hrs
- Ensure Fiddler or similar program is running
- Relaunch browser from terminal with
--args --enable-logging=stderr --update-feed-url=https://updates.bravesoftware.com/sparkle/Brave-Browser/test/appcast.xml
- Watch logs and Fiddler
- Confirm delta update was served successfully (did not fall back to full installer)
- Once logs mention "will install update" this means download is complete, relaunch
- Confirm updated version on
brave://version
step 1 | step 6 | step 8 |
---|---|---|
[Fiddler] |
Logs from step 7:
[50554:259:0307/181307.178346:INFO:sparkle_glue.mm(366)] brave update: did finish loading appcast
[50554:259:0307/181307.180455:INFO:sparkle_glue.mm(372)] brave update: did find valid update with AppcastItem(Date: Fri, 03 Mar 2023 07:58:02 +0000, Version: 1.49.118.0)
[50554:259:0307/181307.181677:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Fri, 03 Mar 2023 07:58:02 +0000, Version: 1.49.118.0)
[50554:259:0307/181314.412104:INFO:sparkle_glue.mm(429)] brave update: will install update on quit with AppcastItem(Date: Fri, 03 Mar 2023 07:58:02 +0000, Version: 1.49.118.0)
[50554:259:0307/181346.429127:INFO:sparkle_glue.mm(419)] brave update: will install update with AppcastItem(Date: Fri, 03 Mar 2023 07:58:02 +0000, Version: 1.49.118.0)
Case 2 - universal (.dmg) --> arm64 - FAILED
- Install
1.48.171
(universal.dmg
version, not .pkg), close after launching - Close browser, advance system clock ~3hrs
- Ensure Fiddler or similar program is running
- Relaunch browser from terminal with
--args --enable-logging=stderr --update-feed-url=https://updates.bravesoftware.com/sparkle/Brave-Browser/test/appcast.xml
- Watch logs and Fiddler
- ---> Delta update not served successfully, fell back to full installer (.dmg) - Follow up issue logged when updating from universal binary to architecture specific version, the delta update fails and falls back to full installer - follow up to 27398 #28915
- Once logs mention "will install update" this means download is complete, relaunch
- Confirm updated version on
brave://version
step 1 | step 6 | step 8 |
---|---|---|
Logs from step 7:
[49052:259:0307/175331.971686:INFO:sparkle_glue.mm(372)] brave update: did find valid update with AppcastItem(Date: Fri, 03 Mar 2023 07:58:02 +0000, Version: 1.49.118.0)
[49052:259:0307/175331.972226:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Fri, 03 Mar 2023 07:58:02 +0000, Version: 1.49.118.0)
[49052:259:0307/175350.759676:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Fri, 03 Mar 2023 07:58:02 +0000, Version: 1.49.118.0)
[49052:259:0307/175446.116641:INFO:sparkle_glue.mm(429)] brave update: will install update on quit with AppcastItem(Date: Fri, 03 Mar 2023 07:58:02 +0000, Version: 1.49.118.0)
[49052:259:0307/175512.544088:INFO:sparkle_glue.mm(419)] brave update: will install update with AppcastItem(Date: Fri, 03 Mar 2023 07:58:02 +0000, Version: 1.49.118.0)
On-demand updates - 1 PASSED, 1 FAILED
Case 1: arm64 (.dmg) --> arm64 - PASSED
- Install
1.48.171
(arm64
.dmg
version, not universal), close after launching - Ensure Fiddler or similar program is running
- Relaunch browser from terminal with
--args --enable-logging=stderr --update-feed-url=https://updates.bravesoftware.com/sparkle/Brave-Browser/test/appcast.xml
- Visit
brave://settings/help
- Watch logs and Fiddler
- Confirm delta update was served successfully (did not fall back to full installer)
- Once logs mention "will install update" this means download is complete, relaunch
- Confirm updated version
step 4 | step 6 | step 8 |
---|---|---|
Logs from step 7:
[46291:259:0307/142159.397997:INFO:sparkle_glue.mm(366)] brave update: did finish loading appcast
[46291:259:0307/142159.399088:INFO:sparkle_glue.mm(372)] brave update: did find valid update with AppcastItem(Date: Fri, 03 Mar 2023 07:58:02 +0000, Version: 1.49.118.0)
[46291:259:0307/142159.399662:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Fri, 03 Mar 2023 07:58:02 +0000, Version: 1.49.118.0)
[46291:259:0307/142220.000194:INFO:sparkle_glue.mm(429)] brave update: will install update on quit with AppcastItem(Date: Fri, 03 Mar 2023 07:58:02 +0000, Version: 1.49.118.0)
[46291:259:0307/142255.069694:INFO:sparkle_glue.mm(419)] brave update: will install update with AppcastItem(Date: Fri, 03 Mar 2023 07:58:02 +0000, Version: 1.49.118.0)
Case 2: universal (.dmg) --> arm64 - FAILED
Confirm delta installer used to update from universal 1.48.171
--> arm64 1.49.118
, use .dmg file for initial download
- Install
1.48.171
(universal.dmg
version, not .pkg), close after launching - Ensure Fiddler or similar program is running
- Relaunch browser from terminal with
--args --enable-logging=stderr --update-feed-url=https://updates.bravesoftware.com/sparkle/Brave-Browser/test/appcast.xml
- Visit
brave://settings/help
- Watch logs and Fiddler
- ---> Delta update not served successfully, fell back to full installer (
.dmg
) - Follow up issue logged when updating from universal binary to architecture specific version, the delta update fails and falls back to full installer - follow up to 27398 #28915 - Once logs mention "will install update" this means download is complete, relaunch
- Confirm updated version
Step 4 | Step 6 | Step 8 |
---|---|---|
Logs from step 7:
[47767:259:0307/143756.737784:INFO:sparkle_glue.mm(366)] brave update: did finish loading appcast
[47767:259:0307/143756.739782:INFO:sparkle_glue.mm(372)] brave update: did find valid update with AppcastItem(Date: Fri, 03 Mar 2023 07:58:02 +0000, Version: 1.49.118.0)
[47767:259:0307/143756.740954:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Fri, 03 Mar 2023 07:58:02 +0000, Version: 1.49.118.0)
[47767:259:0307/143806.306848:INFO:sparkle_glue.mm(393)] brave update: willDownloadUpdate with AppcastItem(Date: Fri, 03 Mar 2023 07:58:02 +0000, Version: 1.49.118.0)
[47767:259:0307/143845.174198:INFO:sparkle_glue.mm(429)] brave update: will install update on quit with AppcastItem(Date: Fri, 03 Mar 2023 07:58:02 +0000, Version: 1.49.118.0)
[47767:259:0307/143853.974695:INFO:sparkle_glue.mm(419)] brave update: will install update with AppcastItem(Date: Fri, 03 Mar 2023 07:58:02 +0000, Version: 1.49.118.0)
Description
Every time there is an update to Brave Browser, I have 2 downloads : A first small download, and a big that is around 130MB
It looks like a failed incremental update, but maybe it's not. In that case don't take this in account.
Steps to Reproduce
Actual result:
One small download starts and complete, then a second download, of around 130MB, starts also
Expected result:
Why 2 downloads ? Is the first download a delta and the second a full ?
Only one, hopefully delta (small) update should happen
Reproduces how often:
Every time since I installed Brave (more than one year ago)
Brave version (brave://version info)
1.46.144 Chromium: 108.0.5359.128 (Build officiel) (x86_64)
macOS Version 10.15.7 (assemblage 19H2026)
Version/Channel Information:
Révision | 1cd27afdb8e5d057070c0961e04c490d2aca1aa0-refs/branch-heads/5359@{#1185}
The text was updated successfully, but these errors were encountered: