Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Issue 2847263002: Reland of [WebAPKs] Make WebAPK update flow more sensible (Closed)

Created:
3 years, 7 months ago by pkotwicz
Modified:
3 years, 7 months ago
CC:
chromium-reviews, zpeng+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of [WebAPKs] Make WebAPK update flow more sensible (patchset #2 id:90001 of https://codereview.chromium.org/2845943006/ ) Reason for revert: Reverting the revert now that https://chrome-internal-review.googlesource.com/c/363648/ has landed. That CL should prevent official builder from breaking Original issue's description: > Revert of [WebAPKs] Make WebAPK update flow more sensible (patchset #4 id:100001 of https://codereview.chromium.org/2827233006/ ) > > Reason for revert: > broke official-* bots, see crbug.com/716330 > > Original issue's description: > > [WebAPKs] Make WebAPK update flow more sensible > > > > Previously, whenever the shell_apk in shell_apk_version.gni there was a period > > of time during which > > - Chrome tries to update the WebAPK because the "shell_apk" version with which > > Chrome is compiled with was updated > > - The WebAPK server is unable to fulfill the update request because the new > > ShellAPK has not yet been uploaded to the WebAPK server > > > > This CL splits shell_apk_version in shell_apk_version.gni into two variables: > > |template_shell_apk_version| and |expected_shell_apk_version| > > > > The new flow for updating android/webapk/shell_apk will be: > > 1) Write CL which: > > - Makes changes to code in android/webapk/shell_apk > > - Increments |template_shell_apk_version| > > This will: > > - Update the template ShellAPK which is built on the official build bot > > - Trigger an alert that the ShellAPK on the WebAPK Minting Server needs to > > be updated > > - Does not affect the "WebAPK update logic". > > 2) Upload new ShellAPK template to the WebAPK Minting Server > > At this point: > > - new WebAPK installs will have the updated shell. > > - Chrome will still not request updates to the new ShellAPK version > > 3) Write CL which: > > - Increments |expected_shell_apk_version| > > This will: > > - cause Chrome to request updates to the new ShellAPK version > > > > BUG=708053 > > > > Review-Url: https://codereview.chromium.org/2827233006 > > Cr-Commit-Position: refs/heads/master@{#467708} > > Committed: https://chromium.googlesource.com/chromium/src/+/d71abed75b07b4b9fc50591cbeb2b6c8874bf448 > > TBR=hartmanng@chromium.org,hanxi@chromium.org,zpeng@chromium.org,dominickn@chromium.org,pkotwicz@chromium.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=708053 > > Review-Url: https://codereview.chromium.org/2845943006 > Cr-Commit-Position: refs/heads/master@{#467966} > Committed: https://chromium.googlesource.com/chromium/src/+/db08d35eab5d639a6ed751dd4e42dcd5b4f683ec TBR=hartmanng@chromium.org,hanxi@chromium.org,zpeng@chromium.org,dominickn@chromium.org,timvolodine@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=708053 Review-Url: https://codereview.chromium.org/2847263002 Cr-Commit-Position: refs/heads/master@{#468075} Committed: https://chromium.googlesource.com/chromium/src/+/ce7ea8b13892b4b9564f3c8af96ebccc24f4d0fb

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -5 lines) Patch
M chrome/android/webapk/libs/client/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/webapk/shell_apk/BUILD.gn View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/android/webapk/shell_apk/shell_apk_version.gni View 1 chunk +10 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (3 generated)
pkotwicz
Created Reland of [WebAPKs] Make WebAPK update flow more sensible
3 years, 7 months ago (2017-04-28 18:48:14 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2847263002/1
3 years, 7 months ago (2017-04-28 18:49:17 UTC) #3
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 18:50:06 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/ce7ea8b13892b4b9564f3c8af96e...

Powered by Google App Engine
This is Rietveld 408576698