New issue
Advanced search Search tips

Issue 654562 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Feature



Sign in to add a comment

swarming: implement named caches

Project Member Reported by no...@chromium.org, Oct 10 2016

Issue description

Project Member

Comment 1 by bugdroid1@chromium.org, Oct 12 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/external/github.com/luci/luci-py.git/+/b90210628f1998818b9e2acde5e385ef33708322

commit b90210628f1998818b9e2acde5e385ef33708322
Author: nodir <nodir@chromium.org>
Date: Wed Oct 12 19:17:39 2016

run_isolated: rename cache to isolate_cache

This is preparation for named caches

R=maruel@chromium.org
BUG= 654562 

Review-Url: https://codereview.chromium.org/2411683003

[modify] https://crrev.com/b90210628f1998818b9e2acde5e385ef33708322/client/run_isolated.py

Project Member

Comment 2 by bugdroid1@chromium.org, Oct 18 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/external/github.com/luci/luci-py.git/+/c40ca4d446515a4a97cdfac59a6aa3a1e3b0a781

commit c40ca4d446515a4a97cdfac59a6aa3a1e3b0a781
Author: nodir <nodir@chromium.org>
Date: Tue Oct 18 23:37:28 2016

LRUDict: add timestamps

lru.LRUDict currently stores the order of items, but not time when an
item was used most recently.

Add timestamps to LRUDict internal representation and update persistence
format. Preserve ability to load a dict from the old format for backward
compatibility.

Also remove lru.LRUDict.batch_insert_oldest because it complicates this
CL. It wasn't used.

R=maruel@chromium.org
BUG= 654562 

Review-Url: https://codereview.chromium.org/2409103003

[modify] https://crrev.com/c40ca4d446515a4a97cdfac59a6aa3a1e3b0a781/client/isolateserver.py
[modify] https://crrev.com/c40ca4d446515a4a97cdfac59a6aa3a1e3b0a781/client/tests/isolateserver_test.py
[modify] https://crrev.com/c40ca4d446515a4a97cdfac59a6aa3a1e3b0a781/client/tests/lru_test.py
[modify] https://crrev.com/c40ca4d446515a4a97cdfac59a6aa3a1e3b0a781/client/utils/lru.py

Comment 4 by estaab@chromium.org, Oct 22 2016

Labels: Milestone-ChromiumTryBlockers

Comment 6 by no...@chromium.org, Oct 28 2016

Labels: -Type-Bug Type-Feature
Status: Fixed (was: Started)
Project Member

Comment 7 by bugdroid1@chromium.org, Oct 28 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/infra.git/+/a199adce2905a2ec4c708332ea43aeba64899a59

commit a199adce2905a2ec4c708332ea43aeba64899a59
Author: Nodir Turakulov <nodir@chromium.org>
Date: Fri Oct 28 06:21:20 2016

swarmbucket: add support for swarming named caches

Extend config proto to support "caches" field. Validate it. Include in
the swarming task definition.

Improve code merging cipd packages defined in the template and the
builder: if they define different versions for the same package, builder wins.

R=vadimsh@chromium.org
BUG= 654562 

Change-Id: Ic0f659f6ede9379f879d9eec5c5311015fd95eb7
Reviewed-on: https://chromium-review.googlesource.com/404494
Commit-Queue: Nodir Turakulov <nodir@chromium.org>
Reviewed-by: Vadim Shtayura <vadimsh@chromium.org>

[modify] https://crrev.com/a199adce2905a2ec4c708332ea43aeba64899a59/appengine/cr-buildbucket/proto/project_config.proto
[modify] https://crrev.com/a199adce2905a2ec4c708332ea43aeba64899a59/appengine/cr-buildbucket/proto/project_config_pb2.py
[modify] https://crrev.com/a199adce2905a2ec4c708332ea43aeba64899a59/appengine/cr-buildbucket/swarming/swarming.py
[modify] https://crrev.com/a199adce2905a2ec4c708332ea43aeba64899a59/appengine/cr-buildbucket/swarming/swarmingcfg.py
[modify] https://crrev.com/a199adce2905a2ec4c708332ea43aeba64899a59/appengine/cr-buildbucket/swarming/test/swarming_test.py
[modify] https://crrev.com/a199adce2905a2ec4c708332ea43aeba64899a59/appengine/cr-buildbucket/swarming/test/swarmingcfg_test.py

Sign in to add a comment