)]}'
{
  "commit": "f45b167a79484f295db39d954d9416823e9f06e1",
  "tree": "6caf75018c78a060363a9a8bd009a45ffec1acbd",
  "parents": [
    "c38bfd6cc3252b4cbf7fcc1ada8109dcbf11e599"
  ],
  "author": {
    "name": "David \u0027Digit\u0027 Turner",
    "email": "digit@fuchsia.infra.roller.google.com",
    "time": "Wed May 07 08:22:54 2025 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Wed May 07 08:25:01 2025 -0700"
  },
  "message": "[roll] Roll fuchsia [fx] Ensure `fx bazel` runs with the right RBE wrappers.\n\nRefactor fx-run-ninja into a new fx-run-build-command  function\nwhich can be used to either run Ninja or Bazel commands in the\nsame way, which means:\n\n- Setting environment variables properly for remote builds to work.\n- Prepending an RBE wrapper script if needed.\n- Collect system profile data if BUILD_PROFILE_ENABLED is set.\n\nThen ensure that fx-bazel uses fx-run-build-command to run\nBazel. This fixes an issue where the command:\n\n```\nfx bazel build --config\u003dhost --config\u003dremote //build/bazel/examples/hello_world\n```\n\nWould fail with:\n\n```\nERROR: Failed to query remote execution capabilities: UNAVAILABLE: Credentials failed to obtain metadata\nERROR: ..../hello_world/BUILD.bazel:5:10: Compiling build/bazel/examples/hello_world/main.cc failed: (Exit 34): UNAVAILABLE: Credentials failed to obtain metadata\n```\n\nThis also makes `fx bazel` invocations closer to how Bazel is\ninvoked from Ninja through bazel_action() and bazel_action.py,\nthough more work is needed to get a better match.\n\n+ Simplify template.bazelrc a little since now cquery and aquery\n  commands properly inherit \"build\" settings.\n\n+ Ensure gcertauth also works with query commands. Otherwise\n  `fx bazel query ...` would fail with an error, because our\n  launcher script appends `--config\u003dgcertauth` to all commands.\n\nOriginal-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1269984\nOriginal-Revision: 57d7534d77437a8cab9c0d68693677ab67b827fc\nGitOrigin-RevId: 52392b55644bc25ab3611b6036eb9cd502806443\nChange-Id: If743301a907f6a53bee666e3c703cdbe486794f8\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "54c75f406bac54a974b4962118a4a416d6edb13e",
      "old_mode": 33188,
      "old_path": "stem",
      "new_id": "686a8e9620e8100112ed03ea8fd6cae4b8ed9820",
      "new_mode": 33188,
      "new_path": "stem"
    }
  ]
}
