)]}'
{
  "commit": "3916df650614e05b83f77f18cc2ec80bea1fc189",
  "tree": "2dff0ae91b47acba43de41580bd4a31c285ec129",
  "parents": [
    "dd57d4139ca2f10932fd6067c027be7744a1b083"
  ],
  "author": {
    "name": "Googler",
    "email": "michajlo@google.com",
    "time": "Wed Jun 15 06:04:05 2022 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Wed Jun 15 06:05:09 2022 -0700"
  },
  "message": "Make options parsing in BlazeRuntimeWrapper more realistic\n\nActually select the options for the command and apply the command-specific\ninvocation policy. Previously everything was considered \"build\" and the\ncommand passed to the invocation policy was \"null\", which is not what happens\nin production code.\n\nMaking this work also required registering commands so that the invocation\npolicy\u0027s command-inheritance logic actually worked. The list of commands isn\u0027t\nexhaustive, but should do the trick, easy enough to add more as we need them\n(I don\u0027t think we need _all_ the commands for now at least).\n\nThere\u0027s still plenty to clean up around options handling in RuntimeWrapper et\nal - for example we should be able to pluck options classes from the registered\nmodules instead of explicitly providing them, but that\u0027s for another change.\n\nPiperOrigin-RevId: 455110823\nChange-Id: I6223f7508c785e52a160ff41739b704da5354b12\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3e786495eddb6d36a647a948147561da09def2b9",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/buildtool/AqueryProcessor.java",
      "new_id": "20a9505e70eeae2f47378d3d49cf6c33af3b0c93",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/buildtool/AqueryProcessor.java"
    },
    {
      "type": "modify",
      "old_id": "b4df82ea0877a0927083873af7eb64b949573f06",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/runtime/commands/AqueryCommand.java",
      "new_id": "750ecb501c48b03027d8d5c515f204434c3a9557",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/runtime/commands/AqueryCommand.java"
    },
    {
      "type": "modify",
      "old_id": "1a0c1df702e54c39c383c1bd8c5175b6cd386ea9",
      "old_mode": 33188,
      "old_path": "src/test/java/com/google/devtools/build/lib/buildtool/ActionListenerIntegrationTest.java",
      "new_id": "3069e97d6e17438509579ef239042ffa1d291e10",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/buildtool/ActionListenerIntegrationTest.java"
    },
    {
      "type": "modify",
      "old_id": "b9e651826222b6bcb474c82821e1e74a53d614e0",
      "old_mode": 33188,
      "old_path": "src/test/java/com/google/devtools/build/lib/buildtool/AqueryBuildToolTest.java",
      "new_id": "8f1429d46eb48a24c00175237d71baa26faf22e7",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/buildtool/AqueryBuildToolTest.java"
    },
    {
      "type": "modify",
      "old_id": "d6f37e259929b0b8b933ba976f159f77d551c8fd",
      "old_mode": 33188,
      "old_path": "src/test/java/com/google/devtools/build/lib/buildtool/util/BlazeRuntimeWrapper.java",
      "new_id": "aa5a49eff4beafeb48114e31da5f15737b4989e5",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/buildtool/util/BlazeRuntimeWrapper.java"
    },
    {
      "type": "modify",
      "old_id": "9bfb0363617133a56259f7f249e520186787d270",
      "old_mode": 33188,
      "old_path": "src/test/java/com/google/devtools/build/lib/buildtool/util/BuildIntegrationTestCase.java",
      "new_id": "9c09203aafa77a06569d795f50392fdc1b955c80",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/buildtool/util/BuildIntegrationTestCase.java"
    },
    {
      "type": "modify",
      "old_id": "00db1483835fa7329111ee92c04c27afa1d110fb",
      "old_mode": 33188,
      "old_path": "src/test/java/com/google/devtools/build/lib/metrics/MetricsCollectorTest.java",
      "new_id": "cc2bbabf68e52c083fe9009fa578e867b8d14c4e",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/metrics/MetricsCollectorTest.java"
    },
    {
      "type": "modify",
      "old_id": "e59e35809110643245054ca1eb5091438a5dd9f7",
      "old_mode": 33188,
      "old_path": "src/test/java/com/google/devtools/build/lib/sandbox/SandboxedSpawnRunnerTestCase.java",
      "new_id": "f4cefcd6a25259f47c28b961f4960d070fff4567",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/sandbox/SandboxedSpawnRunnerTestCase.java"
    }
  ]
}
