)]}'
{
  "commit": "34999531d8a7c7249331600252f1f9291114e665",
  "tree": "3d787fa3473566dfd3cb03f8e829f8c03a1624ba",
  "parents": [
    "10d795c8503a00b216eb0027d5362720787958b5"
  ],
  "author": {
    "name": "Fabian Meumertzheim",
    "email": "fabian@meumertzhe.im",
    "time": "Wed Oct 14 23:43:54 2026 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Wed Oct 14 23:46:21 2026 -0700"
  },
  "message": "Download cached source directories in the runfiles of top-level targets (#31473)\n\n### Description\n\nThe files below a source directory of a repo that has been retrieved from the remote repo contents cache are only downloaded when the directory is requested from the prefetcher. For the runfiles of a top-level target, only artifacts with remote metadata were requested, which a source directory doesn\u0027t have.\n\nSource directories in external repos are now requested as well if they are selected for download.\n\n### Motivation\n\nWith a source directory of a cached repo in the runfiles of a binary, `bazel run` ran the binary without the directory in its runfiles tree.\n\nWork towards #31456\n\n### Build API Changes\n\nNo\n\n### Release Notes\n\nRELNOTES: None\n\nCloses #31473\n\nCOPYBARA_INTEGRATE_REVIEW\u003dhttps://github.com/bazelbuild/bazel/pull/31473 from fmeum:rrcc-run-source-directories 99e1973eee3e244b8e44e7191c63822c55f78f52\nPiperOrigin-RevId: 999899308\nChange-Id: I72c3806cc741f20d19b3aaeeb0202ef8c49de322\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0cab05e6dd7a007e7b0bded955d87cae9b6fe53c",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/remote/RemoteImportantOutputHandler.java",
      "new_id": "6f7e82ecdbe546ca29b41e6741341b23de41e3b1",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/remote/RemoteImportantOutputHandler.java"
    },
    {
      "type": "modify",
      "old_id": "3ce03d1af814777cea816abefbb45a02d5f298bc",
      "old_mode": 33188,
      "old_path": "src/test/py/bazel/bzlmod/remote_repo_contents_cache_test.py",
      "new_id": "f6a44e8fca0978630f42c0800b78fe9443ffb8f8",
      "new_mode": 33188,
      "new_path": "src/test/py/bazel/bzlmod/remote_repo_contents_cache_test.py"
    }
  ]
}
