)]}'
{
  "commit": "0d0caba2e940f9eec2051c43c86954cf9c95635f",
  "tree": "7a1efae118244ca62322ae6bced00a3c9b83af0a",
  "parents": [
    "3e3ae85fbb8dfac8cc7fb68e970f2f1bfa81ea9e"
  ],
  "author": {
    "name": "Fabian Meumertzheim",
    "email": "fabian@meumertzhe.im",
    "time": "Thu Nov 16 22:09:18 2023 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Thu Nov 16 22:10:14 2023 -0800"
  },
  "message": "Emit a fixed config segment with path stripping\n\nInstead of outright removing the config segment of exec paths with the stripping path mapper, replace it with a fixed string (`cfg`). This has the following benefits:\n\n* Actions that make assumptions about the general exec path structure (e.g. because they use the Bash runfiles library, which parses the exec path and expects a `bazel-out/\u003csomething\u003e/bin/...` format) continue to work.\n* Path stripping becomes idempotent, which fixes issues in case an artifact\u0027s path is mapped both structurally and via the string-based stripping.\n\nCloses #20219.\n\nPiperOrigin-RevId: 583266215\nChange-Id: I063fd7fd502a92660952427c5ce893eacd16436d\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cfdd6d54b8e475bf62de231e53914dc9e7c1196e",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/analysis/actions/StrippingPathMapper.java",
      "new_id": "76788fc6afb42d530f40e3853b13acafdc0c10a4",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/analysis/actions/StrippingPathMapper.java"
    },
    {
      "type": "modify",
      "old_id": "2ca3c65040650c8ef97ea3d4b64ad48cdfb2af4f",
      "old_mode": 33188,
      "old_path": "src/test/java/com/google/devtools/build/lib/analysis/actions/StrippingPathMapperTest.java",
      "new_id": "4bb42e57a6a1d289a8b8afa4f3c442dd253fdbec",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/analysis/actions/StrippingPathMapperTest.java"
    },
    {
      "type": "modify",
      "old_id": "ed9577c088098ba3880c8ce9b2c843ed8ff96635",
      "old_mode": 33188,
      "old_path": "src/test/shell/integration/config_stripped_outputs_lib.sh",
      "new_id": "63a4e689d979eaf45b0abd8ae5f11644e9f3f2e3",
      "new_mode": 33188,
      "new_path": "src/test/shell/integration/config_stripped_outputs_lib.sh"
    }
  ]
}
