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

Issue 2489033003: DevTools: hosted mode fallback if generated files aren't uploaded yet (Closed)

Created:
4 years, 1 month ago by chenwilliam
Modified:
4 years, 1 month ago
Reviewers:
lushnikov
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: hosted mode fallback if generated files aren't uploaded yet Hosted mode fetches a couple of generated files from the cloud. Because there's a delay between when a commit lands in trunk and when it's uploaded to appspot, oftentimes users experience an error when trying to run hosted mode with Chromium close to tip of tree. This provides a fallback so that the hosted mode proxy server tries to fetch it an earlier revision of the same file. BUG=629914 Committed: https://crrev.com/c1da08f9c7e7e856d7f1fb9bed9b838e058a7ba7 Cr-Commit-Position: refs/heads/master@{#432044}

Patch Set 1 #

Patch Set 2 : minor refactor #

Total comments: 2

Patch Set 3 : fix the git grep so it works on full & front-end checkout #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -1 line) Patch
M third_party/WebKit/Source/devtools/scripts/hosted_mode/server.js View 1 2 1 chunk +21 lines, -1 line 1 comment Download
M third_party/WebKit/Source/devtools/scripts/utils.js View 3 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
chenwilliam
PTAL. This relies on git being available on the PATH, but I think it's a ...
4 years, 1 month ago (2016-11-10 18:39:08 UTC) #4
lushnikov
lgtm https://codereview.chromium.org/2489033003/diff/40001/third_party/WebKit/Source/devtools/scripts/hosted_mode/server.js File third_party/WebKit/Source/devtools/scripts/hosted_mode/server.js (right): https://codereview.chromium.org/2489033003/diff/40001/third_party/WebKit/Source/devtools/scripts/hosted_mode/server.js#newcode131 third_party/WebKit/Source/devtools/scripts/hosted_mode/server.js:131: earlierCommitHash = commitMessage.match(/Cr-Mirrored-Commit: (.*)/)[1]; can we use this ...
4 years, 1 month ago (2016-11-14 22:24:34 UTC) #5
chenwilliam
https://codereview.chromium.org/2489033003/diff/40001/third_party/WebKit/Source/devtools/scripts/hosted_mode/server.js File third_party/WebKit/Source/devtools/scripts/hosted_mode/server.js (right): https://codereview.chromium.org/2489033003/diff/40001/third_party/WebKit/Source/devtools/scripts/hosted_mode/server.js#newcode131 third_party/WebKit/Source/devtools/scripts/hosted_mode/server.js:131: earlierCommitHash = commitMessage.match(/Cr-Mirrored-Commit: (.*)/)[1]; On 2016/11/14 22:24:34, lushnikov wrote: ...
4 years, 1 month ago (2016-11-14 23:47:30 UTC) #6
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/2489033003/60001
4 years, 1 month ago (2016-11-14 23:48:45 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 1 month ago (2016-11-15 01:08:41 UTC) #12
commit-bot: I haz the power
4 years, 1 month ago (2016-11-15 01:15:13 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c1da08f9c7e7e856d7f1fb9bed9b838e058a7ba7
Cr-Commit-Position: refs/heads/master@{#432044}

Powered by Google App Engine
This is Rietveld 408576698