Skip to content

sandbox/_sandboxremote.py: Acquire cache via Platform

Daniel Silverstone requested to merge danielsilverstone-ct/fix-654 into master

Description

The SandboxRemote used to construct its own CASCache which was considered dangerous. This patch replaces that with acquisition of the cache via the Platform singleton, hopefully eliminating issues from having more than one artifact cache object in a single process.

Changes proposed in this merge request:

  • _artifactcache/artifactcache.py: Ensure no double-setup of remotes
  • tests/artifactcache/pull.py: Do not double-initialize remotes
  • sandbox/_sandboxremote.py: Acquire artifact cache via Platform

This merge request, when approved, will close issue/bug: #654 (closed)


Edited by Daniel Silverstone

Merge request reports